-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Milestone
Description
The example quickstart for development in the README is to run npm run dev -- umd @esri/*
. When I run this in windows this consistently fails with an error like:
C:\...\arcgis-rest-js>npm run dev -- umd @esri/*
> @esri/arcgis-rest-js@2.15.0 dev C:\...\arcgis-rest-js
> support/dev.sh "umd" "@esri/*"
'support' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @esri/arcgis-rest-js@2.15.0 dev: `support/dev.sh "umd" "@esri/*"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @esri/arcgis-rest-js@2.15.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\...\AppData\Roaming\npm-cache\_logs\2020-08-31T18_08_51_613Z-debug.log
(windows command prompt)
In PowerShell it's similar:
PS C:\...\arcgis-rest-js> npm run dev -- umd @esri/*
> @esri/arcgis-rest-js@2.15.0 dev C:\...\arcgis-rest-js
> support/dev.sh "umd" "@esri/*"
'support' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @esri/arcgis-rest-js@2.15.0 dev: `support/dev.sh "umd" "@esri/*"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @esri/arcgis-rest-js@2.15.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\...\AppData\Roaming\npm-cache\_logs\2020-08-31T18_10_47_590Z-debug.log
Even in Git Bash:
gavi6895@GavinR10 MINGW64 /c/.../arcgis-rest-js (master)
$ npm run dev -- umd @esri/*
> @esri/arcgis-rest-js@2.15.0 dev C:\...\arcgis-rest-js
> support/dev.sh "umd" "@esri/*"
'support' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @esri/arcgis-rest-js@2.15.0 dev: `support/dev.sh "umd" "@esri/*"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @esri/arcgis-rest-js@2.15.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\...\AppData\Roaming\npm-cache\_logs\2020-08-31T18_12_13_744Z-debug.log
We had a similar problem in #40 back in 2017, and that was solved, but since then the "npm run dev" command was moved into a shell script which I think is the core issue. Wondering if others are having these same issues. Thanks!
Environment
System:
OS: Windows 10 10.0.16299
Binaries:
Node: 12.18.3 - C:\Program Files\nodejs\node.EXE
npm: 6.14.6 - C:\Program Files\nodejs\npm.CMD
Metadata
Metadata
Assignees
Labels
No labels