Comments (2)
Upgrade to latest version: yarn add @swc-node/[email protected]
and try again
from swc-node.
Thanks. That fixed the reported issue.
from swc-node.
Related Issues (20)
- Regression: `@swc-node/[email protected]` doesn't handle default exports properly
- `@swc-node/[email protected]` `/esm-register` does not recognise `tsconfig.json` paths HOT 7
- controlling swc's lazy module flag
- TypeError [ERR_IMPORT_ASSERTION_TYPE_MISSING] <file> needs an import attribute of type "json" HOT 1
- SWC does not transpile on Windows if tsconfig.json is present in cwd where the cmd is ran HOT 3
- [register] Cannot find package 'typescript
- Path aliases not working on ESM modules HOT 1
- Using `@swc-node/register` with Mocha leads to errors HOT 4
- Perf?
- @swc/core 1.4.12 break @swc-node/register/esm-register
- Register does not transpile node_module dependencies HOT 4
- Not working for commonjs typescript that uses js extensions in local imports
- Regression in `@swc-node/[email protected]` HOT 10
- Unable to use 2022-03 decorators with swc-node/register HOT 1
- Unable to use JSON modules with `@swc-node/register`
- Unable to import .js files with matching .d.ts files using `@swc-node/register` HOT 2
- Error when using swc-node esm with mocha
- Cannot find module './swc.darwin-universal.node' when debugging with `skipFiles` option in VS Code HOT 1
- Using `@swc-node/register` with Mocha leads to errors
- Version 1.9.1 is not working with ESM HOT 11
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-node.