-
Notifications
You must be signed in to change notification settings - Fork 7
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 and require not working #17
Comments
I've updated the package.json in the node_modules folder to contain:
It is now working but it seems to me that changing a file in the node_modules folder probably should not be the fix for everyone. |
hey @Apsysikal we have an issue for that: #13 |
so I did that, but import {
generateRandomColorRamp
} from 'fettepalette';
console.log(generateRandomColorRamp) // => undefined at least with parcel.js |
I don't work with parcel. So i can't give you any input on that. It fixed it for my use case, which is generating some hex codes from the command line with a little js file. You could leave this issue open for other people with the same problem. |
I installed it via npm and wether i import or require the module I always get errors.
I tried it via the „Try on runkit“ button on npm. It fails there aswell. Is there something I‘m missing?
The text was updated successfully, but these errors were encountered: