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

Export Error "hrtime" in typescript Vite Application #676

Closed
martinfruehmorgen opened this issue Jun 9, 2022 · 2 comments
Closed

Export Error "hrtime" in typescript Vite Application #676

martinfruehmorgen opened this issue Jun 9, 2022 · 2 comments

Comments

@martinfruehmorgen
Copy link

Hello,

using
"feathers-hooks-common": "^6.1.2",

with node version 16.15.1 in a vite vue application (typescript) I get the following error:


No matching export in "browser-external:process" for import "hrtime"

node_modules/feathers-hooks-common/dist/index.mjs:918:9:
  918 │ import { hrtime } from "process";

I am using feathers-hooks-common like this:
import { paramsForServer } from 'feathers-hooks-common'

Thanks!
Martin

@fratzinger
Copy link
Collaborator

Hey Martin 👋,

thanks for the issue. It should be fixed in version feathers-hooks-common@6.1.3. Please try and let me know.

@martinfruehmorgen
Copy link
Author

Hello,

thanks! With 6.1.3 the issue is fixed!

Thanks again,
Martin

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