This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
IOS bundle failing #92
Closed
Description
It is a fresh nativescript starter with 2.5 and angular using the hello-world template
bash-3.2$ cd nativescript
bash-3.2$ npm run start-ios-bundle
> @ start-ios-bundle /Users/jonatthu/Desktop/CrossPlaftform/nativescript
> npm run ns-bundle --ios --start-app
> @ ns-bundle /Users/jonatthu/Desktop/CrossPlaftform/nativescript
> ns-bundle
Running webpack for ios...
/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:14552
var sourceFile = new SourceFileConstructor(261 /* SourceFile */, /*pos*/ 0, /* end */ sourceText.length);
^
TypeError: Cannot read property 'length' of undefined
at createSourceFile (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:14552:109)
at parseSourceFileWorker (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:14484:26)
at Object.parseSourceFile (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:14433:26)
at Object.createSourceFile (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:14288:29)
at WebpackCompilerHost.getSourceFile (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/@ngtools/webpack/src/compiler_h
ost.js:209:27)
at findSourceFile (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:63453:29)
at processSourceFile (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:63384:27)
at /Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:63494:17
at Object.forEach (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:1293:30)
at processReferencedFiles (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:63492:16)
at findSourceFile (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:63477:21)
at processSourceFile (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:63384:27)
at processRootFile (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:63271:13)
at /Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:62620:60
at Object.forEach (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:1293:30)
at Object.createProgram (/Users/jonatthu/Desktop/CrossPlaftform/nativescript/node_modules/typescript/lib/typescript.js:62620:16)
child process exited with code 1
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "ns-bundle" "--ios" "--start-app"
npm ERR! node v6.10.0
npm ERR! npm v4.3.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ ns-bundle: `ns-bundle`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ ns-bundle script 'ns-bundle'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ns-bundle
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/jonatthu/.npm/_logs/2017-03-02T06_15_33_872Z-debug.log
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start-ios-bundle"
npm ERR! node v6.10.0
npm ERR! npm v4.3.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ start-ios-bundle: `npm run ns-bundle --ios --start-app`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ start-ios-bundle script 'npm run ns-bundle --ios --start-app'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run ns-bundle --ios --start-app
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/jonatthu/.npm/_logs/2017-03-02T06_15_33_897Z-debug.log
Metadata
Metadata
Assignees
Labels
No labels