@ angular / cli @ 8.1.1安装后/tmp/build_bf9f313fb8298a0d2a3665151895f43e/.heroku/node/lib/node_modules/@angular/cli 节点./bin/postinstall/script.js
+ @angular/cli@8.1.1
+ @angular/compiler-cli@8.1.1
+ typescript@3.5.3
added 453 packages from 257 contributors in 26.26s
> oshop@0.0.0 postinstall /tmp/build_bf9f313fb8298a0d2a3665151895f43e
> ng build --prod
Cannot find module '@angular/compiler'
Error: Cannot find module '@angular/compiler'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at /tmp/build_bf9f313fb8298a0d2a3665151895f43e/node_modul
似乎正在安装angular / compiler,但是在heroku中找不到模块