Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xiaoping0x opened this issue Nov 9, 2016 · 8 comments
Open

Comments

@xiaoping0x
Copy link

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

@MadLittleMods
Copy link

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.

@mwj8410
Copy link

mwj8410 commented Mar 24, 2017

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.

@tomfirebox
Copy link

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

@schmidsi
Copy link

@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

@Exomnius
Copy link

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

@Saturate
Copy link

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.

@tdanecker
Copy link

Hi there,

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

See also my comment at #27 (comment)

@tdanecker
Copy link

I just want to inform you, that the new version has been released! (see #27 (comment))

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants