I am using a Raspberry Pi 4 with "Raspbian Buster with desktop and recommended software". Version npm: 6.13.4 Version node: v12.16.1
Do anyone know what is wrong?
pi@raspberrypi:~ $ npm install node
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/node-linux-arm - Not found
npm ERR! 404
npm ERR! 404 'node-linux-arm@13.10.1' is not in the npm registry.
npm install node
is not a valid package. Maybe npm install nodejs
?
You can check all the "package manager" options for node here , but I didn't see anything related to Raspberry Pi (although I don't know much about Raspberry Pi, so maybe I missed something)
You can always do:
npm install npm
Which will give you nodejs
as well. More info here .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.