Bug 1374939

Summary: atom editor: TypeError: Cannot read property 'getVersion' of undefined
Product: [Fedora] Fedora Reporter: Frank Ansari <mail>
Component: nodejs-editorAssignee: NodeJS Packaging SIG <nodejs-sig>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 24CC: jamielinux, nodejs-sig, tchollingsworth, tom
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-10 18:09:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Frank Ansari 2016-09-10 17:30:41 UTC
Description of problem:
When I start the atom editor nothing happens. To check what happens I start it from console.


Version-Release number of selected component (if applicable):
Version     : 1.10.0
Release     : 1.git4f3b013.fc24

How reproducible:
/usr/lib64/electron/0.37.8/electron --app=/usr/lib64/atom

Steps to Reproduce:
1. try to start atom
2.
3.

Actual results:
TypeError: Cannot read property 'getVersion' of undefined
    at parseCommandLine (/usr/lib64/atom/src/main-process/main.js:139:22)
    at start (/usr/lib64/atom/src/main-process/main.js:24:16)
    at Object.<anonymous> (/usr/lib64/atom/src/main-process/main.js:265:1)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at loadApplicationPackage (/usr/lib64/electron/0.37.8/resources/default_app.asar/main.js:253:23)
    at Object.<anonymous> (/usr/lib64/electron/0.37.8/resources/default_app.asar/main.js:293:5)
    at Module._compile (module.js:413:34)


Expected results:
The editor should open.

Additional info:
Installed Packages
Name        : nodejs
Arch        : x86_64
Epoch       : 1
Version     : 4.5.0

Comment 1 Tom Hughes 2016-09-10 18:09:42 UTC
You've file this against the nodejs-editor package which is the "editor" npm module (https://www.npmjs.com/package/editor) and nothing to do with the atom editor.

As far as I can see the atom editor is not packaged in Fedora so you need to find out where you got it from and report your problem there.