Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
200 views
in Technique[技术] by (71.8m points)

node.js - Error compiling angular universal on ubuntu 18.04

At the time of executing npm run build:ssr --prod stays at 16% and shows me the following error

16% building 54/56 modules 2 active ...d-optimizer/webpack-loader.js??ref--7-0!/home/fepr/project/node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.jsKilled npm ERR! code ELIFECYCLE npm ERR! code ELIFECYCLE npm ERR! errno 137 npm ERR! [email protected] build:ssr: ng build --prod && ng run project:server:production npm ERR! Exit status 137 npm ERR! npm ERR! Failed at the [email protected] build:ssr script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/fepr/.npm/_logs/2021-01-26T00_10_33_005Z-debug.log in local it manages to compile but not in the server

I don't know what I'm failing guys any ideas?

question from:https://stackoverflow.com/questions/65894255/error-compiling-angular-universal-on-ubuntu-18-04

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...