keppel / lotion

✨ Smooth, easy blockchain apps ✨
https://lotionjs.com
971 stars 134 forks source link

Invalid asm.js: Expected shift of word size #170

Open pertsev opened 5 years ago

pertsev commented 5 years ago

I just followed the quick-start tutorial and got that error.

image

the same for lotion-cli:

V8: /usr/local/lib/node_modules/lotion-cli/node_modules/supercop.js/lib.js:18295 Invalid asm.js: Expected shift of word size

The app works as expected btw.

Environment: OSX mojave node v11.8.0 npm 6.8.0

salembaira commented 5 years ago

I also got this

keppel commented 5 years ago

This warning happens on node v11.x and should be harmless, still pretty annoying though. Will fix.

orbmis commented 3 years ago

This is a workaround that I found helpful, set this environment variables before running your lotion ... command:

$ export NODE_NO_WARNINGS=1

neilecm commented 2 years ago

After running node app.js I get this error: MacBooks-Air-3:chatapp macbook$ node app.js (node:8422) V8: /Users/macbook/Desktop/chatapp/node_modules/supercop.js/lib.js:18295 Invalid asm.js: Expected shift of word size (Use node --trace-warnings ... to show where the warning was created) 229bac297199fd59e5ce6b2144702805147990ba2ea30acf17faf8cd483a8475

Is this hash my GCI? Even throwing this error, means my app is working? Thank you!

Neil Endrigo Cardoso de Miranda.