mgrabina
This is not the tsc command you are looking for
{
"version": "0.0.2",
"scripts": {
"build": "shx rm -rf build && tsc -p tsconfig.json && yarn export-types",
"start": "node build/src/index.js",
},
"dependencies": {
...
"typescript": "5.2.2",
},
"devDependencies": {
...
},
"prisma": {
"seed": "ts-node ./prisma/seed.ts"
},
"engines": {
"node": "18"
}
}
21 replies
This is not the tsc command you are looking for
╔════════════════════ Nixpacks v1.20.0 ═══════════════════╗
║ setup │ nodejs_18, yarn-1_x, openssl ║
║─────────────────────────────────────────────────────────║
║ install │ yarn -v && yarn install --check-cache ║
║─────────────────────────────────────────────────────────║
║ build │ yarn build-relayer && yarn migrate-relayer ║
║─────────────────────────────────────────────────────────║
║ start │ yarn start-relayer ║
╚═════════════════════════════════════════════════════════╝
21 replies
Dependencies Install failing for yarn + prisma/client
managed to make it work, by reading the code of nixpacks.
basically I provided it all (.yarn/release, .yarnrc.yml and a basic .toml choosing the install command)
Now I am using the latest yarn version and running from the root.
Thank you so much for all your help.
59 replies
Dependencies Install failing for yarn + prisma/client
╔═════════════ Nixpacks v1.19.0 ════════════╗
║ setup │ nodejs_18, yarn-1_x, openssl ║
║───────────────────────────────────────────║
║ install │ yarn install --omit-dev ║
║───────────────────────────────────────────║
║ build │ yarn build-backend ║
║───────────────────────────────────────────║
║ start │ yarn start-backend ║
╚═══════════════════════════════════════════╝
59 replies
Dependencies Install failing for yarn + prisma/client
So:
- set root to /package/backend
- set .yarnrc.yml: yarnPath: .yarn/releases/yarn-3.2.4.cjs
- set packageManager in each package.json
- set the yarn release file in .yarn/releases
-even added the nixpacks.tml =
[phases.install]
cmds = ["yarn install --omit-dev"]
still does not recognize the version of yarn to run.
I need to use other than yarn 1
59 replies