I ran into a snag a month or two ago while updating NPM, and I had to revert to the version I was using originally. I thought I got it all figured out, but clearly I didn't as you're about to see.
At the time this occurred, I was paused on my first Turborepo project (a work project, but I work from home so it's all on a single machine), so I didn't check to see how it had been impacted. Now I'm finding the mess, and I'm not sure how to fix it.
When executing turbo dev at the root of the repo, I get several errors, the first of which is this:
WARNING Issues occurred when constructing package graph. Turbo will function, but some features may not be available: × Could not resolve workspaces. ├─▶ Unable to convert from json: missing field `packages` at line 68 column 1 ╰─▶ missing field `packages` at line 68 column 1Aside from the NPM mess I made, I didn't change anything else in my Turborepo setup. I'm not sure where to locate "line 68 column 1" to try and fix this, as it didn't list a filename with that error.
FWIW I'm pretty comfortable coding apps, but I'm not the best at doing stuff in the terminal (as evidenced by the NPM mess I made), so please be patient with me.