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

windows下启动报错 #24

Closed
callmesoul opened this issue Aug 27, 2017 · 7 comments
Closed

windows下启动报错 #24

callmesoul opened this issue Aug 27, 2017 · 7 comments

Comments

@callmesoul
Copy link

windows下 npm start 运行报错
Cannot read property 'index/index.js' of undefined

@Eric-Zhong
Copy link

跟我的 #22 一样!

@hubcarl
Copy link
Collaborator

hubcarl commented Aug 28, 2017

@Eric-Zhong 也是windows 10 ?

@callmesoul
Copy link
Author

@hubcarl 是的,windows 10

@callmesoul
Copy link
Author

是不是node版本太高了?我的是最新的8.6

@Eric-Zhong
Copy link

我的是 windows 10 + node v8.3.0 .

@hubcarl
Copy link
Collaborator

hubcarl commented Aug 29, 2017

好的,windows10 问题我尽快修复, 如果可能,Node开发最好用mac

@hubcarl
Copy link
Collaborator

hubcarl commented Aug 29, 2017

@Eric-Zhong @callmesoul windows问题已修复, 请重新安装依赖验证一下,另外项目里面:

  • egg-vue-webpack-boilerplate/app/web/framework/vue/entry/client-loader.js 和
  • egg-vue-webpack-boilerplate/app/web/framework/vue/entry/server-loader.js 有修改

this.resourcePath 改为 this.resourcePath.replace(/\\/g, '\\\\')

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