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

Webpack傻瓜式指南(一)安装babel-loader、babel-preset-es2015报错 #18

Open
lcoder opened this issue Feb 27, 2017 · 0 comments

Comments

@lcoder
Copy link

lcoder commented Feb 27, 2017

还需要安装一个babel-core模块,不然会报如下的错误:

ERROR in ./app/index.js
Module build failed: Error: Cannot find module 'babel-core'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/uesrHome/demo/webpack/node_modules/babel-loader/lib/index.js:4:13)

博客中忘记写安装babel-core模块了。

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