You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
Describe the bug
After upgrading upgrading the project, when I run, tns run android --bundle or tns run ios --bundle, I am getting Unable to apply changes on device: emulator-XXXX. Error is: Cannot read property 'env' of undefined.
To Reproduce npm install -g nativescript tns update tns run android --bundle tns run ios --bundle
Expected behavior
It should run the app inside emulator.
I was able to resolve this issue, by running the npm ci (clean install) instead of npm install or tns install. I think it is happening due to some node modules update. Anyway thanks for the support.
Hey all,
The error indicates you are using one of the next versions of nativescript-dev-webpack. As we are preparing the next major version of NativeScript (6.0.0), the next version of nativescript-dev-webpack is compatible only with it. So you should either use next versions of both CLI and nativescript-dev-webpack or their official versions.
NOTE: Do not forget to update your webpack.config.js when changing nativescript-dev-webpack versions, i.e. after installing the new version, execute ./node_modules/.bin/update-ns-webpack --configs
@shineklbm commented on Thu Jun 20 2019
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
After upgrading upgrading the project, when I run,
tns run android --bundle
ortns run ios --bundle
, I am gettingUnable to apply changes on device: emulator-XXXX. Error is: Cannot read property 'env' of undefined.
To Reproduce
npm install -g nativescript
tns update
tns run android --bundle
tns run ios --bundle
Expected behavior
It should run the app inside emulator.
@keithgulbro commented on Thu Jun 20 2019
@shineklbm I had the same issue, here's an a vue reference I found vuejs/vue-cli#4177
If you're using Nativescript-Vue CLI like I am, it seems there's some major issues that arose over the last 24 hours.
The text was updated successfully, but these errors were encountered: