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

运行node index.js,报错 #14

Open
PetersonLian opened this issue Jun 27, 2017 · 2 comments
Open

运行node index.js,报错 #14

PetersonLian opened this issue Jun 27, 2017 · 2 comments

Comments

@PetersonLian
Copy link

Error: Cannot find module 'babel-runtime/core-js/get-iterator'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (D:\wx-bot\node_modules\weixinbot\lib\weixinbot.js:3:21)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)

@foxtail000
Copy link

同上。 已经不维护了吗

@zwlcoding
Copy link

在项目中安装依赖模块
npm install babel-core babel-loader --save-dev

添加 .babelrc 文件
{
"presets" : ["es2015", "react"]
}

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

3 participants