Skip to content
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.

npm run start-ios-bundle does not work on created application #32

@ignaciolarranaga

Description

@ignaciolarranaga

It throws exception and it does not start:

$ npm run start-ios-bundle

> @ prestart-ios-bundle /private/tmp/Sample
> npm run webpack-ios


> @ prewebpack-ios /private/tmp/Sample
> npm run clean-ios


> @ clean-ios /private/tmp/Sample
> tns clean-app ios


> @ webpack-ios /private/tmp/Sample
> webpack --config=webpack.ios.js --progress

  0% compilingError: AppModule is not an NgModule
    at AotPlugin.getNgModuleMetadata (/private/tmp/Sample/node_modules/@ngtools/webpack/src/plugin.js:297:19)
    at AotPlugin._processNgModule (/private/tmp/Sample/node_modules/@ngtools/webpack/src/plugin.js:241:42)
    at /private/tmp/Sample/node_modules/@ngtools/webpack/src/plugin.js:217:39
    at process._tickCallback (node.js:405:9)
    at Function.Module.runMain (module.js:432:11)
    at startup (node.js:141:18)
    at node.js:1003:3

Steps to reproduce:

$ tns create Sample --ng
$ npm install --save-dev nativescript-dev-webpack
$ npm run start-ios-bundle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions