You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Cannot find module 'chalk'
at Function.Module._resolveFilename (module.js:557:15)
at Function.Module._load (module.js:484:25)
at Module.require (module.js:606:17)
at require (internal/module.js:11:18)
at Object. (D:\VsCode\vue-todos\build\check-versions.js:1:75)
at Module._compile (module.js:662:30)
at Object.Module._extensions..js (module.js:673:10)
at Module.load (module.js:575:32)
at tryModuleLoad (module.js:515:12)
at Function.Module._load (module.js:507:3)
The text was updated successfully, but these errors were encountered:
到 3.1.7 修改router(路由) 用npm run dev 就会报错了。
1.git clone 你的源码,运行npm run dev 也报错。
2.最好能在文章的开头,说一下 你的运行版本和运行环境。要不同版本会有一点差异。
运行你的源码,报错如下:
module.js:559
throw err;
^
Error: Cannot find module 'chalk'
at Function.Module._resolveFilename (module.js:557:15)
at Function.Module._load (module.js:484:25)
at Module.require (module.js:606:17)
at require (internal/module.js:11:18)
at Object. (D:\VsCode\vue-todos\build\check-versions.js:1:75)
at Module._compile (module.js:662:30)
at Object.Module._extensions..js (module.js:673:10)
at Module.load (module.js:575:32)
at tryModuleLoad (module.js:515:12)
at Function.Module._load (module.js:507:3)
The text was updated successfully, but these errors were encountered: