krakenjs / generator-swaggerize

Yeoman generator for design-driven apis with swagger 2.0 and krakenjs/swaggerize tools.
Other
70 stars 34 forks source link

Fail yo swaggerize on windows #89

Closed lahiruk closed 7 years ago

lahiruk commented 8 years ago

npm ERR! Windows_NT 10.0.10586 npm ERR! argv "E:\nodejs\node.exe" "E:\nodejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! node v6.3.0 npm ERR! npm v3.10.3 npm ERR! file F:\workspace\actorservice\package.json npm ERR! code EJSONPARSE

npm ERR! Failed to parse json npm ERR! Unexpected token 's' at 35:104 npm ERR! ze --only=handlers,models,tests --framework express --apiPath config\swagger.ya npm ERR! ^ npm ERR! File: F:\workspace\actorservice\package.json npm ERR! Failed to parse package.json data. npm ERR! package.json must be actual JSON, not just JavaScript. npm ERR! npm ERR! This is not a bug in npm. npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! Please include the following file with any support request: npm ERR! F:\workspace\actorservice\npm-debug.log

change \ to / in package.json

subeeshcbabu-zz commented 7 years ago

The generator has open issues on windows platform. @lahiruk Can you try the upcoming release - rc version @3.0.0-rc.1 ? Fixed most of the open issue as part of this major release. will be releasing the stable version of 3.0.0 soon.

lahiruk commented 7 years ago

sure thanks. Thanks

subeeshcbabu-zz commented 7 years ago

Please check the latest version generator-swaggerize@3.0.0. This should be resolved.