联系我们
简单又实用的WordPress网站制作教学
当前位置:网站首页 > 程序开发学习 > 正文

解决vue项目build的时候报错Warning: Accessing non-existent property ‘cat‘ of module exports inside circular de

作者:小教学发布时间:2023-09-30分类:程序开发学习浏览:94


导读: * 正在执行任务:npmrunbuild >selection-tool@1.0.0build>nodebuild/build.js-...

 *  正在执行任务: npm run build 


> selection-tool@1.0.0 build
> node build/build.js

- building for production...(node:8992) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8992) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:8992) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
Hash: be3696dd62e82cf71a71
Version: webpack 3.12.0
Time: 28676ms

package.json里面的 "shelljs":版本修改为0.8.4重新 npm i 然后npm run build即可

 





程序开发学习排行
最近发表
网站分类
标签列表