Когда я пытаюсь установить какой-либо пакет в Atom, появляется эта ошибка, говоря, что мне нужно установить Python и Visual Studio.
Installing “atom-beautify@0.33.4” failed.Hide output…
internal/modules/cjs/loader.js:969
throw err;
^
Error: Cannot find module 'C:\Users\ali\AppData\Local\atom\app-1.45.0\resources\app\apm\lib\cli.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:17)
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: []
}
Compiler tools not found
Packages that depend on modules that contain C/C++ code will fail to install.
Read here for instructions on installing Python and Visual Studio.
Run apm install --check after installing to test compiling a native module.