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
I just installed Ionic and I can't start a project. When I try to create a new project it gets stuck on downloading the capacitor package and after a few minutes it prints an error message saying there were problems downloading the dependencies.
I also don't understand why when I start a new project it tries to install the capacitor package when I already have it installed globally on my computer.
Steps to Reproduce:
This is an example of what happens to me:
ionic start myApp sidemenu
It then starts the project build process and when it gets to this command it gets stuck until it throws a package download error a few minutes later: npm.cmd i --save -E @capacitor/core@latest
How can I solve that problem?
The text was updated successfully, but these errors were encountered:
Hello 👋 are you still experiencing this issue? Can you run ionic info and give me the output?
We install Capacitor as a local dev dependency for your project. While having Capacitor installed globally is great for development, this would not work when running the project in another environment or on another developer's machine (unless they also had Capacitor globally installed). As such, we install it as a best practice for most common set-ups.
Description:
I just installed Ionic and I can't start a project. When I try to create a new project it gets stuck on downloading the capacitor package and after a few minutes it prints an error message saying there were problems downloading the dependencies.
I also don't understand why when I start a new project it tries to install the capacitor package when I already have it installed globally on my computer.
Steps to Reproduce:
This is an example of what happens to me:
ionic start myApp sidemenu
It then starts the project build process and when it gets to this command it gets stuck until it throws a package download error a few minutes later:
npm.cmd i --save -E @capacitor/core@latest
How can I solve that problem?
The text was updated successfully, but these errors were encountered: