1、错误描述
Administrator@USER-0GUONPPBHK MINGW64 /g/HBuilderXWork/Vue
$ npm install --save-dev gulp
npm WARN rollback Rolling back [email protected] failed (this is probably ha rmless): EPERM: operation not permitted, scandir 'G:\HBuilderXWork\Vue\node_modu les\fsevents\node_modules'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fse vents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"} )
+ [email protected]
added 123 packages from 98 contributors and audited 20796 packages in 55.493s
found 1 moderate severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
Administrator@USER-0GUONPPBHK MINGW64 /g/HBuilderXWork/Vue
$ gulp
[11:17:12] Using gulpfile G:\HBuilderXWork\Vue\gulpfile.js
C:\Users\Administrator.USER-0GUONPPBHK\AppData\Roaming\npm\node_modules\gulp\bin

在Vue.js项目中遇到TypeError: Cannot read property 'apply' of undefined的问题。该错误通常由gulp版本不匹配引起。解决方法包括删除并重新安装gulp,确保项目中和全局的gulp-cli版本一致。
最低0.47元/天 解锁文章
2292

被折叠的 条评论
为什么被折叠?



