Thursday, December 14, 2017

Create a .npmrc file on Windows

Kind of stupid but Windows doesn’t like it when you try to create a file with only an extension(like .gitignore, .npmrc,…). Windows will give you an error message instead:

image

The trick to get it working is to include an ending dot also, like

.npmrc.

Don’t ask me why it works…

No comments: