Open ghost opened 6 years ago
Heya @Dans-io,
interesting. Is this for React-Native? I haven't quite encountered this myself yet. Sorry for all the trouble here.
Negative. This is plain React where, before deploying, you normally wanna run the command npm run build
which serves to minify all code. That's when I get this error.
Perhaps @zurawiki can help us yet again?
In any case, this isn't urgent. Thanks for the reply and help Niel & Roger.
Hello again.
I was trying to use Hanzi with React where, to deploy, you must first run the command
npm run build
.I got the following error when doing so:
Failed to minify the code from this file: ./node_modules/hanzi/lib/data/cedict_ts.u8.js:1
Upon research, I found this issue where it is said that
So, with my very limited knowledge, I'm guessing there's no easy fix here? And it actually requires a lot of work to make these changes?
Just posting in case I'm wrong. But if I'm not. That's okay too.
Thank you Niel for being so patient with me.