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

Crash when trying to build Gdevelop.js #7168

Open
1 task done
mehrabsha opened this issue Nov 17, 2024 · 0 comments
Open
1 task done

Crash when trying to build Gdevelop.js #7168

mehrabsha opened this issue Nov 17, 2024 · 0 comments

Comments

@mehrabsha
Copy link
Contributor

Is there an existing issue for this?

Describe the bug

I faced this error when I was trying to build GDevelop.js

Running "shell:generateFlowTypes" (shell) task
info: Sourcing gdevelopjs-cleaned-bindings-idl0JHegX\Bindings.idl
✅ Properly generated GDevelop.js types.

Running "shell:generateTSTypes" (shell) task
file:///E:/GDevelop/GDevelop.js/scripts/generate-dts.mjs:145
        throw new Error("Never reached character '${thisCharacter}'!");
              ^

Error: Never reached character ' '!
    at Parser.readUntil (file:///E:/GDevelop/GDevelop.js/scripts/generate-dts.mjs:145:15)
    at Parser.readType (file:///E:/GDevelop/GDevelop.js/scripts/generate-dts.mjs:166:21)
    at file:///E:/GDevelop/GDevelop.js/scripts/generate-dts.mjs:253:16
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at async loadESM (node:internal/process/esm_loader:28:7)
    at async handleMainPromise (node:internal/modules/run_main:113:12)

Node.js v20.12.2

Steps to reproduce

based on README.md

  1. install all prerequisite tools (node - python - cmake) on windows
  2. install and activate emsdk v3.1.21
  3. go to GDevelop.js folder with the emscripten environements
  4. npm install and npm run build
  5. ERROR

GDevelop platform

Desktop

GDevelop version

5.4.218

Platform info

Win11

Additional context

No response

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