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

少一个·babel-runtime的依赖 #1

Closed
pettterz opened this issue Feb 24, 2017 · 1 comment
Closed

少一个·babel-runtime的依赖 #1

pettterz opened this issue Feb 24, 2017 · 1 comment

Comments

@pettterz
Copy link

pettterz commented Feb 24, 2017

npm run dev 运行时,会有

Module not found: Error: Cannot resolve module 'babel-runtime/helpers/typeof' in /home/me/WebstormProjects/vue2-happyfri/src/config
 @ ./src/config/ajax.js 7:15-54

ERROR in ./src/config/ajax.js
Module not found: Error: Cannot resolve module 'babel-runtime/core-js/json/stringify' in /home/me/WebstormProjects/vue2-happyfri/src/config
 @ ./src/config/ajax.js 11:17-64

ERROR in ./src/config/ajax.js
Module not found: Error: Cannot resolve module 'babel-runtime/core-js/object/keys' in /home/me/WebstormProjects/vue2-happyfri/src/config
 @ ./src/config/ajax.js 15:12-56

ERROR in ./src/config/ajax.js
Module not found: Error: Cannot resolve module 'babel-runtime/core-js/promise' in /home/me/WebstormProjects/vue2-happyfri/src/config
 @ ./src/config/ajax.js 19:15-55

ERROR in ./src/store/mutations.js
Module not found: Error: Cannot resolve module 'babel-runtime/helpers/defineProperty' in /home/me/WebstormProjects/vue2-happyfri/src/store
 @ ./src/store/mutations.js 7:23-70

package.json依赖中缺少"babel-runtime"

@bailicangdu
Copy link
Owner

ok,谢谢提醒

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

2 participants