Skip to content
This repository was archived by the owner on Nov 27, 2022. It is now read-only.
This repository was archived by the owner on Nov 27, 2022. It is now read-only.

asynciterator import error #33

@RyanFleck

Description

@RyanFleck
import React from "react";
import { LoggedIn, LoggedOut } from "@solid/react";

Attempting to import LoggedIn and LoggedOut in a normal way, and running the react development start script causes this error:

./node_modules/asynciterator/asynciterator.mjs
Can't import the named export 'EventEmitter' from 
    non EcmaScript module (only default export is available)

This may not be a common error, but I'm attempting to use the Solid-React component libraries alongside a webpack project, and that may be interfering with the imports.

The repository with the issue is https://github.com/millenniallglyphs/rm-components

Version information

  • Node.js Version: v14.1.0
  • yarn Version: 1.22.4
  • OS: Windows 10 React Start
  • Browser: Brave

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions