JamieMason / shrinkpack

Fast, resilient, reproducible builds with npm install.
https://www.npmjs.com/package/shrinkpack
MIT License
793 stars 38 forks source link

after upgrate to ionic 3.. npm install failed, I cant create new app #85

Closed musasheikh closed 7 years ago

musasheikh commented 7 years ago

# npm WARN ionic/cli-plugin-ionic-angular 1.3.1 requires a peer of ionic/app-scripts^1.3.7 but none was installed

1139 verbose stack at Immediate.Async.drainQueues (C:\Users\musas\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\async.js:17:14) 1140 verbose cwd C:\Users\musas\cartoonzman 1141 verbose Windows_NT 10.0.15063 1142 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\musas\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" 1143 verbose node v6.11.0 1144 verbose npm v5.0.4 1145 error code ENOGIT 1146 error No git binary found in $PATH 1147 error Failed using git. 1147 error Please check if you have git installed and in your PATH. 1148 verbose exit [ 1, true ]

JamieMason commented 7 years ago

Before raising a bug, try to determine whether your issue is introduced by using shrinkpack.

A good bug report tends to contain (in order of usefulness);

musasheikh commented 7 years ago

@JamieMason I just installed the latest version of ionic and npm

then I run .. ionic start myApp blank

npm failed because of object-keys deprecated, i installed the object-keys manually

but npm install command still not working because ionic/app-scripts !

JamieMason commented 7 years ago

This is the repo for shrinkpack, are you in the right place?

musasheikh commented 7 years ago

this is repo C:\Users\musas\cartoonzman>ionic info [WARN] You have multiple CLI project plugins installed (@ionic/cli-plugin-ionic1, @ionic/cli-plugin-ionic-angular). Please make sure you have only one installed. [ERROR] Error with .\node_modules\ionic-angular\package.json file: FILE_NOT_FOUND [ERROR] Error with .\node_modules\@ionic\app-scripts\package.json file: FILE_NOT_FOUND [ERROR] Error with C:\Users\musas\cartoonzman\www\lib\ionic\version.json file: FILE_NOT_FOUND

global packages:

@ionic/cli-utils : 1.4.0
Cordova CLI      : 7.0.1
Gulp CLI         : not installed globally
Ionic CLI        : 3.4.0

local packages:

@ionic/app-scripts              : not installed
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-gulp          : 1.0.1
@ionic/cli-plugin-ionic-angular : 1.3.1
@ionic/cli-plugin-ionic1        : 2.0.0
Cordova Platforms               : android broken
Ionic Framework                 : not installed
Ionic Framework                 : unknown

System:

Node       : v6.11.0
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 5.0.4
JamieMason commented 7 years ago

This issue forum is where you would report issues with the shrinkpack project, you could try asking about this on stack overflow and/or the mailing list or support forums for Ionic.

Best of luck! Thanks.