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

Missing './utils' file from NPM package #9

Open
KennyTheBard opened this issue Jul 9, 2024 · 1 comment
Open

Missing './utils' file from NPM package #9

KennyTheBard opened this issue Jul 9, 2024 · 1 comment

Comments

@KennyTheBard
Copy link

For some reason, at least in the version on NPM, the utils script is missing, which throws an error

✘ [ERROR] Could not resolve "./utils"

    node_modules/@yaireo/react-ref-watcher/src/useWatchableListener.js:2:20:
      2 │ import {useId} from './utils'

I also checked on a clean install from NPM, where is the same case

src $ ls
index.js  propWatcher.js  useWatchableEffect.js  useWatchableListener.js  useWatchableRef.js

Otherwise thanks for the good work 👍
Looking forward to try it again sometimes!

@y-lukashevskyi
Copy link

y-lukashevskyi commented Dec 12, 2024

same here.

React 18.2

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