meanjs / mean

MEAN.JS - Full-Stack JavaScript Using MongoDB, Express, AngularJS, and Node.js -
http://meanjs.org
MIT License
4.87k stars 1.98k forks source link

Not Installing on gcloud app engine #1965

Closed jdpunk1 closed 6 years ago

jdpunk1 commented 6 years ago

When using the app engine to deploy the build NodeJS no longer installs and therefore npm install won't run and the build fails

I managed to find a solution however. NodeJS is attempting to install on Ubuntu. In the dockerfile at the root of the app Ubuntu version is configured as: FROM ubuntu:latest

simply change it to: FROM ubuntu:14.04

I'm not sure if this is the best version to use for the build but it seems to e running successfully. Please feel free to amend/recommend an alternative solution. This is my first post as well so pls be kind. :octocat:

jdpunk1 commented 6 years ago

I just wanted to raise this here as I spent quite a while trying to nail down the fix, so hope it's of use to other meanies ;)