Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

peer deps conflict with nest ^9 and @aginix/nestjs-firebase-admin@2.2.0 Β #659

@ZionSimilarWeb

Description

@ZionSimilarWeb

When trying to run a docker with nest ^9 and @aginix/nestjs-firebase-admin@2.2.0 you get the next error
Could not resolve dependency:
#8 3.775 npm ERR! peer @nestjs/common@"^7.1.2" from @aginix/nestjs-firebase-admin@2.2.0
#8 3.776 npm ERR! node_modules/@aginix/nestjs-firebase-admin
#8 3.776 npm ERR! @aginix/nestjs-firebase-admin@"^2.2.0" from the root project

my package json is this

{
"name": "my-org",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"start": "nx serve",
"build": "nx build",
"test": "nx test"
},
"private": true,
"dependencies": {
"@aginix/nestjs-firebase-admin": "^2.2.0",
"@log4js-node/gelf": "^1.0.2",
"@nestjs/class-validator": "^0.13.4",
"@nestjs/common": "^9.0.0",
"@nestjs/core": "^9.0.0",
"@nestjs/platform-express": "^9.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.0.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@nestjs/schematics": "^9.0.0",
"@nestjs/testing": "^9.0.0",
"@nrwl/cli": "14.8.3",
"@nrwl/eslint-plugin-nx": "14.8.3",
"@nrwl/jest": "14.8.3",
"@nrwl/linter": "14.8.3",
"@nrwl/nest": "14.8.3",
"@nrwl/node": "14.8.3",
"@nrwl/nx-cloud": "latest",
"@nrwl/workspace": "14.8.3",
"@types/jest": "28.1.1",
"@types/node": "16.11.7",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"eslint": "~8.15.0",
"eslint-config-prettier": "8.1.0",
"jest": "28.1.1",
"jest-environment-jsdom": "28.1.1",
"nx": "14.8.3",
"prettier": "^2.6.2",
"ts-jest": "28.0.5",
"ts-node": "10.9.1",
"typescript": "~4.8.2"
}
}

and my docker file is this

FROM node:16-alpine
ENV APP_NAME=api
COPY --chown=node:node ./ ./app
WORKDIR ./app
RUN npm install
RUN echo "DONE!!!!"

its an NX workspace
my docker command is

docker build --progress=plain -f ./apps/api/Dockerfile . -t api-test

BTW - on node 14 it seems to be working fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions