码迷,mamicode.com
首页 > 其他好文 > 详细

项目中遇到的报错

时间:2020-05-09 14:21:02      阅读:205      评论:0      收藏:0      [点我收藏+]

标签:fail   stat   tor   not   com   mamicode   lib   ann   direct   

g:\work\node_modules\filemanager-webpack-plugin\lib\index.js:271
if (isGlob) archive.glob(command.source, globOptions);else if (sStats.isFile()) archive.file(command.source, { name: path$1.basename(command.source) });else if (sStats.isDirectory()) archive.glob(‘**/*‘, {
^

TypeError: Cannot read property ‘isFile‘ of undefined
at g:\work\node_modules\filemanager-webpack-plugin\lib\index.js:271:79
at callback (g:\work\node_modules\graceful-fs\polyfills.js:295:20)
at FSReqWrap.oncomplete (fs.js:153:21)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

技术图片

 

 解决办法:

删除node_modules中内容,然后重新下载

项目中遇到的报错

标签:fail   stat   tor   not   com   mamicode   lib   ann   direct   

原文地址:https://www.cnblogs.com/Roxxane/p/12857063.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!