Comments (3)
Thanks indeed @sylmorin-gbif.
I think that this issue is something weird that happens because we are using a docker environment (and BTW didn't happened to me before, only to other users).
The deploy script is this:
https://github.com/living-atlases/generator-living-atlas/blob/master/generators/app/templates/deploy-branding.sh
and yarn install
should install the deps.
Some related discussion:
https://atlaslivingaustralia.slack.com/archives/CCTFGEU1G/p1637074047119100?thread_ts=1635761393.047800&cid=CCTFGEU1G
I thought this was fixed already with this commit:
dc655e9
but as this is something that I cannot reproduce, I'm trying to fix reading about similar issues in the net, ...
Did you exec npm install
from the console?
from la-toolkit.
I totally used the slack discussion you mentioned to fix my issue :)
Executing the npm install from the console (so, inside the docker container)
By the way (since I prepared my demo, I rehearsed serveral times), once, I did the npm install from my laptop, in the branding config directory - but not from the docker container
What a mistake !!! since my local npm version was not the same than the npm in the docker container, everything was messy after that...
That's why it would be great if the deploy script could execute it, from the docker container, don't you think?
from la-toolkit.
I still cannot reproduce, I tried several deployments and all worked for me.
Probably related:
- https://stackoverflow.com/a/56769203/642847
- https://stackoverflow.com/questions/42040317/cannot-find-module-for-a-node-js-app-running-in-a-docker-compose-environment
I do npm install
(for things not related with the branding) and yarn install
for the branding inside the Dockerfile
so the deps should be there.
from la-toolkit.
Related Issues (15)
- Add DNS and SSL cert checks to the Portal Monitoring
- create .ssh/assd.d if not present HOT 1
- Elasticsearch tests it seems that do not work for ecodata HOT 1
- Container la-toolkit-mongo-db-backup is missing from text
- ecodata software version is not configurable HOT 2
- email regexp are failing with the last updates
- Problem Connection: ubuntu.sock: Bad file descriptor HOT 1
- Some issued when setting ansible user different than "ubuntu"
- Volume directories with different owner that ubuntu in the container
- issue in running dockerTask.sh: xdg-open HOT 3
- Zoom makes button not clickable HOT 7
- SSH gateway is not working for the first server HOT 3
- auth services is created with /cas context instead of /
- settings.baseFooterUrl in branding is not configured correctly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from la-toolkit.