Skip to content

Elysia 1.3: 'elysia/utils' does not provide an export named 'getSchemaValidator' #40

Description

@boredland

What version of Elysia is running?

1.3

What version of Node Adapter are you using?

1.2.6

What platform is your computer?

No response

What steps can reproduce the bug?

use the node adapter via new Elysia({ adapter: node() })

What is the expected behavior?

a working instance of elysia.

What do you see instead?

xxx/node_modules/@elysiajs/node/dist/index.mjs:619
import { getSchemaValidator, isNotEmpty as isNotEmpty2, randomId } from "elysia/utils";
         ^^^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'elysia/utils' does not provide an export named 'getSchemaValidator'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:180:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:263:5)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)

Additional information

No response

Have you try removing the node_modules and bun.lockb and try again yet?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions