Closed wootra closed 11 months ago
BTW, this article is what I found from googling : https://stackoverflow.com/a/69489832
I found 0.3.1 version is working as expected. seems like this is a problem with 0.4.1 version.
looks like this project is using turborepo and should follow certain setup process to deploy individual package into npm. https://turbo.build/repo/docs/handbook/publishing-packages
https://turbo.build/repo/docs/handbook/publishing-packages/bundling https://turbo.build/repo/docs/handbook/publishing-packages/versioning-and-publishing
Thank you @wootra for checking this. You are completely right about the turborepo. I made a big mistake when releasing the last version. I normally use lerna publish
for it, but this time I got a network error, so I published the packages manually one by one, but I didn't realize it wouldn't rewrite the workspace versions.
I have just released 0.4.2, it should work fine now.
this issue is fixed on 0.4.2, so I am closing it. thanks for the fast address!
Where the bug happens
your browser
No response
Describe the bug
I'm trying to use locator.js. (2023/09/22) by running
npm install -D @locator/babel-jsx
following the instruction of https://www.locatorjs.com/install/react-data-id page. my node/npm version is "node": "16.20.2", "npm": "8.19.4"tried multiple versions/option, but none of them works returning this error:
I googled a little about this issue, found it this problem solves when I use yarn ( or pnpm ). using pnpm didn't have a luck, but for yarn, it actually asked me what workspace I will use, and when I choose it, it started working as expected.
But In my company, changing a package manager is not a easy decision. Is it really only one way that I can fix this problem?