Viveckh / Veniqa

MEVN Full Stack E-Commerce Solution. Built using MEVN Stack (Node.js, Express.js, Vue.js, MongoDB) with Developer Friendliness and Cloud Integrations in mind. Previously Powered the Veniqa New York Startup. 100% Customizable. For Demos and Documentation, Visit Official Website
https://www.veniqa.com
MIT License
1.13k stars 279 forks source link

BUG: docker-compose up dependency issue: cannot resolve axios@"^0.16.2” #209

Open marielevrau opened 1 year ago

marielevrau commented 1 year ago

I'm trying to do a quickstart of Veniqa with docker by using docker-compose up in the cloned folder. This results in a dependency issue: cannot resolve axios@"^0.16.2”. I have already tried different versions, but with no result.

image image

I'm using Windows 11.

Is there another way to resolve this error?

Thanks in advance.

berhauz commented 1 year ago

I endeavored to use that App as a way to show to my university students how to use docker builds, docker compose, gitlab pipelines, and then a deployment of the same in Kubernetes. Fact is, the mix of container profiles and networking requirements in this App is quite interesting. The bundle is now outdated and fails to build properly with any more recent version of npm / Node JS. I have partially upgraded all pieces and disabled some features (ESLint parsing, sendmailGrid, captcha, rate limiting) to end up with a working app... yet, there are at least 2 dozens of residual vulnerabilities in the App and someone will have to address them one by one and refactor code as a consequence. But for the sake of local runs with the aim to teach CI/CD and kubernetes it works. SIDE NOTE: the application lacks much doc, had all docker images running as 'root' (I changed that, no longer acceptable), and can be much improved in code quality, structure and inline doc... I'll see how I can commit my works to a new side branch so that if someone wants to use it for education means, or as starting point for a real project, it would be there.