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
I get this error when using the new swagger-jsdoc release on node.js v0.10.25, which is the default node.js install for the current Ubuntu LTS release.
I believe this is related to swagger-jsdoc using path.parse, which has become available in node 0.12.
Upgrading to node.js 0.12 or newer solves the issue, as does downgrading to swagger-jsdoc 1.1.2.
zoek-werkplek-api-0 (err): TypeError: Object #<Object> has no method 'parse'
zoek-werkplek-api-0 (err): at parseApiFile (/opt/build/microservices/zoek-werkplek-api/node_modules/swagger-jsdoc/lib/index.js:23:18)
zoek-werkplek-api-0 (err): at module.exports (/opt/build/microservices/zoek-werkplek-api/node_modules/swagger-jsdoc/lib/index.js:158:17)
The text was updated successfully, but these errors were encountered:
tijszwinkels
added a commit
to tijszwinkels/swagger-jsdoc
that referenced
this issue
Feb 29, 2016
…c, which don't work on older versions of node.js. Solves Surnet#16.
Please note that to prevent problems, swagger-jsdoc 1.2.0 needs to be removed from the npmjs repository as well.
I get this error when using the new swagger-jsdoc release on node.js v0.10.25, which is the default node.js install for the current Ubuntu LTS release.
I believe this is related to swagger-jsdoc using path.parse, which has become available in node 0.12.
Upgrading to node.js 0.12 or newer solves the issue, as does downgrading to swagger-jsdoc 1.1.2.
The text was updated successfully, but these errors were encountered: