You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MapillaryJS version: 2.18.0 System/Browser: Windows 10
Steps to Reproduce Behavior
Clone repo
Run npm install on Windows, or use npm module from fork location
Expected behavior
dependancies should be installed as well as a build created
Actual behavior
the following error message appears, due to running a UNIX command in a Windows environment. 'rm' is not recognized as an internal or external command
Workaround
A possible workaround or solution is to include shx into the dev dependencies by calling npm install shx --save-dev
then prefixing all Unix commands with shx.
cat styles/*.css => shx cat styles/*.css
also the "include all filenames" -a tag isn't supported with shx so "copy-assets": "cp -a styles/*.svg dist", needs to be changed to "copy-assets": "shx cp styles/*.svg dist",
Everything works swimmingly after that.
The text was updated successfully, but these errors were encountered:
Basic information
MapillaryJS version:
2.18.0
System/Browser:
Windows 10
Steps to Reproduce Behavior
Expected behavior
dependancies should be installed as well as a build created
Actual behavior
the following error message appears, due to running a UNIX command in a Windows environment.
'rm' is not recognized as an internal or external command
Workaround
A possible workaround or solution is to include shx into the dev dependencies by calling
npm install shx --save-dev
then prefixing all Unix commands with shx.
cat styles/*.css
=>shx cat styles/*.css
also the "include all filenames" -a tag isn't supported with shx so
"copy-assets": "cp -a styles/*.svg dist",
needs to be changed to"copy-assets": "shx cp styles/*.svg dist",
Everything works swimmingly after that.
The text was updated successfully, but these errors were encountered: