Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What are the problem?

More than 1 year has passed since last update.

@161abcd

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でファイルを起動できたのになぜできなくなったのか。

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

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
0
Help us understand the problem. What are the problem?