mmdevries / eiows

Other
78 stars 4 forks source link

Non-specified types #23

Closed Ashu11-A closed 2 months ago

Ashu11-A commented 2 months ago

There are types at '/home/ashu/Documents/GitHub/Fragment-source/core/node_modules/eiows/dist/eiows.d.ts', but this result could not be resolved when respecting package.json "exports". The 'eiows' library may need to update its package.json or typings.

Ashu11-A commented 2 months ago

Fix this:

import eiows from 'eiows'
       ^

SyntaxError: The requested module 'eiows' does not provide an export named 'default'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:134:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:217:5)
    at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)