所以我试图在Heroku上构建应用程序,但失败了:
remote: -----> Building dependencies
remote: Installing node modules (package.json + package-lock)
remote:
remote: > traveltodolist@0.1.0 postinstall /tmp/build_3f0585b79822a240412a4154d454f870
remote: > cd client && npm install && npm run build
remote:
remote: npm ERR! Maximum call stack size exceeded
remote:
remote: npm ERR! A complete log of this run can be found in:
remote: npm ERR! /tmp/npmcache.TCdGE/_logs/2018-12-16T07_14_18_050Z-debug.log
remote: npm ERR! code ELIFECYCLE
remote: npm ERR! errno 1
remote: npm ERR! traveltodolist@0.1.0 postinstall: `cd client && npm install && npm run build`
remote: npm ERR! Exit status 1
remote: npm ERR!
remote: npm ERR! Failed at the traveltodolist@0.1.0 postinstall script.
remote: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
remote:
remote: npm ERR! A complete log of this run can be found in:
remote: npm ERR! /tmp/npmcache.TCdGE/_logs/2018-12-16T07_14_18_095Z-debug.log
这在我的本地计算机上没有失败,因此我想尝试检查/tmp/npmcache.TCdGE/_logs/2018-12-16T07_14_18_050Z-debug.log
上的日志。
您知道是否有办法吗?因为否则我对如何采取行动一无所知。