I am having an issue getting the npm install to run when trying to install the arcgis webpack plugin.
When I run npm install --save-dev @arcgiswebpack-plugin
I get the following errors:
73 error code ENOENT
74 error syscall spawn git
75 error path git
76 error errno ENOENT
77 error enoent Error while executing:
77 error enoent undefined ls-remote -h -t ssh://email@example.com/Esri/dgrid.git
77 error enoent
77 error enoent
77 error enoent spawn git ENOENT
78 error enoent This is related to npm not being able to find a file.
79 verbose exit [ 1, true ]
I am seeing this both when I attempt to install the plugin on my web server, and when I try to build the demo from the url below
I called ESRI tech support and they told me that this is out of scope for their support since it is a node.js issue. It is my understanding that this a product that ESRI developed, correct? Should it not fall under their scope of support?
Sorry to hear about the trouble. I would recommend logging an issue in the GitHub repo:
Lastly, when I tested this command:
npm install --save-dev @arcgis/webpack-plugin@^4.14.0
It seems to load fine.
Hopefully this helps.
Thanks for the response Noah; that's great insight on projects/products.
I was able to get the install work properly. I did not have git installed on my computer or on the web server that I'm working on. Once I installed git, npm was able to successfully install the package.
I also ensured that my PATH variable matched what is outlined in the stackoverflow post below:
Looks like the dgrid dependency is loading via ssh, you might need https. You can run this command and try to install it again.
git config --global url."https://github.com".insteadOf git://github.com
Edit - nvm, you got it! Good to hear