Comments (16)
The latest tag is now 1.5.7
from swc.
PLEASE UNPUBLISH @swc/[email protected]
FIRST!!!
from swc.
To resolve this, fix the version of "@swc/core": "1.5.7"
. No caret(^)
"dependencies": {
"@swc/core": "1.5.7"
}
If @swc/core is not installed, install version 1.5.7:
npm install @swc/[email protected]
# or
yarn add @swc/[email protected]
# or
pnpm install @swc/[email protected]
from swc.
76b4de1 would fix it, but I'll close this issue after verifying that it works.
from swc.
I'm trying my best. And normally, you don't need overriding because the latest
tag of npm is 1.5.7
from swc.
@kdy1 Overriding is still necessary if @swc/core
's version is defined as a version range (e.g. ^1.5.7
). Then, it doesn't matter which version is tagged with latest
. The package manager yarn (v4) will install the latest available stable version that is published (as of now 1.5.20 - which is borked as well). This is an issue at Storybook because @swc/core
is a transitive dependency, and we have to publish new versions of our packages so that our users will not run into issues.
// from the `yarn.lock`
"@swc/core@npm:^1.5.7":
version: 1.5.20
resolution: "@swc/core@npm:1.5.20"
...
from swc.
Finally it's fixed.
from swc.
I'm guessing that is the cause for pnpm/pnpm#6603 (comment) ?
ERR_PNPM_WORKSPACE_PKG_NOT_FOUND In : "@swc/types@workspace:^" is in the dependencies but no package named "@swc/types" is present in the workspace
Most likely, I'm having the same issue
from swc.
I'm guessing that is the cause for pnpm/pnpm#6603 (comment) ?
ERR_PNPM_WORKSPACE_PKG_NOT_FOUND In : "@swc/types@workspace:^" is in the dependencies but no package named "@swc/types" is present in the workspace
from swc.
looks like the way publishing worked in swc changed maybe some hooks are no longer running as expected? v1.5.11...main
from swc.
Ran into the same problem, did you use npm directly when publishing
from swc.
@Aarebecca Yeap, exactly. I changed it to use yarn npm publish
and triggered a new release
from swc.
@kdy1 any thoughts on using pnpm
I've found using it for monorepo management to be a lot easier especially around publishing
from swc.
from swc.
Same here
![image](https://private-user-images.githubusercontent.com/13417006/334319979-13fb2e9f-990a-4dc9-9fc2-fbaeca7bf9c6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc2MDkwMjAsIm5iZiI6MTcxNzYwODcyMCwicGF0aCI6Ii8xMzQxNzAwNi8zMzQzMTk5NzktMTNmYjJlOWYtOTkwYS00ZGM5LTlmYzItZmJhZWNhN2JmOWM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjA1VDE3MzIwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNkZTI0OGExMDk3ODJhYTRjMzJiYWQ4ZWNkMTNiMGJlZGFmNTNmMzU1OGZmYmY1NzFiNzA0Yjc0MWYwMTcxM2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1LzTzBv2bH5-G3_N7ahW3Rr9djtffHB6xpteavLQGwo)
from swc.
Will this issue be resolved soon ? Or I'll just do update using "resolutions": {"@swc/core":"1.5.7"}
from swc.
Related Issues (20)
- SWC compression breaks when custom template literals are used.
- Why can't comments be found after parsing HOT 1
- Unable to use 'in my stats' from browserslist HOT 2
- Version 1.5.11 Installation Issue HOT 1
- Getting error while doing npm install HOT 1
- Setting `importAttributes` in jsc.parser forcely outuput CommonJS HOT 4
- Arrow functions inside of getters/setters on object literals use the wrong `this`
- Error: Cannot find module './binding.js' HOT 5
- Cannot find module './binding.js' - v1.5.20 HOT 10
- connot find module '@swc/core/VIsitor.js' HOT 1
- minifier: Evaluates value of `Math.min`/`Math.max` incorrectly in different argument order
- minifier: invalid index access evaluation of string represented with surrogate pairs
- minifier: `(-0)`.toString() is `"0"`, not `"-0"`. HOT 3
- minifier: string concatenation with `-0` should be evaluated as concat with `0` HOT 1
- Mangle function name duplicate with parameter names HOT 2
- [SWC-CLI] Cannot install CLI on MacOS Silicon HOT 1
- CLI install on MacOS with Apple Silicon HOT 7
- RuntimeError: unreachable
- Class member has empty decorators array HOT 8
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 swc.