-
• #2
Hi,
I've never seen that before at all - it looks like you've got some kind of 'security audit' installed as well as NPM?
I don't see any actual errors from NPM, just the security audit.
Is it possible there were other errors, and you just included the wrong log file?
-
• #3
Hi Gordon,
I am helping AJ on this issue, and you are correct that he attached the wrong log file. He sent you the output of an "npm audit". I have attached the output of the npm install command.
Thanks for your help.
Kevin
1 Attachment
-
• #5
It looks like the root of the problem stems from a missing file or directory "ENOENT".
Thank you for your time,
AJ
1 Attachment
-
• #6
The error says that this is missing:
/home/aj/Espruino/getHub/package.json
Do you have a package.json in the
getHub
folder? -
• #7
Thank you for noticing. I had needed to move down one more directory, but I am still getting a long error output when trying to npm install in the correct directory. Attached is the output.
Thank you,
AJ
1 Attachment
-
• #8
It looks like node v10 issue - see https://github.com/espruino/EspruinoTools/issues/86
@Gordon Hopefully it should be possible to use newer versions of serialport?
-
• #9
Thanks - given all the posts asking about it I imagine it's the Node 10 issue. Are you on Node 10?
I just installed Node 10 and unfortunately it seems that I can't find any version of
serialport
that will install. Let's discuss it on that GitHub issue. -
• #10
This is in fact an issue with Node v10. Installing Node v8 resolved my issue.
Thank you to everyone that gave this attention,
AJ
I purchased an Espruino WiFi board, and am trying to install the NPM Espruino command-line module on Linux Mint 19.
I am having trouble installing the package, and believe it is Linux related. It appears to be having an issue installing one of the dependencies (serialport).
I have attached the output log for your review.
Your help is greatly appreciated.
1 Attachment