swagger-node icon indicating copy to clipboard operation
swagger-node copied to clipboard

Error starting hello world project on Windows 7 Enterprise

Open tshah010-zz opened this issue 10 years ago • 0 comments

When I start the project it is asking for 'swagger-express-mw' and when I try to install 'swagger-express-mw' I get enoent error

C:\Users\shahtb\tools\apidocs\hello-world>swagger project start Starting: C:\Users\shahtb\tools\apidocs\hello-world\app.js... project started here: http://localhost:10010/ project will restart on changes. to restart at any time, enter rs module.js:338 throw err; ^ Error: Cannot find module 'swagger-express-mw' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:278:25) at Module.require (module.js:365:17) at require (module.js:384:17) at Object. (C:\Users\shahtb\tools\apidocs\hello-world\app.js:3:22) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Function.Module.runMain (module.js:501:10)

C:\Users\shahtb\tools\apidocs\hello-world>npm install swagger-express-mw npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Program Files (x86)\nodejs012\node.exe" "C:\Program Files (x86)\nodejs012\node_modules\npm\bin\npm-cli.js" "install" "swagger-express-mw" npm ERR! node v0.12.9 npm ERR! npm v2.14.9 npm ERR! path C:\Users\shahtb\tools\apidocs\hello-world\node_modules\swagger-express-mw\node_modules\swagger-node-runner\node_modules\swagger-tools\node_modules\swagger-converter\node_modules\lodash.cloned eep\node_modules\lodash._basecreatecallback\node_modules\lodash.bind\node_modules\lodash._createwrapper\node_modules\lodash._basecreatewrapper\node_modules\lodash.isobject\node_modules\lodash._objecttypes
package.json.1ea0467e1f3763b1ead067d357c14c26 npm ERR! code ENOENT npm ERR! errno -4058

npm ERR! enoent ENOENT, rename 'C:\Users\shahtb\tools\apidocs\hello-world\node_modules\swagger-express-mw\node_modules\swagger-node-runner\node_modules\swagger-tools\node_modules\swagger-converter\node_mod ules\lodash.clonedeep\node_modules\lodash._basecreatecallback\node_modules\lodash.bind\node_modules\lodash._createwrapper\node_modules\lodash._basecreatewrapper\node_modules\lodash.isobject\node_modules\lo dash._objecttypes\package.json.1ea0467e1f3763b1ead067d357c14c26' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\shahtb\tools\apidocs\hello-world\npm-debug.log

tshah010-zz avatar Jul 18 '16 16:07 tshah010-zz