Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion install.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ systemfiles = [
process.env.NODE_UNICODETABLE_UNICODEDATA_TXT || "UnicodeData.txt", // manually downloaded
],
unicodedatafile = {
scheme: "http",
host: "unicode.org",
path: "/Public/UNIDATA/UnicodeData.txt",
method: 'GET',
Expand Down Expand Up @@ -123,7 +124,7 @@ function read_file(success_cb, error_cb) {

function download_file(callback) {
var timeouthandle = null;
console.log("%s %s:%d%s", unicodedatafile.method, unicodedatafile.host,
console.log("%s %s://%s:%d%s", unicodedatafile.method, unicodedatafile.scheme, unicodedatafile.host,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this also needs to be added below within if (proxyServer)... unicodedatafile.path = unicodedatafile.scheme + "://" + unicodedatafile.host

this would then resolve many issues on dependant projects:
dodo/node-slug#58
keystonejs/generator-keystone#129

the symptom I'm seeing is Error: Cannot find module 'unicode/category/So'

unicodedatafile.port, unicodedatafile.path);

if (proxyServer) {
Expand Down