Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
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.

Webpack compilation doesn't stop on every semantic error #1066

Open
@endarova

Description

@endarova

Environment
CLI: @next
Plugin(s): nativescript-dev-webpack@next

To Reproduce
First scenario:

  1. tns create app --ng

  2. npm i nativescript-dev-webpack@next --save-dev --save-exact

  3. node_modules/.bin/update-ns-webpack --deps --configs

  4. tns run ios

  5. inapp.module.ts change some of the imports to use invalid path

  6. the compilation stops on the error which is expected

  7. fix the error

  8. initem.services.ts changeimport { Item } to use invalid path
    Result:
    ERROR in src/app/item/item.service.ts(3,22): error TS2307: Cannot find module './items'. but the compilation doesn't stop as expected.

Second scenario:
9. In the same app fix the previous error
10. inapp.module.ts change something in thedeclarations: section
Result: No stop on error. The app is deployed and crashes

Additional context
Not reproducible with nativescript-dev-webpack@1.2.1
It is reproducible withrun android too

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp