mafintosh / mafintosh/docker-browser-server
TypeError: Cannot read property 'prototype' of undefined
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 80
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Getting an error:
❯ docker-browser-server busybox --port 8080
~node_modules/root/index.js:30
Root.prototype.__proto__ = process.EventEmitter.prototype;
^
TypeError: Cannot read property 'prototype' of undefined
at Object.<anonymous> (~node_modules/root/index.js:30:49)
at Module._compile (internal/modules/cjs/loader.js:759:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
at Module.load (internal/modules/cjs/loader.js:628:32)
at Function.Module._load (internal/modules/cjs/loader.js:555:12)
at Module.require (internal/modules/cjs/loader.js:666:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object.<anonymous> (~node_modules/docker-browser-server/index.js:8:12)
at Module._compile (internal/modules/cjs/loader.js:759:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Reproduce the failure with docker-browser-server busybox --port 8080, then inspect the stack-trace locations in node_modules/root/index.js and node_modules/docker-browser-server/index.js. Confirm the cause of the missing prototype value and verify that the command starts successfully after the compatibility issue is resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100