You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Home > Troubleshooting > My project is stuck in an install loop! What can I do?
My project is stuck in an install loop! What can I do?
print icon

Oh no! Is your project in an endless cycle of installing packages?  This can happen if the project is confused about what method of installation should be used.

 

Here's how to fix this:

 

  • Check the version of Node that your project is using.
  • If your project uses Node 14, it will need to use npm to install modules.  You can make sure that your Node 14 project is using npm by opening the project terminal and running the following command:
    enable-npm
  • If your project uses an older version of Node, for example Node 12 or 10, it will use pnpm to install modules, unless you have specifically used npm in the past.  You can make sure that your project is using pnpm by opening the project terminal and running the following command:
    enable-pnpm

 

...and now some notes about disk space:

 

  • We acknowledge that in the past, the solution to most install issues on Glitch was to run the command, enable-pnpm
  • The reason was that using this method resulted in a faster and more efficient installation of packages. 
  • With newer and more regular updates, we can only offer Node 14 when using npm.
  • Rest assured that neither pnpm's nor npm's node_modules folders count against your disk usage limit!
Got more questions? Check out our Community Forum!
Open 24/7, the forum is where Glitch makers help each other and show off all the rad apps that they have created. It's the friendliest community of coders on the Web!
Feedback
1 out of 2 found this helpful

scroll to top icon