Skip to content
This repository has been archived by the owner on Nov 4, 2018. It is now read-only.

Error: Cannot find module 'babel-polyfill' #42

Closed
jackie007zzc opened this issue May 12, 2016 · 2 comments
Closed

Error: Cannot find module 'babel-polyfill' #42

jackie007zzc opened this issue May 12, 2016 · 2 comments

Comments

@jackie007zzc
Copy link

执行npm run start时,报错:
Error: Cannot find module 'babel-polyfill'
请问是什么原因?

@sorrycc
Copy link
Contributor

sorrycc commented May 12, 2016

安装依赖啊。。

$ npm i babel-polyfill --save

@sorrycc sorrycc closed this as completed May 18, 2016
@sorrycc
Copy link
Contributor

sorrycc commented May 18, 2016

后面会改成 babel-runtime + babel-plugin-transform-runtime 的方式,不用再单独引 babel-polyfill 。

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