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

pxt serve --rebundle leads to Error: Missing dependencies in config of: core #6590

Open
fabianhugo opened this issue Dec 16, 2024 · 0 comments

Comments

@fabianhugo
Copy link

Describe the bug
Build errors when doing the full development setup including setting up pxt and pxt-common packages as described in the readme or the setup.cmd file. The server still somehow starts up and opens a local version of makecode arcade. Maybe related observation: When I open the Jumpy Plattformer project, the walking animation of the character is missing, so it moves without moving its feet. I attached the fullterminaloutput.txt, and here an exerpt of the error messages:

Error: Missing dependencies in config of: core
    at Object.userError (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:98941:25)
    at Package.validateConfig (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:113447:23)
    at Package.parseConfig (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:113676:18)
    at Package.loadAsync (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:113735:22)
    at loadDepsRecursive (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:113897:35)
    at Package.loadAsync (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:113901:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async loadDepsRecursive (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:113897:25)
    at async Package.loadAsync (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:113901:13)
    at async loadDepsRecursive (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:113897:25)
    at async Package.loadAsync (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:113901:13)
    at async loadDepsRecursive (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:113897:25)
    at async MainPackage.loadAsync (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:113901:13)
    at async Promise.all (index 0)
    at async buildTargetCoreAsync (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:163163:28)
    at async internalBuildTargetAsync (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:162344:9)
    at async buildTarget (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:163418:13)
    at async buildAndWatchTargetAsync (/home/bert/firmware/arcade/pxt-arcade/node_modules/pxt-core/built/pxt.js:163450:5) {
  isUserError: true
}

To Reproduce
Steps to reproduce the behavior:

  1. Set up pxt, pxt-common packages, and pxt-arcade as described in the readme
  2. Run pxt serve --rebundle
  3. Watch the terminal output

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Add screenshots to help explain your problem. You can copy paste the screenshot in the github report. The .gif screen recording is very useful as well.

Desktop

  • OS: Ubuntu 22.04, Ubuntu 24.04
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

1 participant