nativescript-schematics
nativescript-schematics copied to clipboard
tns run android - ERROR in error TS5060: Option 'paths' cannot be used without specifying '--baseUrl' option.
Environment
Provide the content of the package.json file in the project:
tns version : 7.0.11 Angular CLI: 10.1.7 Node: 12.19.0 OS: linux x64
Describe the bug
When I perform the tns run androind command the error:
Searching for devices...
Preparing project...
File change detected. Starting incremental webpack compilation...
webpack is watching the files…
Hash: c018afa003f9a5a7d1cd
Version: webpack 4.44.2
Time: 4451ms
Built at: 11/05/2020 1:54:33 PM
3 assets
Entrypoint bundle = runtime.js vendor.js bundle.js
[./app.css] 1.05 KiB {bundle} [built]
[./main.ts] 1.13 KiB {bundle} [built]
[~/package.json] external "~/package.json" 42 bytes {bundle} [optional] [built]
+ 331 hidden modules
ERROR in error TS5060: Option 'paths' cannot be used without specifying '--baseUrl' option.
To Reproduce
command ng new --collection=@nativescript/schematics my-mobile-app
cd my-mobile-app
command tns run android