Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mcrun failed with Error No such file or directory #1408

Closed
stc1988 opened this issue Sep 21, 2024 · 8 comments
Closed

mcrun failed with Error No such file or directory #1408

stc1988 opened this issue Sep 21, 2024 · 8 comments

Comments

@stc1988
Copy link
Contributor

stc1988 commented Sep 21, 2024

Build environment: macOS,
Moddable SDK version: a9e80d0
Target device: esp32/m5stack, esp32/m5stack_core2, esp32/moddable_six

Steps to Reproduce

  1. Build and install the app examples/piu/outline/figures using this build command: mcconfig -d -m -p esp32/m5stack
  2. Install the mod CanvasPath using mcrun -d -m -p esp32/m5stack
mcrun -d -m -p esp32/m5stack
### Error: No such file or directory
@phoddie
Copy link
Collaborator

phoddie commented Sep 21, 2024

Thanks for the report. It works fine in the simulator. It looks like a side-effect of recent changes to support ESP Components. We'll take a look.

@mkellner
Copy link
Collaborator

Hello @stc1988, I've committed a fix. Please fetch the latest and rebuild tools.

@stc1988
Copy link
Contributor Author

stc1988 commented Sep 22, 2024

mcrun is working now, but mcconfig has stopped working.

mcconfig -d -m -p esp32/m5stack_core2
mcconfig: mod partition of size 0x40000 created from factory app partition
/Users/satoshi/.local/share/esp32/esp-idf-v5.3/tools/idf.py
/Users/satoshi/Projects/moddable/build/tmp/esp32/m5stack_core2/debug/figures/makefile:1526: warning: overriding commands for target `/Users/satoshi/Projects/moddable/build/tmp/esp32/m5stack_core2/debug/figures/ftimage.h.xsi'
/Users/satoshi/Projects/moddable/build/tmp/esp32/m5stack_core2/debug/figures/makefile:1457: warning: ignoring old commands for target `/Users/satoshi/Projects/moddable/build/tmp/esp32/m5stack_core2/debug/figures/ftimage.h.xsi'
make: *** No rule to make target `/Users/satoshi/Projects/moddable/build/tmp/esp32/m5stack_core2/debug/figures/xsProj-esp32/../xs_idf_deps.txt', needed by `dependencies'.  Stop.
make: *** Waiting for unfinished jobs....
rm: /Users/satoshi/Projects/moddable/build/tmp/esp32/m5stack_core2/debug/figures/xsProj-esp32/main/idf_component.yml: No such file or directory
Using recommended ESP-IDF v5.3

@mkellner
Copy link
Collaborator

My apologies. Please try again?

@stc1988
Copy link
Contributor Author

stc1988 commented Sep 22, 2024

I confirmed it fixed. Thank you!!

@stc1988
Copy link
Contributor Author

stc1988 commented Sep 29, 2024

@mkellner Since this issue occurs when installing Moddable using xs-dev, would it be possible to release version 5.0.1?

@mkellner
Copy link
Collaborator

I have released 5.0.1

@stc1988
Copy link
Contributor Author

stc1988 commented Sep 29, 2024

Thank you for responding so quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants