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

npm start 报错看下截图吧 #12

Open
ysxhd opened this issue Sep 27, 2017 · 14 comments
Open

npm start 报错看下截图吧 #12

ysxhd opened this issue Sep 27, 2017 · 14 comments

Comments

@ysxhd
Copy link

ysxhd commented Sep 27, 2017

qq 20170927090451

我刚刚练习了官网的英雄编辑器的demo没毛病,然后别人推荐你这个,是否是我的本地版本环境过于新了呢?

@myopenresources
Copy link
Owner

1.用yarn安装模块,如下图:
image
2.npm start
image
3.我试了下工作电脑,没问题

@wankang189
Copy link

这个报错我也出现了 ,谁能解决下?

@myopenresources
Copy link
Owner

@wankang189 楼上那个是通过cnpm安装的,但是我还是想找到原因,你们能否提供的nodejs与yarn的版本,以及安装方式吗?

@ysxhd
Copy link
Author

ysxhd commented Sep 29, 2017

对,我是cnpm都下载下来了,当前环境是 node :6.11.3 yarn :1.1.0,安装当然是官网装的msi安装包喽~~~

@wankang189
Copy link

image
yarn 安装你的安装命名装的

@wankang189
Copy link

@ysxhd yarn 根据你提供的命令安装的

@ysxhd
Copy link
Author

ysxhd commented Sep 29, 2017

@wankang189 别用yarn,cd cc进去后直接就cnpm install ,就不会报错了~

@wankang189
Copy link

@ysxhd 还是会报错,yarn 需要卸载吗?

@ysxhd
Copy link
Author

ysxhd commented Sep 29, 2017

cc里面的node_module完全删除再重新下载,实在不行项目删除重新来,哥哥我昨天搞了一下换了2台电脑才搞定

@myopenresources
Copy link
Owner

刚升级了yarn为1.1了,还是可以安装成功,好奇怪

@ysxhd
Copy link
Author

ysxhd commented Sep 29, 2017

@332557712 楼主不要着急等我国庆练习你的项目帮你找找坑....

@myopenresources
Copy link
Owner

你们的yarn是用npm安装的还是自己下载msi安装的?

@ysxhd
Copy link
Author

ysxhd commented Sep 29, 2017

我是用npm 安装的啊,因为我是看教程来滴~

@myopenresources
Copy link
Owner

环境搭建过程.docx

上面是我现在的安装过程,我刚把我本地的环境都删除了,重新安装了,还是没有出现问题,想让他出问题都难!!!

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