更新后的Hbuilder X 报错 error: cannot find module ‘yallist‘

更新后的Hbuilder X 报错 error: cannot find module ‘yallist’

	module.js:549
	21:34:00.277 throw err;
	21:34:00.279 ^
	21:34:00.279 error: cannot find module 'yallist'
	21:34:00.284 at Function.Module._resolveFilename (module.js:547:15)
	21:34:00.285 at Function.Module._load (module.js:474:25)
	21:34:00.290 at Module.require (module.js:596:17)
	21:34:00.290 at require (internal/module.js:11:18)
	21:34:00.293 at Object. (D:\HBuilderX\plugins\uniapp-cli\node_modules\@vue\cli-shared-utils\lib\ipc.js:1:75)
	21:34:00.294 at Module._compile (module.js:652:30)
	21:34:00.302 at Object.Module._extensions..js (module.js:663:10)
	21:34:00.302 at Module.load (module.js:565:32)
	21:34:00.305 at tryModuleLoad (module.js:505:12)
	21:34:00.308 at Function.Module._load (module.js:497:3)

解决办法:

  **在Hbuilder X    工具 > 插件安装 > 卸载uni-app  重装一下就可以了**

更新后的Hbuilder X 报错 error: cannot find module ‘yallist‘_第1张图片
更新后的Hbuilder X 报错 error: cannot find module ‘yallist‘_第2张图片

在重新运行到小程序就可以了。

你可能感兴趣的:(Hbuilder,X,小程序)