Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The affected projects might have not been identified properly. #23019

Open
1 of 4 tasks
bligneri opened this issue Apr 25, 2024 · 1 comment
Open
1 of 4 tasks

The affected projects might have not been identified properly. #23019

bligneri opened this issue Apr 25, 2024 · 1 comment
Assignees
Labels
scope: core core nx functionality type: bug

Comments

@bligneri
Copy link

Current Behavior

I have a message in the CLI:
The affected projects might have not been identified properly. The package(s) @prisma/client, bullmq, express, ioredis, node, prisma, winston, zod, @types/node, prettier-plugin-tailwindcss were not found. Please open an issue in GitHub including the package.json file.

Expected Behavior

I would expect the dependencies to be picked up and no warning/error message to be dsplayed

GitHub Repo

No response

Steps to Reproduce

This is my package.json for the workspace

cat package.json                                                                                                                                              1 ✘
{
  "private": true,
  "scripts": {
    "prisma:migrate:prod": "[-d prisma] && [ -f prisma/prisma.schema ] && npx prisma migrate deploy || echo 'No database to migrate'",
    "prisma:migrate:platform-next": "pnpx prisma migrate deploy --schema=./prisma/platform-next-app/schema.prisma",
    "prisma:migrate:clean-data-workers": "pnpx prisma migrate deploy --schema=./prisma/clean-data-workers/schema.prisma",
    "prisma:clean-data-workers": "pnpx prisma migrate deploy --schema=./prisma/clean-data-workers/schema.prisma",
    "generate:prisma:rawData": "pnpx prisma generate --schema ./prisma/rawData/rawData.prisma",
    "generate:prisma:esaNext": "pnpx prisma generate --schema ./prisma/platform-next-app/schema.prisma",
    "generate:prisma:cleanData": "pnpx prisma generate --schema ./prisma/clean-data-workers/schema.prisma",
    "prisma": "pnpm generate:prisma:esaNext && pnpm generate:prisma:cleanData && pnpm generate:prisma:rawData",
    "test": "pnpm -r test",
    "build": "pnpx dotenv-cli -- pnpm -r --stream build",
    "build-docker": "next experimental-compile",
    "all": "pnpm clean && pnpm -r install && pnpm prisma && pnpm run build && pnpm run dev",
    "dev": "pnpx dotenv-cli -- pnpm -r --stream dev",
    "prisma:seed:platform-next": "pnpx prisma db seed --schema=./prisma/platform-next-app/schema.prisma",
    "dev:seed": "pnpm prisma:migrate:clean-data-workers && pnpm prisma:migrate:platform-next && pnpm prisma:seed:platform-next",
    "lint": "pnpm -r lint",
    "format": "prettier --write \"**/*.{ts,tsx,md}\"",
    "clean": "rm -rf node_modules && rm -rf apps/*/node_modules && rm -rf apps/*/dist && rm -rf apps/*/.next && rm -rf out && rm -rf apps/*/.next && rm -rf packages/*/dist"
  },
  "prisma": {
    "seed": "node ./prisma/platform-next-app/seed.js"
  },
  "dependencies": {
    "@changesets/cli": "^2.27.1",
    "@prisma/client": "^5.13.0",
    "bullmq": "^5.7.5",
    "dotenv": "^16.4.5",
    "express": "^4.19.2",
    "ioredis": "^5.4.1",
    "json-stable-stringify": "^1.1.1",
    "next": "14.0.4",
    "node": "^21.7.3",
    "node-fetch": "^3.3.2",
    "pg": "^8.11.5",
    "pm2": "^5.3.1",
    "pnpm": "^9.0.6",
    "prisma": "^5.13.0",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "ts-node": "^10.9.2",
    "winston": "^3.13.0",
    "yargs": "^17.7.2",
    "zod": "^3.23.4"
  },
  "devDependencies": {
    "@nrwl/workspace": "^18.3.3",
    "@nx/eslint": "18.3.3",
    "@nx/next": "18.3.3",
    "@repo/eslint-config": "workspace:*",
    "@repo/typescript-config": "workspace:*",
    "@types/chai": "^4.3.14",
    "@types/express": "^4.17.21",
    "@types/jest": "^29.5.12",
    "@types/json-stable-stringify": "^1.0.36",
    "@types/mocha": "^10.0.6",
    "@types/node": "^20.12.7",
    "@types/supertest": "^6.0.2",
    "dotenv": "^16.4.5",
    "dotenv-cli": "^7.4.1",
    "nx": "^18.3.3",
    "prettier": "^3.2.5",
    "prettier-plugin-prisma": "^5.0.0",
    "prettier-plugin-tailwindcss": "^0.5.14",
    "ts-node": "^10.9.2",
    "typescript": "^5.4.5"
  },
  "packageManager": "pnpm@9.0.6",
  "engines": {
    "node": ">=18"
  }
}

Nx Report

n report                                                                                                                                                   

 NX   Report complete - copy this into the issue template

Node   : 21.7.3
OS     : darwin-arm64
pnpm   : 9.0.6

nx (global)      : 18.3.3
nx               : 18.3.3
@nx/eslint       : 18.3.3
@nrwl/workspace  : 18.3.3
@nx/next         : 18.3.3
@nrwl/tao        : 18.3.3
typescript       : 5.4.5

Failure Logs

n affected -t build                                                                                                                                     ✔  6s 

 NX   Affected criteria defaulted to --base=main --head=HEAD

The affected projects might have not been identified properly. The package(s) @prisma/client, bullmq, express, ioredis, node, prisma, winston, zod, @types/node, prettier-plugin-tailwindcss were not found. Please open an issue in GitHub including the package.json file.

Package Manager Version

pnpm 9.0.6

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@AgentEnder
Copy link
Member

Can you grab your pnpm lockfile as well?

@AgentEnder AgentEnder added the scope: core core nx functionality label Apr 29, 2024
@AgentEnder AgentEnder self-assigned this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: core core nx functionality type: bug
Projects
None yet
Development

No branches or pull requests

2 participants