AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Check node version in angular project9/28/2023 Volta touts itself as "a hassle-free way to manage your JavaScript command-line tools." I want to introduce Volta to you today so you can avoid the stress we went through - it's simple to get started with and can prevent catastrophes like this. It went on to live in infamy as "Dark Thursday" for all who experienced it.Īnd it could have all been avoided if we'd been using a handy little tool called Volta. We had to roll back the deployment, figure out what went wrong - it turned into a very long night. We built our app on local machines running Node 10, but the build pipeline defaulted to the lowest Node version it had on hand, Node 6, and the app wouldn't start up in production. Configure this directory with CLI environment variables.I speak from personal experience when I say this sort of thing happened to me and my development team. It can safely be deleted and the Ionic CLI will repopulate it, but all configuration (including user sessions) will be lost. The global Ionic CLI configuration directory is ~/.ionic on all platforms.See Using a Proxy to configure request proxying. Connection issues may be due to improperly configured proxy settings.The -verbose flag prints debugging messages, which may narrow down the issue.Make sure the latest Node LTS is installed.Get the installed version by running ionic -version. Make sure the latest version of the Ionic CLI is installed.To troubleshoot issues with the Ionic CLI, the following may be useful: Follow development on the open source GitHub repository. It supports Node 10.3+, but the latest Node LTS is always recommended. The Ionic CLI is built with TypeScript and Node.js. Be sure to run ionic -help in your project directory.įor some commands, such as ionic serve, the help documentation is contextual to the type of your project, e.g.
0 Comments
Read More
Leave a Reply. |