You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the below error when running node index.js in the tutorial. I've tried fresh installs on both Mac OS X 10.15 and on Ubuntu 20.04, and gotten the same error on both.
/home/starcrest/truevault-react-js-sample-app/server/node_modules/truevault/build/index.js:2371
if(numberLength != byteLength)throw RangeError(WRONG_LENGTH);
^
RangeError: Wrong length!
at validateArrayBufferArguments (/home/starcrest/truevault-react-js-sample-app/server/node_modules/truevault/build/index.js:2371:39)
at new ArrayBuffer (/home/starcrest/truevault-react-js-sample-app/server/node_modules/truevault/build/index.js:2461:29)
at zlib.js:330:28
at NativeModule.compile (internal/bootstrap/loaders.js:364:7)
at Function.NativeModule.require (internal/bootstrap/loaders.js:176:18)
at Function.Module._load (internal/modules/cjs/loader.js:572:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/starcrest/truevault-react-js-sample-app/server/node_modules/node-fetch/index.js:12:12)
at Module._compile (internal/modules/cjs/loader.js:778:30)
The text was updated successfully, but these errors were encountered:
Was able to fixed this. As @starcrest mentioned above, fixing you packages intallation errors, this should work. I did 'npm audit fix' and worked for me.
I get the below error when running
node index.js
in the tutorial. I've tried fresh installs on both Mac OS X 10.15 and on Ubuntu 20.04, and gotten the same error on both.The text was updated successfully, but these errors were encountered: