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

gdevelop fails npm start on linux #2439

Closed
blurymind opened this issue Mar 16, 2021 · 7 comments
Closed

gdevelop fails npm start on linux #2439

blurymind opened this issue Mar 16, 2021 · 7 comments

Comments

@blurymind
Copy link
Contributor

Describe the bug

After building master app, I run npm start as usual and get
runtimeError: abort(CompileError: WebAssembly.instantiate(): expected magic word 00 61 73 6d, found 3c 21 64 6f @+0). Build with -s ASSERTIONS=1 for more info.

Manjaro linux

To Reproduce

Steps to reproduce the behavior:

  1. On manjaro linux, nodejs 10 dubnium, run npm start after npm install in newIde/app
  • Please include a link to a game if possible!
  • If applicable, add screenshots to help explain your problem.

Other details

  • Include any OS/browser version/smartphone that you're using
  • Which version of GDevelop are you using? The desktop app or the web-app?
  • Add any other context about the problem here.
@4ian
Copy link
Owner

4ian commented Mar 16, 2021

Is this in the terminal or in the browser? Can you try to upgrade to Node.js 12 or 14?

@blurymind
Copy link
Contributor Author

blurymind commented Mar 16, 2021 via email

@4ian
Copy link
Owner

4ian commented Mar 17, 2021

Actually the error message seems to indicate that the server returns a "404" when it tries to load libGD.js: WebAssembly/spec#1031

Can you try remove node_modules, and npm install again? Can you check the content of newIDE/app/public, and confirm there is a libGD.js and a libGD.wasm file?

@blurymind
Copy link
Contributor Author

Tried it and also tried upgrading to node 14, still no luck
problem

@4ian
Copy link
Owner

4ian commented Mar 18, 2021

Can you paste here the full output of npm install? I'm searching for the lines confirming libGD.wasm was downloaded.
Can you paste here too the content of the newIDE/app/public folder?

@4ian
Copy link
Owner

4ian commented Mar 18, 2021

Ok I found the issue, fixed in #2448. Sorry for the time loss! You can now pull master and it should work after a npm install.
Don't forget to check all that I'm asking in my messages ("confirm there is a libGD.js and a libGD.wasm file"), that could have speed up the fix ;)

@4ian 4ian closed this as completed Mar 18, 2021
@blurymind
Copy link
Contributor Author

That fixed it, thanks :)

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

2 participants