Help us understand the problem. What is going on with this article?

Atomを起動するとA JavaScript error occured in the main processと出る

問題

Windows10でatomが起動しない。

エラー内容

A JavaScript error occured in the main process
Uncaught Exception:
Error: The specified module cannot be found.
\\?\C:\ProgramData\MyUserName\atom\app-1.35.1\resources\app.asar.unpacked\nod...\nslog.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
    at Object.Module._extensions..node (module.js:671:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:180:18)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (module.js:586:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous>
(C:\ProgramData\MyUserName\atom\app-1.35.1\resources\app.asar\node_modules\nslog\lib\...:11)
    at Object.<anonymous>
(C:\ProgramData\MyUserName\atom\app-1.35.1\resources\app.asar\node_modules\nslog\lib\n...:4)

解決

解決前
\atom\atom.exe
exeでatomを起動していた。

解決後
\atom\bin\atom.cmd
コマンドプロンプトからatomを起動したらうまくいった。

原因

不明
今まではexeでファイルを起動できたのになぜできなくなったのか。

わからるかたは教えてください。

161abcd
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした