codeforboston / codeforboston/maple

Building on Windows failing

Open
#1,350 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
56
Forks
175
Avg merge
2d 5h
Merged PRs (30d)
13

Description

When building on windows, the "maple-search-backfill-1" container fails immediately when docker tries to boot it- the rest of the project starts fine, but browsing the site yields a lot of 404 errors because of this.

It seems that the maple-search-backfill-1 container runs a shell script for a curl command, which is split into multiple lines- Windows apparently gets confused by this, and makes the container try to run the lines individually, one at a time. First fix for this is to put the curl command on one line, and save the file format for unix (in vim this can be done with ":set ff=unix"). Following that, the us-central1-triggerPubsubFunction function cannot be found- the container claims that "valid functions are: " . Could be a firebase-tools or firebase-functions version issue.

![image](https://github.com/codeforboston/maple/assets/60426636/02c9cc7d-1a1e-4073-8ee4-3f4a67478ded)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.