Skip to content

Commit d9fea4f

Browse files
author
Peter Rushforth
committed
Add .npmrc that includes allow-git=root, which avoids error that occurs at npm >=12.0.0 when installing dependencies from git repos i.e.
"$ npm install npm error code EALLOWGIT npm error Fetching packages of type "git" have been disabled npm error Refusing to fetch "proj4leaflet@git+ssh..."
1 parent dfcf9a2 commit d9fea4f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.npmrc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
allow-git=root

0 commit comments

Comments
 (0)