返回

reactjs-问题部署到vercel,在本地工作?

发布时间:2022-04-19 20:53:36 401
# node.js

试着下一个。使用vercel的js应用程序已经尝试了cli和web应用程序。不管怎样,都不行。错误日志:

2022-04-18T00:57:21.354Z  Retrieving list of deployment files...
2022-04-18T00:57:23.121Z  Downloading 29 deployment files...
2022-04-18T00:57:24.298Z  Installing build runtime...
2022-04-18T00:57:27.316Z  Build runtime installed: 3.018s
2022-04-18T00:57:27.999Z  Looking up build cache...
2022-04-18T00:57:28.609Z  Build Cache not found
2022-04-18T00:57:28.805Z  Installing dependencies...
2022-04-18T00:57:30.687Z  npm ERR! code ENOLOCAL
2022-04-18T00:57:30.692Z  npm ERR! Could not install from "node_modules/eth-sig-util/ethereumjs-abi@git+https:/github.com/ethereumjs/ethereumjs-abi.git" as it does not contain a package.json file.
2022-04-18T00:57:30.713Z  
2022-04-18T00:57:30.713Z  npm ERR! A complete log of this run can be found in:
2022-04-18T00:57:30.713Z  npm ERR!     /vercel/.npm/_logs/2022-04-18T00_57_30_693Z-debug.log
2022-04-18T00:57:30.725Z  Error: Command "npm install" exited with 1
2022-04-18T00:57:31.523Z  

不确定是什么原因造成的。我能npm run dev在本地,一切正常。我也能npx next build这也很管用。有没有办法解决这个问题?谢谢

特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报
评论区(0)
按点赞数排序
用户头像
下一篇
bash-使用带分隔符的AWK打印特定列 2022-04-19 19:57:25