**报错:** Compiled with problems:X ERROR in ./src/store/showLoginModal/index.js 1:0-42 Module not f

报错:

Compiled with problems:X

ERROR in ./src/store/showLoginModal/index.js 1:0-42

Module not found: Error: Can’t resolve ‘core-js/core/array’ in ‘E:\my_progress\integral-mall\src\store\showLoginModal’

在这里插入图片描述

Module not found: Error: Can’t resolve ‘core-js/core/array’ in ‘E:\my_progress\integral-mall\src\store\showLoginModal’

ERROR in ./src/store/showLoginModal/index.js 1:0-42
Module not found: Error: Can’t resolve ‘core-js/core/array’ in ‘E:\my_progress\integral-mall\src\store\showLoginModal’
@ ./src/store/index.js 3:0-46 9:4-18
@ ./src/main.js 8:0-28 13:2-7

**报错:** Compiled with problems:X ERROR in ./src/store/showLoginModal/index.js 1:0-42 Module not f_第1张图片
在网上查找了很多方法,也试过了,最终无果。

后来在代码没有改动的情况下,又可以运行了,所以估计是网络的问题。

**报错:** Compiled with problems:X ERROR in ./src/store/showLoginModal/index.js 1:0-42 Module not f_第2张图片

你可能感兴趣的:(npm)