koajs / koa-hbs

Handlebars templates for Koa.js
MIT License
159 stars 43 forks source link

Unable to install using npm #71

Closed abdullah353 closed 6 years ago

abdullah353 commented 6 years ago

npm install koa-hbs

Following are the logs that i have received, while running the above command.

540 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "koa-hbs"
541 verbose node v8.3.0
542 verbose npm  v5.3.0
543 error path /Users/XAM/liimex/portfolio/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates
544 error code ENOENT
545 error errno -2
546 error syscall rename
547 error enoent ENOENT: no such file or directory, rename '/Users/XAM/liimex/portfolio/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates' -> '/Users/XAM/liimex/portfolio/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/.delegates.DELETE'
548 error enoent This is related to npm not being able to find a file.
549 verbose exit [ -2, true ]
shellscape commented 6 years ago

@mabdullah353 this is going to be an issue with either your local npm install or your environment on windows. unfortunately that's not something that's within the scope of this project. confirmed that the install is in fact working on windows 10 and mac os.

abdullah353 commented 6 years ago

@shellscape You are right it's problem with my local npm install. I have removed the node_module folder and on reinstall it worked. Thanks.