Comments (9)
If you are using next.js, maybe try this:
const nextConfig = {
transpilePackages: ['mui-color-input'],
}
module.exports = nextConfig
from mui-color-input.
Hummm are u sure about version 2.0.2 ? Do you have a link for repro ?
from mui-color-input.
89e2c58 Only thing I changed in 2.0.3
from mui-color-input.
Well seems like nothing basically changed by I'm having the issue nonetheless. Both on local env and acc env 2.0.3 doesn't work. I first tried to roll back to 2.0.1 that was working and then to 2.0.2 that worked as well. No repro unfurtunatly since that happens during the build
from mui-color-input.
I have the same problem and rolling back to version 2.0.2 helped. The error is not occuring anymore.
But I saw one little thing...
I use next.js and tried to import the module dynamically, but that got me an error at version 2.0.2...
The error was "Module not found: Default condition should be last one".
Maybe this could help you?
from mui-color-input.
I have the same problem and rolling back to version 2.0.2 helped. The error is not occuring anymore.
But I saw one little thing...
I use next.js and tried to import the module dynamically, but that got me an error at version 2.0.2... The error was "Module not found: Default condition should be last one".
Maybe this could help you?
This error is fixed in 2.0.3 🙂
from mui-color-input.
If you are using next.js, maybe try this:
const nextConfig = { transpilePackages: ['mui-color-input'], } module.exports = nextConfig
I can confirm @viclafouch' solution works. Thanks!
from mui-color-input.
Ah thank you very much @viclafouch for the solution!!! ^-^
from mui-color-input.
Maybe that will help someone, in my case I had to add 'mui-color-input' to withTM
const withTM = require('next-transpile-modules')([
...,
'mui-color-input',
]);
from mui-color-input.
Related Issues (20)
- Conflict with JoyUI HOT 1
- Module parse failed: Unexpected token HOT 2
- please add ability to move ColorButton from start[left] to end[right] HOT 1
- MUI createTheme_default is not a function HOT 2
- Doesn't work with react 17.0.2 HOT 1
- Unit test failing HOT 1
- Bad type import/export within the bundled package
- Support for select multiple colors HOT 1
- JEST - SyntaxError: Cannot use import statement outside a module HOT 2
- onPopoverClosed/onPopoverOpened props to improve performance
- Free type in color like demo
- Automatic Text Field Focus on Popover Close: A Mobile Usability Issue HOT 3
- 2.0.1 doesn't work on NextJS 14.0.4 HOT 3
- Documented behaviour differs from actual behaviour ("format" prop) HOT 1
- Error: Default condition should be last one HOT 4
- onPopupClosed HOT 2
- The second slider is not working.
- color space has wrong values in rtl HOT 5
- Allow for undefined instead of fallback color value HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-color-input.