danielgtaylor / danielgtaylor/aglio
TypeError: unrecognized option 'type' , node v11.9.0
- Dominant language
- CoffeeScript
- Stars
- 4.7k
- Forks
- 471
- PR merge metrics
- No merged PRs in 30d
Description
using node v11.9.0, I get a Type error:
```
TypeError: unrecognized option 'type', expected: 'requireBlueprintName', 'generateSourceMap'
at Object.exports.render (/site/node_modules/aglio/lib/main.js:99:20)
at render (/site/node_modules/aglio/lib/main.js:147:22)
at /site/node_modules/aglio/lib/main.js:171:16
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:54:3)
```
node v10.15.3 works fine.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the error with Node v11.9.0 and compare it with the working Node v10.15.3 case. Start at aglio/lib/main.js, especially the render calls around lines 99, 147, and 171, and trace why the 'type' option is rejected. Done means rendering no longer raises this TypeError on Node v11.9.0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- coffeescript, node.js
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100