mgrabina
This is not the tsc command you are looking for
I have two projects with exact similar configuration and versions and one started to throw
npm WARN exec The following package was not found and will be installed: [email protected]
25.28
25.28
25.28 This is not the tsc command you are looking for
25.28
25.28 25.28 To get access to the TypeScript compiler, tsc, from the command line either: 25.28 25.28 - Use npm install typescript to first add TypeScript to your project before using npx 25.28 - Use yarn to avoid accidentally running code from un-installed packages No changes were made. Any ideas?
25.28 This is not the tsc command you are looking for
25.28
25.28 25.28 To get access to the TypeScript compiler, tsc, from the command line either: 25.28 25.28 - Use npm install typescript to first add TypeScript to your project before using npx 25.28 - Use yarn to avoid accidentally running code from un-installed packages No changes were made. Any ideas?
21 replies
Dependencies Install failing for yarn + prisma/client
Hey there! This is what I am getting in deployment logs (file attached).
config:
╔════════════════════ Nixpacks v1.19.0 ═══════════════════╗
║ setup │ nodejs_21, yarn-1_x, openssl ║
║─────────────────────────────────────────────────────────║
║ install │ npm install -g corepack && corepack enable ║
║ │ yarn install --frozen-lockfile ║
║─────────────────────────────────────────────────────────║
║ build │ yarn build ║
║─────────────────────────────────────────────────────────║
║ start │ yarn start ║
╚═════════════════════════════════════════════════════════╝
package.json:
{
"packageManager": "[email protected]",
"scripts": {
"..."
},
"dependencies": {
"@prisma/client": "4.9.0",
"..."
},
"devDependencies": {
"prisma": "4.9.0",
"...",
},
"prisma": {
"seed": "ts-node ./prisma/seed.ts"
},
"engines": {
"node": ">=18.17.1"
}
}
(this is a monorepo, and I added a specific yarn.lock in the folder of the package.json)
Any ideas? Honestly I don't know what else to try since it is a pretty standard set up 😢
Thanks in advance!!!
59 replies