-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
panic: runtime error: invalid memory address or nil pointer dereference #167
Comments
Going to look into the nil pointer issue, but i I think you want to add regardless: "build": {
"dependsOn":["^build"],
} this makes sure deps are built first. I also think you probably want to set lint's |
Hey @jaredpalmer ... I've notice that the pointer problem was caused by the {
"turbo": {
"baseBranch": "origin/main",
"pipeline": {
"lint": {
"outputs": []
},
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**",
".next",
"functions/**",
"build/**"
]
},
"test": {
"outputs": [
"coverage/**"
]
}
}
}
} |
Also ran into this issue when I had a misspecified For the sake of completeness, here's an abbreviated before/after config. In my repo, all tests depend on a shared jest config package named Failing: {
"pipeline": {
"transpile.cjs": {
"dependsOn": ["^transpile.cjs", "rust.build.ts-bindings"]
},
"test": {
"dependsOn": ["jest-config#transpile.cjs"],
"outputs": []
}
}
} working: {
"pipeline": {
"transpile.cjs": {
"dependsOn": ["^transpile.cjs", "rust.build.ts-bindings"]
},
"test": {
"dependsOn": ["@adj/jest-config#transpile.cjs"],
"outputs": []
}
}
} |
Closes vercel/web-tooling-internal#47 This recommends users opt out of ssr for now. This also cleans up a debug message in `runtime.js`.
What version of Turborepo are you using?
1.0.4
Describe the Bug
I'm trying out
turborepo
in my existing monorepo that uses pnpm workspaces, and when I define a specific packages task, I get the following error:Config
I'm not sure if my config is correct though:
What I want to accomplish
Since my
website
rely onpackages/core
andpackages/mdx-prism-2
, I want to test/build them first and only then build the website.Expected Behavior
Running the pipeline or at least getting a handled error message.
To Reproduce
The PR I'm trying this is the following: raulfdm/raulmelo-studio#1141
If this is not only a matter of configure stuff, I can try to recreate a smaller version of my repository. Even though it's open source, building rely on
.env
files.The text was updated successfully, but these errors were encountered: