Failed to load the live-code-runner package
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
Research direction
Start with lib/live-code-runner.js at the require site reported on line 11, then inspect how the backend.ai-client dependency and its package.json main entry are declared. Reproduce package activation in Atom and verify that the live-code-runner package loads without the reported module-resolution error.
Written by the indexing model from the issue text.
Description
Cannot find module 'C:\Users\Hansana.atom\packages\live-code-runner\node_modules\backend.ai-client\backend.ai-client.js'. Please verify that the package.json has a valid "main" entry
Error: Cannot find module 'C:\Users\Hansana.atom\packages\live-code-runner\node_modules\backend.ai-client\backend.ai-client.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:301:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:532:18)
at Module._resolveFilename (internal/modules/cjs/loader.js:784:27)
at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
at Function.get_Module._resolveFilename (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:157820)
at Module.require (file:///C:/Users/Hansana/AppData/Local/atom/app-1.57.0/resources/app.asar/static/index.js:61:43)
at require (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:149153)
at Object. (file:///C:/Users/Hansana/.atom/packages/live-code-runner/lib/live-code-runner.js:11:28)
at Object. (file:///C:/Users/Hansana/.atom/packages/live-code-runner/lib/live-code-runner.js:420:2)
at Module.get_Module._compile (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:149837)
at Object.value [as .js] (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:153385)
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/Hansana/AppData/Local/atom/app-1.57.0/resources/app.asar/static/index.js:72:46)
at require (internal/modules/cjs/helpers.js:74:18)
at customRequire (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:1:802772)
at requireModule (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:14:1191588)
at Package.requireMainModule (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:3520819)
at C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:3507359
at Package.measure (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:3506159)
at Package.load (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:3506932)
at PackageManager.loadAvailablePackage (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:384071)
at PackageManager.loadPackage (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:382799)
at PackageManager.activatePackage (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:385371)
at C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:914488
at r (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:11:909094)
at n (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:14:1190911)
at ChildProcess. (C:\Users\Hansana\AppData\Local\atom\app-1.57.0\resources\app\static<embedded>:14:1191117)
at ChildProcess.emit (events.js:223:5)
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lablup/atom-live-code-runner
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Pckg rename to/add 'Backend.AI'May be free again @inureyes claimed this 3051 days ago, and no pull request is open. Open
lablup/atom-live-code-runner#26 · 1 assignee ·
-
result panel to be side-by-sideMay be free again @inureyes claimed this 3202 days ago, and no pull request is open. Openenhancement
lablup/atom-live-code-runner#24 · 1 assignee ·
-
Automatic language selection codeMay be free again @inureyes claimed this 3553 days ago, and no pull request is open. Openenhancement
lablup/atom-live-code-runner#6 · 1 comment · 1 assignee ·
All issues in lablup/atom-live-code-runner
Similar issues
-
good first issue quality
Difficulty 1/5 Under an hour Newbie friendliness 86/100
StudentSuite/awesome-student-resources#554 ·
Maintainers usually reply within 1 day
-
content good first issue
Difficulty 1/5 Under an hour Newbie friendliness 82/100
StudentSuite/awesome-skills-plugins-for-students#297 ·
Maintainers usually reply within 1 day
-
Link Checker ReportOpenautomated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 62/100