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

midway-init 官方文档提供的例子运行报错 #279

Closed
cuitianze opened this issue Jul 13, 2019 · 4 comments
Closed

midway-init 官方文档提供的例子运行报错 #279

cuitianze opened this issue Jul 13, 2019 · 4 comments

Comments

@cuitianze
Copy link
Contributor

  • Node Version: v8.11.1
  • Egg Version: 2.22.2
  • Plugin Name:
  • Plugin Version:
  • Platform: Mac OS
  • Mini Showcase Repository:

$ midway-init --type midway-ts-ant-design-pro
$ npm install
$ npm run dev
会出现如下报错:

image

@czy88840616
Copy link
Member

看着像是前端部分编译报错,这个我得找个人。。

@tw93
Copy link
Member

tw93 commented Jul 13, 2019

Node 版本升级到9以上就好了,建议10

@waitingsong
Copy link
Member

要不 midway 生个 major 版本,node 要求 10+

@czy88840616
Copy link
Member

可以脚手架先限制掉。

waitingsong added a commit to waitingsong/midway that referenced this issue Jul 23, 2019
waitingsong added a commit to waitingsong/midway that referenced this issue Jul 23, 2019
…o-boilerplate

Update pkg.engines.node requirement to >=10.13.0  (midwayjs#279)

v10.13.0 become active LTS
waitingsong added a commit to waitingsong/midway that referenced this issue Jul 23, 2019
…o-boilerplate

Update pkg.engines.node requirement to >=10.13.0  (midwayjs#279)

v10.13.0 become active LTS
waitingsong added a commit to waitingsong/midway that referenced this issue Jul 23, 2019
Update pkg.engines.node requirement to >=10.16.0  (midwayjs#279)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants