keppel/lotion

Invalid asm.js: Expected shift of word size

Opened this issue · 4 comments

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

I also got this

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

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

$ export NODE_NO_WARNINGS=1

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.