How to do `npm install` with package.json present
Closed this issue · 3 comments
mmahalwy commented
How to do `npm install` with package.json present
BarthV commented
hi @mmahalwy ,
You can just use path
LWRP attribute. It changes pwd of the npm install command.
https://github.com/redguide/nodejs/blob/master/resources/npm.rb#L27
It is true that the readme is not very precise on this point.
mmahalwy commented
So if the file is
/app/package.json
what would I do?