CT3A & turbo
Hi all.
Anybody run into this error when trying to run the project with --turbo:
error - node_modules/.pnpm/[email protected]/node_modules/node-gyp-build/node-gyp-build.js:22:10 Error resolving commonjs request
20 |
21 | function load (dir) {
> 22 | return runtimeRequire(load.resolve(dir))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 23 | }
| ^
24 |
25 | load.resolve = load.path = function (dir) {
26 | dir = path.resolve(dir || '.')
unable to resolve dynamic
It was not possible to find the requested file.
Parsed request as written in source code: dynamic
Path where resolving has started: [project]/node_modules/.pnpm/[email protected]/node_modules/node-gyp-build/node-gyp-build.js
Type of request: commonjs request
Import map: No import map entry
package.json:
{
"name": "clyent_app",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "next build",
"dev": "next dev",
"dev:turbo": "next dev --turbo",
"lint": "next lint",
"start": "next start",
"db:seed": "dotenv tsx ./src/db/seed.ts",
"db:push": "dotenv drizzle-kit push:pg",
"drizzle:studio": "dotenv drizzle-kit studio"
},
"dependencies": {
"@auth/drizzle-adapter": "^0.3.5",
"@hookform/resolvers": "^3.3.2",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-slot": "^1.0.2",
"@t3-oss/env-nextjs": "^0.7.1",
"@tanstack/react-query": "^5.0.5",
"@trpc/client": "^10.43.0",
"@trpc/next": "^10.43.0",
"@trpc/react-query": "^10.43.0",
"@trpc/server": "^10.43.0",
"@vercel/postgres": "^0.5.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"drizzle-orm": "^0.28.6",
"lucide-react": "^0.290.0",
"next": "^14.0.0",
"next-auth": "^4.24.3",
"next-themes": "^0.2.1",
"pg": "^8.11.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.47.0",
"superjson": "^2.2.0",
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/eslint": "^8.44.6",
"@types/node": "^20.8.9",
"@types/pg": "^8.10.7",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"autoprefixer": "^10.4.16",
"dotenv": "^16.3.1",
"dotenv-cli": "^7.3.0",
"drizzle-kit": "^0.19.13",
"eslint": "^8.52.0",
"eslint-config-next": "^14.0.0",
"eslint-config-prettier": "^9.0.0",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.6",
"tailwindcss": "^3.3.5",
"tsx": "^3.14.0",
"typescript": "^5.2.2"
},
"ct3aMetadata": {
"initVersion": "7.22.0"
},
"packageManager": "[email protected]"
}
0 Replies