node-unicodetable icon indicating copy to clipboard operation
node-unicodetable copied to clipboard

Can you put copy of UnicodeData.txt into package as fallback solution

Open xiaoping0x opened this issue 9 years ago • 8 comments

Because company firewall, I can not download data. fallback solution will done.

xiaoping0x avatar Nov 09 '16 02:11 xiaoping0x

Another reason to include is because unicode.org:80/Public/UNIDATA/UnicodeData.txt is timing out currently.

try to read file UnicodeData.txt … UnicodeData.txt not found. try to download … GET unicode.org:80/Public/UNIDATA/UnicodeData.txt Error while downloading UnicodeData.txt: Error: connect ETIMEDOUT 216.97.88.9:80 Please download file manually, put it next to the install.js file and run node install.js again.

MadLittleMods avatar Mar 23 '17 23:03 MadLittleMods

It's been breaking our builds intermittently for 2 days now. We had to remove the modules that depended on this package because it has such a low likelihood of being repaired based on the maintainer's activity.

For us, this package was 4 dependencies deep.

mwj8410 avatar Mar 24 '17 00:03 mwj8410

Is this temporarily fixed by downloading the UnicodeData.txt file and setting the NODE_UNICODETABLE_UNICODEDATA_TXT variable?

tomfirebox avatar Mar 24 '17 09:03 tomfirebox

@tomhvy yes!

We solved it by downloading UnicodeData.txt from github.com/openjdk-mirror and setting the NODE_UNICODETABLE_UNICODEDATA_TXT environment variable locally.

For Mac OS X it works like this: Add a new line to ~/.bash_profile with the following content:

export NODE_UNICODETABLE_UNICODEDATA_TXT=/PATH/TO/UnicodeData.txt

(Replace "PATH/TO" with the actual path 😉)

That said, I am unhappy with the package ATM regarding this issue and the security problems that this behaviour introduces, discussed here: #27

schmidsi avatar Mar 24 '17 10:03 schmidsi

Same issue. Since 2 days our build environment on AWS gets a timeout while retrieving the unicodeData.txt. Thanks @schmidsi for the temporary solution.

Exomnius avatar Mar 24 '17 11:03 Exomnius

We got blocked from the UNICODE website due to a large amount of downloads for this file. So it's a good idea to embed it in this project, as all our builds stopped working.

Saturate avatar Mar 27 '17 07:03 Saturate

Hi there,

I'm trying to escalate the issue to the npmjs support team.

See also my comment at https://github.com/dodo/node-unicodetable/issues/27#issuecomment-289486250

tdanecker avatar Mar 27 '17 15:03 tdanecker

I just want to inform you, that the new version has been released! (see https://github.com/dodo/node-unicodetable/issues/27#issuecomment-291469699)

If you maintain any packages depending on this one, you can update to the new version. The slug package should update automatically.

tdanecker avatar Apr 04 '17 11:04 tdanecker