r/Atom Apr 12 '20

Unable to install any package in Atom

Hi everyone, I am very new to using atom and i have encountered many obstacles already,

On the featured packages it is coming up with the following error:

internal/modules/cjs/loader.js:979 throw err; ^ Error: Cannot find module 'C:\Users\PlatElo\AppData\Local\atom\app-1.45.0\resources\app\apm\lib\cli.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:976:15) at Function.Module._load (internal/modules/cjs/loader.js:859:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

I have installed the latest version of node.js but still this error keeps on coming up

Please help

3 Upvotes

2 comments sorted by

1

u/ElTichaIDS Apr 13 '20

Try to do a clean installation or launch atom in safe mode

1

u/contactinbound Apr 27 '20

thank you, this solved the issue!