twitchdev / extensions-boilerplate

Frontend only React based sample to get you started building quickly
Other
72 stars 31 forks source link

Error at npm install #28

Open ElronMacBong opened 2 years ago

ElronMacBong commented 2 years ago

Facing following error after using npm install on latest branch:

npm ERR! code ETIMEDOUT
npm ERR! syscall connect
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://npm.pkgs.xarth.tv:443/artifactory/api/npm/vr-npm/yargs-parser/-/yargs-parser-13.1.2.tgz failed, reason: connect ETIMEDOUT 10.193.174.182:443

It's running into the same error on dev rig as well.

Any suggestions about possible fix?

ElronMacBong commented 2 years ago

It seems that this boilerplate is way out-of-date with dependencies. Not only that it has major and minor update-gaps, it also uses removed setup-variables for webpack-dev-server.

The error seems to pop out because it tries to get an old package which is removed due to library-updates.

It would be wise to declare this boilerplate as outdated.

yektas commented 2 years ago

Remove the node-sass dev dependency from package.json and you are good to go. Used main branch btw

noemiekpn commented 2 years ago

I'm having the same issue. Removing node-sass from devDependencies did not work for me unfortunately.

maiconcarraro commented 2 years ago

I gave a try and fixed the dependencies and was able to run w/ yarn https://github.com/twitchdev/extensions-boilerplate/pull/34