Description
Version
2.8.1
Reproduction link
https://play.nativescript.org/?template=play-vue&id=HdDm9M&v=400
Platform and OS info
Android 10 / NativeScript 7.0.11 /MacOS Mojave 10.14.6
Steps to reproduce
vue init nativescript-vue/vue-cli-template
cd
npm install
tns run android or ios
watch error
What is expected?
Run the app
What is actually happening?
tns run android
Searching for devices...
Starting Android emulator with image Pixel_3_XL_API_29
Waiting for emulator device initialization...
Preparing project...
CLI for webpack must be installed.
webpack-cli (https://github.com/webpack/webpack-cli)
We will use "npm" to install the CLI via "npm install -D".
Do you want to install 'webpack-cli' (yes/no): yes
Installing 'webpack-cli' (running 'npm install -D webpack-cli')...
added 42 packages, and audited 1087 packages in 4s
51 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
[webpack-cli] Unknown argument: --env.hmr
[webpack-cli] Unknown argument: --env.externals=~/package.json
[webpack-cli] Unknown argument: --env.externals=package.json
[webpack-cli] Unknown argument: --env.android
[webpack-cli] Unknown argument: --env.appPath=src
[webpack-cli] Unknown argument: --env.appResourcesPath=App_Resources
[webpack-cli] Unknown argument: --env.nativescriptLibPath=/usr/local/lib/node_modules/nativescript/lib/nativescript-cli-lib.js
[webpack-cli] Unknown argument: --env.sourceMap
Executing webpack failed with exit code 2.
I just created a fresh app and try to run the emulator and ran into this issue.