我已经遇到了本机语言问题。我正在使用最新的Nativescript(6.1.1)核心模块,android,ios版本6.1.1、6.1.2和6.1.1。我也尝试在旧版本中返回同样的错误。
之前,我的Nativescript版本是5.3.4,并且使用Bundle Workflow运行。
| Id | Date | Variable1 | Variable2 |
Package.json
/Users/Myapp/node_modules/webpack-cli/bin/cli.js:244
throw err;
^
TypeError: Object prototype may only be an Object or null: undefined
at setPrototypeOf (<anonymous>)
at Object.__extends (/Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/tslib/tslib.js:65:9)
at /Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/ngtsc/indexer/src/template.js:115:17
at /Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/ngtsc/indexer/src/template.js:314:6
at /Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/ngtsc/indexer/src/template.js:3:17
at Object.<anonymous> (/Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/ngtsc/indexer/src/template.js:9:3)
at Module._compile (/Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/v8-compile-cache/v8-compile-cache.js:194:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (/Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at /Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/ngtsc/indexer/src/transform.js:20:22
at /Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/ngtsc/indexer/src/transform.js:10:17
at Object.<anonymous> (/Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/ngtsc/indexer/src/transform.js:16:3)
at Module._compile (/Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/v8-compile-cache/v8-compile-cache.js:194:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (/Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at /Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/ngtsc/program.js:31:23
at /Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/ngtsc/program.js:10:17
at Object.<anonymous> (/Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/ngtsc/program.js:16:3)
at Module._compile (/Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/v8-compile-cache/v8-compile-cache.js:194:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (/Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at /Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/transformers/program.js:27:21
at /Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/transformers/program.js:10:17
at Object.<anonymous> (/Users/deemsys/Documents/FoodApp_New/trunk/User/FoodCourt/node_modules/@angular/compiler-cli/src/transformers/program.js:16:3)