Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run dev报错 没找到原因 #16

Closed
ghost opened this issue Jul 4, 2016 · 2 comments
Closed

npm run dev报错 没找到原因 #16

ghost opened this issue Jul 4, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 4, 2016

ERROR in ./src/main.js
Module build failed: ReferenceError: Unknown plugin "transform-runtime" specified in "/Users/kevinli/Documents/.babelrc" at 0, attempted to resolve relative to "/Users/kevinli/Documents"
    at /Users/kevinli/Documents/project/vuepack/node_modules/.npminstall/babel-core/6.10.4/babel-core/lib/transformation/file/options/option-manager.js:204:17
    at Array.map (native)
    at Function.normalisePlugins (/Users/kevinli/Documents/project/vuepack/node_modules/.npminstall/babel-core/6.10.4/babel-core/lib/transformation/file/options/option-manager.js:180:20)
    at OptionManager.mergeOptions (/Users/kevinli/Documents/project/vuepack/node_modules/.npminstall/babel-core/6.10.4/babel-core/lib/transformation/file/options/option-manager.js:300:36)
    at OptionManager.addConfig (/Users/kevinli/Documents/project/vuepack/node_modules/.npminstall/babel-core/6.10.4/babel-core/lib/transformation/file/options/option-manager.js:232:10)
    at OptionManager.findConfigs (/Users/kevinli/Documents/project/vuepack/node_modules/.npminstall/babel-core/6.10.4/babel-core/lib/transformation/file/options/option-manager.js:436:16)
    at OptionManager.init (/Users/kevinli/Documents/project/vuepack/node_modules/.npminstall/babel-core/6.10.4/babel-core/lib/transformation/file/options/option-manager.js:484:12)
    at File.initOptions (/Users/kevinli/Documents/project/vuepack/node_modules/.npminstall/babel-core/6.10.4/babel-core/lib/transformation/file/index.js:223:65)
    at new File (/Users/kevinli/Documents/project/vuepack/node_modules/.npminstall/babel-core/6.10.4/babel-core/lib/transformation/file/index.js:140:24)
    at Pipeline.transform (/Users/kevinli/Documents/project/vuepack/node_modules/.npminstall/babel-core/6.10.4/babel-core/lib/transformation/pipeline.js:46:16)
    at transpile (/Users/kevinli/Documents/project/vuepack/node_modules/.npminstall/babel-loader/6.2.4/babel-loader/index.js:14:22)
    at Object.module.exports (/Users/kevinli/Documents/project/vuepack/node_modules/.npminstall/babel-loader/6.2.4/babel-loader/index.js:88:12)
 @ multi main
webpack: bundle is now VALID.
 ` ` `
node_modeles 删了 在重新安装模块还是不行。。。
@ghost ghost closed this as completed Jul 5, 2016
@egoist
Copy link
Owner

egoist commented Jul 5, 2016

问题解决了?

@ghost
Copy link
Author

ghost commented Jul 5, 2016

@egoist 是的

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant