Comments (5)
This bug only seems to be impacting Intel-based macs.
It is possible this is related to a gotcha for PNPM users who specify their workspace packages with double star globs
from turbo.
I just came across the similar problem
And it works with single star.
When using double star globs, it seems all the node_module build script will be executed
from turbo.
Doublestar bug: #32
from turbo.
My current monorepo uses npm and I didn't set up the workspaces, I used to use lerna bootstrap
because I was jumping between Node 14 and Node 16. The former is where tap
unit test coverage works, but only the latter supports workspaces.
Anyway, until I set up npm workspaces, I was getting 0 cached, 0 total
too! Turbo was ending in 100ms. For context, my 120 packages build on Lerna with --concurrency 1
takes around an hour.
Whoever is on npm and getting 0 total
, ensure you've got workspaces set up, use engines
to enforce Node 16:
// root package.json
+ "workspaces": [
+. "packages/*"
+ ],
+ "engines": {
+ "node": ">=16.0.0"
+ },
from turbo.
Going to close this but also tie it to #180 and #32
from turbo.
Related Issues (20)
- Minor: turbo/examples /with-svelte/ - Remove deprecated prettierrc option: pluginSearchDirs HOT 1
- Turborepo panics when Ctrl-Cing HOT 2
- Turbo runs fewer tasks than it should and reports questionable summaries HOT 15
- Inputs including invalid files per wildcard HOT 5
- Turbo daemon uses 100% CPU even when no tasks are running HOT 9
- Turbo --filter builds all the packages when a new workspace is added HOT 3
- Examples: `with-nestjs` example implementation HOT 2
- Resolve Alias not working same as webpack
- If dependsOn is missed and a workspace dependency changes, there s no cache miss HOT 2
- Watch-mode not rebuild dependent packages when package changes HOT 23
- Turborepo doesn't work with pnpm v9 HOT 3
- `turbo-ignore` do not work on a single repo HOT 5
- Docs: importing internal packages to node-js application
- Docs: Dependency Confusion Attack HOT 1
- $TURBO_DEFAULT$ doesn't work as default anymore in 1.13.3 HOT 2
- Unsupported URL Type "workspace:": workspace:* using npm or yarn HOT 2
- Turbo daemon interrupts `git rebase` with git lock file HOT 5
- `turbo prune` broken w/ pnpm@v9 lockfile using injected dependencies
- Linting plugin stopped working in 2.0.0-canary.0 HOT 4
- Import aliases using paths aren't working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turbo.