vue2-elm icon indicating copy to clipboard operation
vue2-elm copied to clipboard

大佬,这个npm run dev报错啊启动不了。。。

Open wangjingithub opened this issue 5 years ago • 7 comments

PS E:\vue\vue-elm\vue2-elm-master> npm run dev

[email protected] dev E:\vue\vue-elm\vue2-elm-master cross-env NODE_ENV=online node build/dev-server.js

internal/modules/cjs/loader.js:584 throw err; ^

Error: Cannot find module 'webpack/lib/removeAndDo' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) at Function.Module._load (internal/modules/cjs/loader.js:508:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object. (E:\vue\vue-elm\vue2-elm-master\node_modules\extract-text-webpack-plugin\ExtractedModule.js:30:42) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] dev: cross-env NODE_ENV=online node build/dev-server.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\wangjin\AppData\Roaming\npm-cache_logs\2019-06-06T07_27_10_255Z-debug.log

wangjingithub avatar Jun 06 '19 07:06 wangjingithub

没有相应的removeAndDo模块,或者模块有错误

caoguofang avatar Jun 06 '19 07:06 caoguofang

重新安装webpack试试呢

bailicangdu avatar Jun 07 '19 02:06 bailicangdu

解决了么,重装webpack不好使啊

Gongshuimiziha avatar Aug 23 '19 02:08 Gongshuimiziha

这个可能是包没装好,我npm install 和 yarn install 装的都没启动项目,删掉 node modules ,用 cnpm i 又装了一次,成功了

Judyat avatar Aug 25 '19 03:08 Judyat

我也是这个问题~~

long123war avatar Apr 11 '21 14:04 long123war

这种情况要怎么解决啊,

jiayanbo avatar May 23 '22 08:05 jiayanbo

这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

sumcater avatar May 23 '22 08:05 sumcater