max-mapper / max-mapper/node-repl
Not working on node 0.12
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 127
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
This library is amazing.
However, I see you used:
```
var NODE_REPL_LOOP = (function * () {
^
```
And i get this error:
```
/Users/mozilla/Proj/schemas/index.js:46
var NODE_REPL_LOOP = (function * () {
^
SyntaxError: Unexpected token *
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.require.extensions..js (/usr/local/lib/node_modules/node-repl/bin.js:19:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/usr/local/lib/node_modules/node-repl/bin.js:22:1)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
```
Maybe you want to specify some flags to use / node version?
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
Start at index.js line 46 and compare the generator syntax with the repository's stated Node 0.12/iojs-and-above support. Reproduce the reported SyntaxError under Node 0.12, then verify whether the library runs on the claimed version or whether the supported version or required flags need to be documented; done means the compatibility behavior is clear and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100