W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/vivid/main/source/Sources404 Not Found
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/vivid
当我尝试使用npx创建- app app制作一个app应用程序时,它会向我展示。Installing react, react-dom, and react-scripts with cra-template...
npm ERR! Unexpected end of JSON input while parsing near '...totype.trimstart"
当我试图运行npx创建反应应用程序时,我注意到了这个错误,从那以后,我一直无法在任何事情上使用npm。我已经不加密和重新安装节点,但同样的错误不断出现。 npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN logfile could not be created: Error: EPERM: operation not permitted, open 'C:\Users\DevSayae\AppData\Roaming\np
试图在ubuntu22.04上安装NodeJS 16。sudo apt-get install -y nodejsThe following NEW packages will be installed:0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.After this operation, 128 MB of additional disk space will be used.