Error hashing package files #1539
-
|
I have these scripts that I use to run the different apps in my project. I have pipeline entries created for these scripts in the
{
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
},
"lint": {
"outputs": []
},
"dev": {
"cache": false
},
"api:dev": {
"dependsOn": ["api#dev"]
},
"desk:start": {
"dependsOn": ["desktop#start"]
},
"web:dev": {
"dependsOn": ["web#dev"]
}
},
"baseBranch": "origin/main"
}top level {
"name": "...",
"version": "0.0.0",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --parallel",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"api:dev": "turbo run api:dev",
"gen": "graphql-codegen",
"desk:start": "turbo run desk:start",
"web:dev": "turbo run web:dev"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.8.0",
"@graphql-codegen/typescript": "^2.7.1",
"@graphql-codegen/typescript-resolvers": "^2.7.1",
"eslint-config-custom": "*",
"prettier": "latest",
"turbo": "latest"
},
"engines": {
"npm": ">=7.0.0",
"node": ">=14.0.0"
},
"dependencies": {
"graphql": "^15.8.0"
},
"packageManager": "npm@7.19.1"
}Whenever I run Here is my desktop {
"name": "desktop",
"version": "0.0.0",
"private": true,
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"ui": "*",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.11.44",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"tsconfig": "*",
"typescript": "^4.7.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}I'm not sure what I am missing. Please help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The issue here is this part of your That |
Beta Was this translation helpful? Give feedback.
The issue here is this part of your
turbo.json:That
desktop#startis referring to a specific task name, so it needs an entry in your turbo.json. I see that astartscript exists in thedesktoppackage.json, but you also need this in turbo.json. Adding this should do it: