Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build mapillary with Windows #293

Closed
TietoaPetter opened this issue Jul 9, 2019 · 1 comment
Closed

Unable to build mapillary with Windows #293

TietoaPetter opened this issue Jul 9, 2019 · 1 comment
Assignees

Comments

@TietoaPetter
Copy link

Basic information

MapillaryJS version: 2.18.0
System/Browser: Windows 10

Steps to Reproduce Behavior

  1. Clone repo
  2. 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.

@oscarlorentzon
Copy link
Member

Thanks for reporting. A Docker file has been added for platform agnostic development support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants