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

你好,项目运行异常 #29

Closed
suhanyujie opened this issue Sep 20, 2016 · 3 comments
Closed

你好,项目运行异常 #29

suhanyujie opened this issue Sep 20, 2016 · 3 comments

Comments

@suhanyujie
Copy link

suhanyujie commented Sep 20, 2016

你好,前辈~
我将这个仓库给clone下来了。按照步骤 npm install->npm run dev
提示报错了:
image

我的node环境是6.6的
webpack也全局安装了。

谢谢!

@transtone
Copy link

transtone commented Sep 20, 2016

一样,webpack 更新就这样。

应该是webpack所依赖的一些库升级引起的:

└─┬ webpack@2.1.0-beta.23
  ├─┬ ajv@4.7.2
  │ ├── co@4.6.0
  │ └─┬ json-stable-stringify@1.0.1
  │   └── jsonify@0.0.0
  ├── loader-runner@2.2.0
  └─┬ uglify-js@2.7.3
    ├── async@0.2.10
    └── yargs@3.10.0

angular/angular-cli#2234

@yyx990803
Copy link
Member

fixed in 958e495

@suhanyujie
Copy link
Author

thanks for your answer~
I found the solution here https://github.com/angular/angular-cli/issues/2234

Thanks @colindevs - anyone using Laravel (laravel-elixir-webpack-official) just do:

npm uninstall webpack --save-dev

followed by

npm install webpack@2.1.0-beta.22 --save-dev

Then you should be able to gulp again. Fixed the issue for me.

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