Skip to content
This repository has been archived by the owner on Dec 12, 2017. It is now read-only.

cooking build 报错(新建的vue模板)希望尽快答复,急 #180

Closed
2016geek opened this issue May 31, 2017 · 1 comment
Closed

Comments

@2016geek
Copy link

cooking version

1.5.3

What is Expected?

希望解决这个问题

What is actually happening?

执行cooking build 后
`[cooking@1.5.0] - Loaded success: vue2
[cooking@1.5.0] - Loaded success: lint
[cooking@1.5.0] - Loaded success: sass
[cooking@1.5.0] - Loaded success: autoprefixer

/usr/local/lib/node_modules/cooking-cli/node_modules/webpack/lib/Chunk.js:41
throw new Error("Chunk.entry was removed. Use hasRuntime()");
^

Error: Chunk.entry was removed. Use hasRuntime()
at Chunk.get entry [as entry] (/usr/local/lib/node_modules/cooking-cli/node_modules/webpack/lib/Chunk.js:41:9)
at /Users/liuchang/node_modules/extract-text-webpack-plugin/index.js:201:13
at Array.filter (native)
at Compilation. (/Users/liuchang/node_modules/extract-text-webpack-plugin/index.js:200:37)
at Compilation.applyPlugins0 (/usr/local/lib/node_modules/cooking-cli/node_modules/tapable/lib/Tapable.js:68:14)
at Compilation.seal (/usr/local/lib/node_modules/cooking-cli/node_modules/webpack/lib/Compilation.js:567:8)
at /usr/local/lib/node_modules/cooking-cli/node_modules/webpack/lib/Compiler.js:493:16
at /usr/local/lib/node_modules/cooking-cli/node_modules/tapable/lib/Tapable.js:225:11
at _addModuleChain (/usr/local/lib/node_modules/cooking-cli/node_modules/webpack/lib/Compilation.js:481:11)
at processModuleDependencies.err (/usr/local/lib/node_modules/cooking-cli/node_modules/webpack/lib/Compilation.js:452:13)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)`

@QingWei-Li
Copy link
Contributor

/Users/liuchang/node_modules/extract-text-webpack-plugin

把你的 ~/node_modules 删掉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants