lukehaas/RunJS

npm packages no longer install

Closed this issue · 4 comments

Is it just me or do npm package no longer install since the update last week?

I receive an "Error: 'Network Error'" message in Run.js yet I can successfully install npm packages from the terminal and VSCode.
Anyone else experiencing this issue inside Run.js?

Hi @wx007 . Could you provide a copy of your debug log? You can access this from the help menu.

@wx007 thanks.
Looks like this error could be a likely cause:

Your cache folder contains root-owned files, due to a bug in previous versions of npm which has since been addressed

Try running this command in your terminal to fix it: sudo chown -R 501:20 "/Users/archive/.npm"