小编Nig*_*ans的帖子

NPM 错误:找不到模块“node-bin-darwin-arm64/package.json”在互联网上修复不起作用

我从网站、n 和带有 arch 的 nvm 尝试了节点 V16 和 V17。我删除了node_modules文件夹,但什么也没有。我使用的是 M1 macbook pro 运行 npm i 时出错:

npm ERR! code 1
npm ERR! path /Users/redacted/Library/CloudStorage/OneDrive-Personal/Software/Code/Discord-Bots/DijkendamDiscordBot/node_modules/node
npm ERR! command failed
npm ERR! command sh -c node installArchSpecificPackage
npm ERR! npm ERR! code ETARGET
npm ERR! npm ERR! notarget No matching version found for node-darwin-arm64@16.13.2.
npm ERR! npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! npm ERR! notarget a package version that doesn't exist.
npm …
Run Code Online (Sandbox Code Playgroud)

javascript node.js npm npm-install

9
推荐指数
0
解决办法
2720
查看次数

标签 统计

javascript ×1

node.js ×1

npm ×1

npm-install ×1