New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: An error occurred while running subprocess npm. ( npm i exited with exit code 1 ). #29108
Comments
Hi, I've created a new starter app just now using Ionic CLI 7.2.0, and I'm not experiencing any problems. I'm thinking there might have been a temporary outage somewhere preventing you from installing packages. Could you please try again and let me know if you're still unable to create a starter app? |
@mapsandapps I am still experiencing the same error [ERROR] An error occurred while running subprocess npm.
`` |
For any one else facing similar issue, After spending hours, Temp Solution/hack that worked for me on MAC OS though the release : 7.2.0 is still buggy |
I'm glad you found a workaround. I'm going to close this as this connection/response error issue is not related to Ionic Framework. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
Cannot create a new ionic v7.x blank angular standalone starter app with CLI 7.2.0
Expected Behavior
Should be able to create a blank starter app using ionic cli, after upgrading ionic CLI 7.2.0
Steps to Reproduce
1.$ionic start
2. Framework: Angular
3. ? Starter template: blank
4. Standalone
5. Downloading and extracting blank starter in 638.11ms
6. > npm i --save -E @capacitor/core@latest
7. npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 7.2.0
Utility:
cordova-res (update available: 0.15.4) : 0.15.3
native-run (update available: 2.0.1) : 1.7.2
System:
NodeJS : v20.11.1
npm : 10.2.4
OS : macOS Monterey
Additional Information
No response
The text was updated successfully, but these errors were encountered: