北那那编号: Yr3BYS5B

作者: 考拉也喝水

发布时间: 2025-04-07 09:58:23

人气: 68

点赞: (1) 查看点赞

评论: (0)

收藏 (0) 打赏作者 分享到站外 举报内容

内容:

NPM就是个奇葩,合着我测试别人不同的源码,还需要不停的调试我本地的npm版本?版本低了——报错,版本高了 ——呵 也报错。 一会是权限不足,一会是python版本不对 各种插件依赖 各种版本不兼容 一个前端js而已 为什么要和软件版本挂钩?就不能让代码健壮一点吗?搞什么压缩、语法糖,写个css还嫌麻烦 非要捏个sass出来。 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.7.2 postinstall: `node scripts/build.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@4.7.2 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above. —————— $ npm install -g cnpm (node:22320) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) npm ERR! code EPERM npm ERR! syscall rename —————— npm ERR! code 1 npm ERR! path F:\phpstudy_pro\WWW\tiaoqi\node_modules\node-sass npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/build.js npm ERR! Building: C:\nvm4w\nodejs\node.exe F:\phpstudy_pro\WWW\tiaoqi\node_modules\node-gyp\bi n\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_l ibrary=