You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do npm i and then npm run build:app1, everything works fine.
When I do docker build -t nrwl-nx-workspace-demo:app1 .
I get these error messages:
> @bahmutov/add-typescript-to-cypress@2.0.0 postinstall /app/node_modules/@bahmutov/add-typescript-to-cypress
> node src/add-plugin.js
(node:5) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
⚠️ Cannot find "cypress" folder in /app
Please scaffold Cypress folder by opening Cypress once
and then installing this package again
See: https://github.com/bahmutov/add-typescript-to-cypress/issues/3
Here is my Dockerfile:
# Stage 0, based on Node.js, to build and compile Angular
#docker build -t nrwl-nx-workspace-demo:app1 .
#docker run -d -p 80:80 nrwl-nx-workspace-demo:app1
FROM node:8.11.1 as node
WORKDIR /app
COPY package.json /app/
RUN npm install
COPY ./ /app/
ARG env=prod
RUN npm run build:app1
# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx
FROM nginx:alpine
COPY --from=node /app/dist/apps/app1/ /usr/share/nginx/html
COPY ./nginx-custom.conf /etc/nginx/conf.d/default.conf
When I remove
"@bahmutov/add-typescript-to-cypress": "2.0.0",
from package.json, my docker build works
The text was updated successfully, but these errors were encountered:
Here is my github repo: https://github.com/dereklin/nrwl-nx-workspace-demo/tree/add-typescript-to-cypress
The branch is add-typescript-to-cypress
When I do npm i and then npm run build:app1, everything works fine.
When I do docker build -t nrwl-nx-workspace-demo:app1 .
I get these error messages:
Here is my Dockerfile:
When I remove
from package.json, my docker build works
The text was updated successfully, but these errors were encountered: