-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running npm install
in a package dir with no arguments
#154
Comments
An empty string as the title for a defined type is not valid, so no, you can't do this with the npm defined type at the moment. This should probably be a new type of its own. Say, |
👍 |
+1 |
@serviceman do you wanna provide a patch? |
wish so, but unfortunately I have few time and zero knowledge of Ruby (and rather few of puppet), so I can't make it! |
What's the status of this? |
@jyaworski this is still desired and missing |
While it's not ideal, you can run nodejs::npm like this:
Which runs "npm install" in that directory |
is that idempotent, though? |
Functionality added by #300 |
I would like to run
npm install
in a package dir with no arguments in order to install the dependencies of this package. I do not want to deploy the package dir itself with npm. This corresponds to the first form of invocation of npm in the docs. I believe that this is currently not possible, right? I suggest to add this functionality though...The text was updated successfully, but these errors were encountered: