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.

Can't resolve an absolute path of appComponents on Windows #573

Closed
@vchimev

Description

@vchimev

Issue Checklist

  • You are submitting: a bug report.

Tell us about the problem

An absolute path added to appComponents in the webpack.config.js file can't be resolved during bundling on Windows.

As a workaround, a relative path could be used, however, then the added components will be included in the bundle.js instead of the vendor.js file.

Example: HERE.

Output:

ERROR in ./main.ts
Module not found: Error: Can't resolve 'C:Users
                                               chimevWorkgitandroid-extend-ngappmain-activity.android.ts' in 'C:\Users\vchimev\Work\git\android-extend-ng\app'
 @ ./main.ts 5:0-83
Webpack compilation complete.

Local environment

  • Platform: Windows
  • Node version: 8.11.3
  • NativeScript CLI version: 4.1.0

Project data

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