cybertk / cybertk/atom-raml-preview
Package installing issue
- Dominant language
- CoffeeScript
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
internal/modules/cjs/loader.js:800
[Hide Stack Trace](https://github.com/cybertk/atom-raml-preview/issues/new#)
Error: Cannot find module 'atom-space-pen-views'
Require stack:
- C:\Users\DELL\.atom\packages\preview\lib\preview-view.coffee
- C:\Users\DELL\.atom\packages\preview\lib\preview.coffee
- C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app.asar\static\index.html
at Module._resolveFilename (internal/modules/cjs/loader.js:797:17)
at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
at Function.get_Module._resolveFilename (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:157942)
at Module.require (file:///C:/Users/DELL/AppData/Local/atom/app-1.60.0/resources/app.asar/static/index.js:61:43)
at require (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:149229)
at Object. (file:///C:/Users/DELL/.atom/packages/preview/lib/preview-view.coffee:2:50)
at Object. (file:///C:/Users/DELL/.atom/packages/preview/lib/preview-view.coffee:1:1)
at Object. (file:///C:/Users/DELL/.atom/packages/preview/lib/preview-view.coffee:1:1)
at Module.get_Module._compile (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:149913)
at Object.value [as .coffee] (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:153507)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (file:///C:/Users/DELL/AppData/Local/atom/app-1.60.0/resources/app.asar/static/index.js:72:46)
at require (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:149229)
at Object. (file:///C:/Users/DELL/.atom/packages/preview/lib/preview.coffee:2:15)
at Object. (file:///C:/Users/DELL/.atom/packages/preview/lib/preview.coffee:1:1)
at Object. (file:///C:/Users/DELL/.atom/packages/preview/lib/preview.coffee:1:1)
at Module.get_Module._compile (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:149913)
at Object.value [as .coffee] (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:153507)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (file:///C:/Users/DELL/AppData/Local/atom/app-1.60.0/resources/app.asar/static/index.js:72:46)
at require (internal/modules/cjs/helpers.js:74:18)
at customRequire (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:1:802772)
at requireModule (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:14:1175135)
at Package.requireMainModule (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:3543231)
at Package.activateConfig (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:3532534)
at PackageManager.packageHasSettings (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:909286)
at PackageCard.hasSettings (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:14:2709249)
at PackageCard.updateSettingsState (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:14:2699517)
at PackageCard.updateInterfaceState (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:14:2699340)
at C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:14:2707482
at C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:14:2709500
at Function.simpleDispatch (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:1187666)
at Emitter.emit (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:1189107)
at PackageManager.emitPackageEvent (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:918743)
at C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:915875
at r (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:11:910405)
at n (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:14:1174458)
at ChildProcess. (C:\Users\DELL\AppData\Local\atom\app-1.60.0\resources\app\static\:14:1174664)
at ChildProcess.emit (events.js:223:5)
at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the package activation failure in Atom 1.60.0, then start with lib/preview-view.coffee and lib/preview.coffee, where the missing module appears in the require stack. Trace how installation provides that dependency and verify that the preview package activates without the Cannot find module error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- coffeescript, node.js
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100