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

Errors when set up GOAT - main application not loading. #574

Closed
vcruvinelr opened this issue May 1, 2020 · 1 comment
Closed

Errors when set up GOAT - main application not loading. #574

vcruvinelr opened this issue May 1, 2020 · 1 comment

Comments

@vcruvinelr
Copy link

During the set up process many warnings appears after doing docker-compose up -d

Some of the errors:

...more before...
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: abbrev@1.1.1 (node_modules/fsevents/node_modules/abbrev):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/app/node_modules/fsevents/node_modules/abbrev' -> '/app/node_modules/fsevents/node_modules/.abbrev.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ansi-regex@2.1.1 (node_modules/fsevents/node_modules/ansi-regex):
...more to go...

Besides of this, the process finish and I be able do start the application:

goat % docker-compose up -d
Creating network "goat_proxy" with the default driver
Creating goat-print     ... done
Creating goat-database ... done
Creating goat-client    ... done
Creating traefik        ... done
Creating goat-api       ... done
Creating goat-geoserver ... done

But when I tried to access the main page at http://localhost I got:

Failed to compile.

./node_modules/moment/src/lib/locale/locales.js 78:12-82:13
Critical dependency: the request of a dependency is an expression

And the application do not enter. I also tested GeoServer and the API and everything works well.

@EPajares
Copy link
Collaborator

EPajares commented May 1, 2020

Thanks for reporting! We have the same issue as described here: moment/moment#4505. I just patched a preliminary fix by copying the package-lock.json into the container. It should work again f4a8aa3

@EPajares EPajares closed this as completed May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants