Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

App-scripts is removed when I add a platform. #1532

Open
cristianireyes opened this issue Jun 27, 2019 · 0 comments
Open

App-scripts is removed when I add a platform. #1532

cristianireyes opened this issue Jun 27, 2019 · 0 comments

Comments

@cristianireyes
Copy link

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_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:

  1. npm install
  2. ionic cordova platform add android
  3. [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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant