GraphQL ERESOLVE unable to resolve dependency tree when building my docker container
问题 Here are my files. Here is I think the core of the problem. Could not resolve dependency: npm ERR! peer graphql@"^0.12.0 || ^0.13.0 || ^14.0.0" from graphql-middleware@4.0.2 docker-compose.yml version: '3.7' services: apollo: container_name: apollo build: context: . dockerfile: Dockerfile environment: - NODE_ENV=development volumes: - '.:/app' - '/app/node_modules' ports: - 4000:4000 restart: always Dockerfile # Use the official image as a parent image. FROM node:current-slim # Set the