Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Windows: configure command not available #5764

Closed
splatteredbits opened this Issue Jul 22, 2014 · 4 comments

Comments

Projects
None yet
4 participants

The npmrc documentation states:

path/to/npm/itself/npmrc... is an unchangeable "builtin" configuration file that npm keeps consistent across updates. Set fields in here using the ./configure script that comes with npm. This is primarily for distribution maintainers to override default configs in a standard and consistent manner.

Unfortunately, this command is not available script doesn't run on Windows, so I am unable to set any values in this file using NPM's commands. I'll have to write my own code to get this file updated.

Member

KenanY commented Jul 22, 2014

./configure is not a command, it's a bash script. You can find it wherever you have npm installed (C:\Program Files\nodejs\node_modules\npm or C:\Users\kenan\AppData\Roaming\npm\node_modules\npm on my Windows machine).

I can't run bash scripts on Windows. I need to modify the built-in NPM config file. The docs say the way to do this is via ./configure. Please create an equivalent script/command for Windows.

tjwebb commented Jul 23, 2014

You can just edit the npmrc file directly.

Please create an equivalent script/command for Windows.

I'm sure npm would consider a PR.

Contributor

othiym23 commented Sep 17, 2014

This issue is superseded by #5753, and will be handled there (eventually).

@othiym23 othiym23 closed this Sep 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment