generator: Installation wont work with version 0.7.0 and up
Os : macOs 10.14.15 node : v12.3.1
Installation doesn’t work with version 0.7.0. the last version to work is 0.6.7
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.6.0
gyp ERR! command “/usr/local/Cellar/node/12.3.1/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /usr/local/lib/node_modules/asyncapi-generator/node_modules/ref
gyp ERR! node -v v12.3.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ref@1.3.5 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ref@1.3.5 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (13 by maintainers)
I have Mac 10.14.4 and I’m super old and use old Node 😃 version 8.16.0 and NPM 6.4.1 I installed generator with
npm install -g asyncapi-generator
Then I took this spec:And I did
ag asyncApiSpec.yaml markdown
and the result is:I will try now with older Node versions and dig deeper
on it 👀
I have the same issue with node version 12.3.x
With version node v10.16.0 works good 🤔