-
Notifications
You must be signed in to change notification settings - Fork 112
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
请问下为什么前后端启动后前端右上角头像显示undefinedundefined(已解决) #20
Comments
试了下没问题,你是改了啥? |
没动过前端代码呢,从github上面clone到本地 然后yarn install安装并运行 后端也maven下载jar构建并运行 输入账号登录后右上角就这样了 会不会package文件中依赖的版本不对 |
yarn install会不会用到package-lock.json?感觉是这个问题,换成npm试试 @q1393877285 |
npm ERR! code E404 npm ERR! A complete log of this run can be found in: npm原版会一直卡主,切换淘宝镜像会爆上诉问题 × Install fail! Error: Unsupported URL Type: npm:vue-loader@^15.9.6 cnpm i会爆上面的错误。。。 真的真的能只有用yarn才能安装诶 |
啊这,那就只能手动固定版本了,手动修改package.json:
|
还是无法下载指定的包 能提供下您开发时的node和npm版本嘛?我这node是v14.16.0 npm是v7.6.3可能有些高了 |
@q1393877285 |
搞了一下午node和npm版本和环境,确定是npm版本问题了 npm7下某些依赖文件无法下载,我现在卸载重新安装官网node14.16.0 npm6.14.11 再npm install恢复了 |
No description provided.
The text was updated successfully, but these errors were encountered: