udacity / cd0354-monolith-to-microservices-project Goto Github PK
View Code? Open in Web Editor NEWProject code for cd0354 Monolith to Microservices at Scale course taught by Justin Lee
License: Other
Project code for cd0354 Monolith to Microservices at Scale course taught by Justin Lee
License: Other
Following the instructions to install the packages to run ionic build and I faced a few challenges.
I'm on Ubuntu 22.04.
Node 17.9.0
npm 8.18.0
First, I ran npm install .
and I got this error
So I proceeded to delete fsevents from node_modules and package.json and then run npm install .
again. This time the packages were installed with a lot of warnings of deprecated packages
Since I had already installed ionic globally I went ahead to run ionic build and had these errors thrown in my face
I updated the packages with ncu -u
.
When I ran npm install
it crashed and I had to run npm install --legacy-peer-deps
for it to finally install the updated packages
When the packages were updated I went ahead to run ionic build
and now I got this
I went ahead to do a google search and I found on StackOverflow that I had to take out es5BrowserSupport
from angular.js
which I did and then I reran ionic build
I'm stuck here. I don't know what else to do. Is there something I'm missing? Any suggestions or contributions will be greatly appreciated
Issue
When running udagram-api backend. An error return: InvalidARN: ARN accountID does not match regex "[0-9]{12}"
The AWS Bucket name should be without the arn:aws:s3:::
preceding the bucket name in set_env.sh file. This acted as a blocker for me and other learners during our projects. I really wanted the upcoming learners not to go through the same route. I have created a PR for this but for some reasons, I could not link the PR to this issue
Hello,
The frontend service uses beevelop/ionic as its base image. The issue is, that this base image size is 3.39 GB
, it comes with unnecessary dependencies such as Cordova and Android.
We can use a relatively much smaller base image, consisting of only node, for example, you can use node:14.15.5-alpine3.13
which has the size of roughly only 40 MB, and then install the ionic CLI dependency.
An example alternative Dockerfile would be
## Build
FROM node:14.15.5-alpine3.13 as build
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
COPY package*.json ./
RUN npm ci
RUN npm install -g @ionic/cli
# Bundle app source
COPY . .
RUN ionic build
## Run
FROM nginx:alpine
#COPY www /usr/share/nginx/html
COPY --from=build /usr/src/app/www /usr/share/nginx/html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.