Error while connecting Jetson Nano

Getting this error after running the setup script and trying to connect to Edge Impulse

ugiri@ugiri-desktop:~$ edge-impulse-linux
internal/modules/cjs/loader.js:990
throw err;
^

SyntaxError: /usr/local/lib/node_modules/edge-impulse-linux/node_modules/ajv/lib/refs/json-schema-draft-07.json: Unexpected end of JSON input
at JSON.parse ()
at Object.Module._extensions…json (internal/modules/cjs/loader.js:987:27)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:849:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/usr/local/lib/node_modules/edge-impulse-linux/node_modules/ajv/lib/definition_schema.js:3:18)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)

@Rithwik_Ugiri Hmm… I’ve never seen this. Can you get me your Node.js version via:

$ node -v

And post the logs for:

$ sudo npm uninstall edge-impulse-linux -g
$ sudo npm install edge-impulse-linux -g --unsafe-perm=true

Thanks!

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Node.js version v12.13.0

The install command worked

Thank you

Hi @Rithwik_Ugiri so this is working now?

Yes @janjongboom it’s working.
Thank you very much for the support.

These commands worked-
$ sudo npm uninstall edge-impulse-linux -g
$ sudo npm install edge-impulse-linux -g --unsafe-perm=true

1 Like