-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I'm getting a syntax error doing the simplest of things:
$ npm install --save redisai-js
I copy and paste the Vanilla JS tensor example from the README.md into a file named redisai-js.js
. And then I run it:
$ node redisai-js.js
And it gives me this error:
/Users/guyroyse/code/redis-modules-assessment/node_modules/redisai-js/lib/tensor.js:49
});
^
SyntaxError: Unexpected token '}'
at wrapSafe (internal/modules/cjs/loader.js:931:16)
at Module._compile (internal/modules/cjs/loader.js:979:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/guyroyse/code/redis-modules-assessment/node_modules/redisai-js/lib/index.js:10:16)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
I pulled the repo down myself, built everything, and npm installed the folder on my machine and it worked. Seems like something wrong with our npm depoly? Maybe?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working