gpt4 book ai didi

javascript - Atom 包管理器不工作

转载 作者:行者123 更新时间:2023-12-03 05:44:56 25 4
gpt4 key购买 nike

当atom尝试连接网络时,它会显示错误日志。我尝试了很多方法,删除了重新安装的每个原子组件,但仍然给我同样的错误。

Fetching featured packages failed.Hide output… module.js:600
return process.dlopen(module, path._makeLong(filename)); ^

Error: The module '/usr/lib/node_modules/atom-package-manager/node_modules/git-utils/build/Release/git.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 48. This version of Node.js requires NODE_MODULE_VERSION 51. Please try re-compiling or re-installing the module (for instance, using npm rebuild ornpm install). at Object.Module._extensions..node (module.js:600:18) at Module.load (module.js:490:32) at tryModuleLoad (module.js:449:12) at Function.Module._load (module.js:441:3) at Module.require (module.js:500:17) at require (internal/module.js:20:19) at Object. (/usr/lib/node_modules/atom-package-manager/node_modules/git-utils/lib/git.js:8:16) at Object. (/usr/lib/node_modules/atom-package-manager/node_modules/git-utils/lib/git.js:371:4) at Module._compile (module.js:573:32) at Object.Module._extensions..js (module.js:582:10)

最佳答案

请尝试重新编译或重新安装模块(例如,使用 npm rebuild 或 npm install)

  • 我建议您尝试通过 Chocolatey(Windows 上)或 aptget(Linux)重新安装 Node.js 的完整功能

关于javascript - Atom 包管理器不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40368058/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com