custom-forms causing error with v2 alpha
See original GitHub issueDescribe the problem:
Include the custom forms plugin, watch the build fail.
tailwindcss 2.0.0-alpha.1
🚀 Building: src/tailwind.css
🚫 TypeError: value.charCodeAt is not a function
Link to a minimal reproduction:
const forms = require("@tailwindcss/custom-forms");
module.exports = {
plugins: [forms],
};
I’m sure the response will be the same as it was in regards to #2636 , but I figured I’d file this issue anyways. I’m sure lots of people use the forms plugin, and would not assume it to create a failure that stops them from using v2.
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
NetSuite Applications Suite - SuiteScript 2.x Custom Forms
... Theme Developer Tool Overrides May Cause Error On Activation ... Associating Custom Code (Client SuiteScript) Files With Custom Forms.
Read more >Error message: The custom form cannot be opened
Error message: The custom form cannot be opened ; 1. On the Tools menu, click Options, and then click the 'other' tab. ;...
Read more >Simple Template-Driven Form Angular4 is giving error
This is a simple form with one input with one required validation. That's all. Can someone help me out? abc.component.html <form #customForm=" ...
Read more >Error 10097 - Incorrect Original Item Type - Knowledgebase
Often occurs when changing a listing from auction to fixed price. Cause: Attempting to relist from previous data. Solution: In the submission window,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m hitting the following errors when I try to update to v2. After running
npm install tailwindcss@latest postcss@latest autoprefixer@latest
I get:I tried uninstalling
/ui
and/custom-forms
but I still seem to be getting this. Anyone see something similar and solve it?Update: Ok I removed all plugins from
tailwind.config.js
rannpm uninstall tailwindcss @tailwindcss/ui autoprefixer postcss
and then ran the above command again and it worked!You should remove it from the plugins section in your tailwind.config.js file and then recompile your css and javascript