You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same problem. The NPM version doesn't have 'module.exports' for some reason so you can't require it. Either dive into the node_modules folder and find the JIC.js file and replace 'var jic =' with 'module.exports =' or else copy the code and place into your script like any other function.
I'm importing it like:
import jic from 'j-i-c';
but I get this error when trying to use it:_jIC2.default.compress is not a function
The text was updated successfully, but these errors were encountered: