When I run the command ionic cordova platform add android the dependency app-scripts is removed from my node_modules
What behavior are you expecting?
I'm trying to add the android platform to my ionic project, but when I run the command, my app-scripts dependency is removed from the node_modules folder and fails.
Steps to reproduce:
npm install
ionic cordova platform add android
[ERROR] Error with .\node_modules\@ionic\app-scripts\package.json file: FILE_NOT_FOUND
insert any relevant code between the above and below backticks
Which @ionic/app-scripts version are you using?
I currently have this configuration:
cli packages: (C:\Users\cristian\AppData\Roaming\nvm\v8.0.0\node_modules)
@ionic/cli-utils : 1.19.3
ionic (Ionic CLI) : 3.20.1
System:
Node : v8.0.0
npm : 5.0.0
OS : Windows 10
@ionic/app-scripts version: 3.2.2
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
My package.json:package.json.zip
Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/ http://ionicworldwide.herokuapp.com/
Short description of the problem:
When I run the command
ionic cordova platform add android
the dependency app-scripts is removed from my node_modulesWhat behavior are you expecting?
I'm trying to add the android platform to my ionic project, but when I run the command, my app-scripts dependency is removed from the node_modules folder and fails.
Steps to reproduce:
Which @ionic/app-scripts version are you using? I currently have this configuration: cli packages: (C:\Users\cristian\AppData\Roaming\nvm\v8.0.0\node_modules) @ionic/cli-utils : 1.19.3 ionic (Ionic CLI) : 3.20.1 System: Node : v8.0.0 npm : 5.0.0 OS : Windows 10
@ionic/app-scripts version: 3.2.2
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc) My package.json: package.json.zip