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 install 的跑起来报错了 #6

Open
xiaochangzai opened this issue Aug 9, 2018 · 16 comments
Open

我用npm install 的跑起来报错了 #6

xiaochangzai opened this issue Aug 9, 2018 · 16 comments

Comments

@xiaochangzai
Copy link

No description provided.

@shenzekun
Copy link
Owner

报什么错了

@xiaowenming
Copy link

Argument of type '"rank"' is not assignable to parameter of type '(error: any) => void'.我跑的时候报了个类型错误 , 不知道是为什么...就是router里的index.ts文件里的

@BrucePhoebus
Copy link

我也是这个错
image

@shenzekun
Copy link
Owner

@BrucePhoebus @xiaowenming
image
奇怪,我自己重新下载运行没有报这个错啊,你们是怎么安装的?

@shenzekun
Copy link
Owner

@BrucePhoebus 建议重新删掉 node_modules,再重新 yarn 一下

@xiaowenming
Copy link

xiaowenming commented Jan 17, 2019 via email

@shenzekun
Copy link
Owner

@xiaowenming 好的👌

@xiaowenming
Copy link

xiaowenming commented Jan 17, 2019 via email

@shenzekun
Copy link
Owner

@xiaowenming 翻墙安装试试?

@shenzekun
Copy link
Owner

@xiaowenming 是有包没有安装成功吗

@xiaowenming
Copy link

xiaowenming commented Jan 17, 2019 via email

@shenzekun
Copy link
Owner

@xiaowenming 应该的😃,不过我这里复现不了这个问题,我也查不到是什么原因😂

@reddwen
Copy link

reddwen commented Jan 30, 2019

我也是这个错
image

改成这样,应该就可以了,我试了一下
image

@shenzekun
Copy link
Owner

@reddwen 能运行起来吗

@zhangaofei
Copy link

@shenzekun 我用vue-cli3初始化报错,怎样解决
错误图片链接:https://user-gold-cdn.xitu.io/2019/4/2/169dc07f8b4cb17c?w=656&h=210&f=png&s=11301

@shenzekun
Copy link
Owner

@zhangaofei 更新一下 node 版本,你的 node 版本是几? 看看这个 vuejs/vue-cli#3136

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

6 participants