ionic build,TypeError:对象原型只能是一个Object或为null:未定义

时间:2019-12-14 14:53:27

标签: ionic-framework build

  ionic-app-script task: "build" 
  TypeError: Object prototype may only be an Object or null: undefined 
TypeError: Object prototype may only be an Object or null: undefined
    at setPrototypeOf (<anonymous>)
    at Object.__extends (/Users/user/ionic/homecargo/node_modules/tslib/tslib.js:65:9)
    at /Users/user/ionic/homecargo/node_modules/@angular/compiler-cli/src/ngtsc/indexer/src/template.js:115:17
    at /Users/user/ionic/homecargo/node_modules/@angular/compiler-cli/src/ngtsc/indexer/src/template.js:314:6
    at /Users/user/ionic/homecargo/node_modules/@angular/compiler-cli/src/ngtsc/indexer/src/template.js:3:17
    at Object.<anonymous> (/Users/user/ionic/homecargo/node_modules/@angular/compiler-cli/src/ngtsc/indexer/src/template.js:9:3)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
[ERROR] An error occurred while running subprocess ionic-app-scripts.

0 个答案:

没有答案