Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import pkg from '@feathersjs/errors'; const { BadRequest } = pkg; #671

Closed
joacub opened this issue Jun 3, 2022 · 1 comment
Closed

import pkg from '@feathersjs/errors'; const { BadRequest } = pkg; #671

joacub opened this issue Jun 3, 2022 · 1 comment

Comments

@joacub
Copy link

joacub commented Jun 3, 2022

Error in import when main project is type: module

import pkg from '@feathersjs/errors';
const { BadRequest } = pkg;

feathers-hooks-version 6.11.1

@fratzinger
Copy link
Collaborator

duplicate of #673

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants