背景
新手,在win10
上刚刚安装atom
,然后打算安装一些插件,如autocomplete-python
、atom-shell-commands
等。
问题
在atom-settings里面搜索插件安装时,尝试多次,始终会出现如下的错误。
Installing “[email protected]” failed.Hide output…
fs.js:922
return binding.mkdir(pathModule._makeLong(path),
^
Error: ENOENT: no such file or directory, mkdir 'C:\Users\PLM\AppData\Local\Temp;C:\Users\PLM\Local Settings\Temp\d-11757-7436-1plul3s.6bkm8zd7vi'
at Error (native)
at Object.fs.mkdirSync (fs.js:922:18)
at Object.mkdirSync (C:\Users\PLM\AppData\Local\atom\app-1.17.2\resources\app\apm\node_modules\temp\lib\temp.js:137:6)
at Request.<anonymous> (C:\Users\PLM\AppData\Local\atom\app-1.17.2\resources\app\apm\lib\install.js:335:41)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestResponse (C:\Users\PLM\AppData\Local\atom\app-1.17.2\resources\app\apm\node_modules\request\request.js:1074:10)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:474:21)
Installing “[email protected]” failed.Hide output…
fs.js:922
return binding.mkdir(pathModule._makeLong(path),
^
Error: ENOENT: no such file or directory, mkdir 'C:\Users\PLM\AppData\Local\Temp;C:\Users\PLM\Local Settings\Temp\d-11757-856-a3pvx1.rdollnb3xr'
at Error (native)
at Object.fs.mkdirSync (fs.js:922:18)
at Object.mkdirSync (C:\Users\PLM\AppData\Local\atom\app-1.17.2\resources\app\apm\node_modules\temp\lib\temp.js:137:6)
at Request.<anonymous> (C:\Users\PLM\AppData\Local\atom\app-1.17.2\resources\app\apm\lib\install.js:335:41)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestResponse (C:\Users\PLM\AppData\Local\atom\app-1.17.2\resources\app\apm\node_modules\request\request.js:1074:10)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:474:21)
尝试的解决
有人说是因为被墙了,走了代理之后依然是这样。还有人说可能是环境变量的问题,如这个帖子。可是修改了系统的环境变量依然如此,实在是不知道怎么解决了,故来到论坛发帖求助,希望能解决,谢谢大家了!