Skip to content

Regression in @swc-node/[email protected] #772

Description

@Yovach

Hi,

I'm using the ws package and I was able to run my project in @swc-node/[email protected] but I've tried to upgrade to @swc-node/[email protected] and I'm getting the following error :

file:///home/quentin/labs/regression-swc-node-register/node_modules/.pnpm/[email protected]/node_modules/ws/wrapper.mjs:2
import Receiver from './lib/receiver.js';
       ^^^^^^^^
SyntaxError: The requested module './lib/receiver.js' does not provide an export named 'default'

And the reproduction https://github.com/Yovach/regression-swc-node-register

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions