Skip to content

ERROR in error TS5060: Option 'paths' cannot be used without specifying '--baseUrl' option #2204

@adams-family

Description

@adams-family

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: tns --version = 6.7.8
  • Cross-platform modules: @nativescript/core has 7.0.0-rc.33 version and is up to date
  • Android Runtime: tns-android is not installed
  • iOS Runtime: tns-ios has 6.5.2 version and is up to date
  • Plugin(s): -
  • NativeScript-Angular: 10.0.0
  • Angular: 10.0.4

Describe the bug
tns run ios throws:

ERROR in error TS5060: Option 'paths' cannot be used without specifying '--baseUrl' option.

To Reproduce

ng new -c=@nativescript/schematics test2
cd test2
npm i
tns run ios   # throws incompatibility
tns migrate
tns run ios   # throws the error above

Expected behavior
The application should start in an iOS simulator.

Sample project
This is a bare empty project generated by the commands above.

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