Describe the bug
Following the official instructions I have run MakeCode locally.
The documentation states that
If you have created a PXT project from the web browser, you can go to its folder (it will sit under projects) and use the CLI to build and deploy it.
However, the project directory is empty.
To Reproduce
Steps to reproduce the behavior:
- Go to a folder of your liking, say
/Users/pavel/makecode
- As stated in the CLI documentation, run:
npm install -g pxt
mkdir microbit
cd microbit
pxt target microbit
pxt serve
- The application opens up in Chrome at
http://localhost:3232/index.html#editor
- Create a new project called
test and do some changes
- Run
ls -la /Users/pavel/makecode/microbit/projects
Expected behavior
The directory listing should show a test directory with the project content.
Actual behavior
The /Users/pavel/makecode/microbit/projects directory is empty.
Desktop (please complete the following information):
- Computer: MacBook Pro M2 Max
- OS: macOS Sequoia 15.1.1
- Browser: Chrome v131.0.6778.86
- pxt-core: v11.3.3
Describe the bug
Following the official instructions I have run MakeCode locally.
The documentation states that
However, the
projectdirectory is empty.To Reproduce
Steps to reproduce the behavior:
/Users/pavel/makecodenpm install -g pxt mkdir microbit cd microbit pxt target microbit pxt servehttp://localhost:3232/index.html#editortestand do some changesls -la /Users/pavel/makecode/microbit/projectsExpected behavior
The directory listing should show a
testdirectory with the project content.Actual behavior
The
/Users/pavel/makecode/microbit/projectsdirectory is empty.Desktop (please complete the following information):