TeamMaestro / angular-native-seed

Build web apps and NativeScript applications from one codebase using the AngularCLI.
265 stars 71 forks source link

Nativescript Webpack AOT Build Stopped Working #27

Closed donburgess closed 7 years ago

donburgess commented 7 years ago

Vanilla project no longer is building AOT. Initial errors are around package.json no longer being copied into the app directory.

fourctv commented 7 years ago

Still not working. Just got a fresh copy of the seed and npm run start-ios-bundle gives me these errors:

CONSOLE LOG file:///app/vendor.js:3375:20: Angular is running in the development mode. Call enableProdMode() to enable the production mode.
CONSOLE ERROR file:///app/vendor.js:1413:24: ERROR SyntaxError: JSON Parse error: Unexpected EOF

Running the app on emulator works fine, just the AOT build fails.

Environment: OSX 10.11.6 webpack:2.6.1 node: 7.4.0 tsc: 2.3.4 tns: 2.5.2

donburgess commented 7 years ago

@fourctv I don't think that error stops the application from launching in AOT. I'm going to close this issue because the original problem is solved. If you're still having AOT issues please open a new issue.