You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Latest release use some features that unsupported by node@4.x - ES6 default parameters for instance. So there is an error in attempt to run cli.js
.../.nvm/versions/node/v4.7.2/lib/node_modules/json-schema-to-typescript/dist/src/index.js:30
function compileFromFile(filename, options = exports.DEFAULT_OPTIONS) {
^
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
The text was updated successfully, but these errors were encountered:
Object key iteration algorithm changed somewhere between Node 4 and 6, producing different output in some cases. Specifically, the realWorld.swagger test case fails
1-3 are quick fixes. I am looking into the rest, and will keep this issue updated with progress. For now, I would recommend using Node 6 if you can (especially since Node 4 has officially entered maintenance mode).
Latest release use some features that unsupported by node@4.x - ES6 default parameters for instance. So there is an error in attempt to run cli.js
The text was updated successfully, but these errors were encountered: