-
Notifications
You must be signed in to change notification settings - Fork 96
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
Development issue #7
Comments
I guess I'm not sure exactly what you are trying to do. What happens if you replace |
I cloned your repo, built it and simply changed, import createPersistedState from 'use-persisted-state'; to import createPersistedState from './use-persisted-state'; and the error happens. It works perfectly fine if I use the NPM version. It only happens when I git clone your repo. How do I contribute if I cannot run it off of npm? :D |
sounds like you need to correct the path you are using to match the repository structure (which looks standard): import createPersistedState from './use-persisted-state/src' |
Using the package on development mode from the git repo does not work.
yarn run dev
. It does not throw any error on console.yarn run test
. It does not throw any error on console.It means it's built properly, right?
But,
import createPersistedState from 'use-persisted-state'
.import createPersistedState from './use-persisted-state'
. It throws the following error,I found no contribution guide so maybe I did not do it the right way.
The text was updated successfully, but these errors were encountered: