Node Installation takes way too long


#1

I just wanted to restart the discord bot i hosted and suddenly its stuck at installing node, it takes wayyy too long and even if i make a new project or change the version will it stay stuck at installing node.


#2

Node is already available, it doesn’t need to be installed. You can specify which version you want to use in your package.json file - see https://glitch.com/faq#node

If you’re still having problems with your project, then let us know the project name and we can take a look. If your project is private, then either make it public or DM me a join link so that I can view it.


#3

Everytime i restarted the bot it always reinstalled node 8.4.0, but when i now wanted to restart it then it stays stuck at installing node, in other projects too, but another 1 i made with a friends works, even tho its near the same.


#4

I sadly cant DM you the invite link because i cant DM yet.


#5

My email is gwilson@fogcreek.com


#6

Send you an Email with the link.


#7

Thanks, I’ve asked someone on the team to take a look at what the issue is.


#8

Ok, im gonna do nothing for now then.


#9

This is back up and running again. We’re looking into the underlying problem that lead to the issue still though.


#10

Hello again,

Sadly im getting the next error which i didnt got before so i dont know what to do:

fs.js:675
return binding.read(fd, buffer, offset, length, position);
^

Error: EIO: i/o error, read
at Object.fs.readSync (fs.js:675:18)
at tryReadSync (fs.js:540:20)
at Object.fs.readFileSync (fs.js:575:19)
at Object.Module._extensions..js (module.js:662:20)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/app/node_modules/ws/index.js:3:19)

I think you are still in the project so i hope you can take a look.


#11

What’s the name of your project?


#12

It fixed itself for 1 day but now it occured again.

Project name: rucoy-discord-bot-garry-tri

Error:

fs.js:675
return binding.read(fd, buffer, offset, length, position);
^

Error: EIO: i/o error, read
at Object.fs.readSync (fs.js:675:18)
at tryReadSync (fs.js:540:20)
at Object.fs.readFileSync (fs.js:575:19)
at Object.Module._extensions..js (module.js:662:20)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/app/node_modules/discord.js/src/client/Client.js:8:28)

#13

Try
npm i node-gyp
node-gyp rebuild
node rebuild
:+1:

or

rm -rf node_modules/* node_modules/.*; refresh
:+1:


#14

We sorted things with the project creator earlier, but in case it’s useful for others. This problem seems to caused by discord.js. A workaround is running rm -rf node_modules/* node_modules/.*; refresh at the console.