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

Update packages and translations #10170

Closed
wants to merge 2 commits into from

Conversation

timvandermeij
Copy link
Contributor

No description provided.

@timvandermeij
Copy link
Contributor Author

/botio-windows preview

@timvandermeij
Copy link
Contributor Author

/botio-linux preview

@timvandermeij
Copy link
Contributor Author

/botio-linux preview

@mozilla mozilla deleted a comment from pdfjsbot Oct 21, 2018
@mozilla mozilla deleted a comment from pdfjsbot Oct 21, 2018
@timvandermeij
Copy link
Contributor Author

/botio preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/949a40a3f6e111c/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.215.176.217:8877/74d5b24449b22ef/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/949a40a3f6e111c/output.txt

Total script time: 2.97 mins

Published

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/74d5b24449b22ef/output.txt

Total script time: 4.35 mins

Published

@timvandermeij
Copy link
Contributor Author

What? I even removed the commit about updating packages and the preview still fails, but it works locally.

@timvandermeij timvandermeij deleted the updates branch October 21, 2018 14:41
@Snuffleupagus
Copy link
Collaborator

Snuffleupagus commented Oct 21, 2018

Most likely the problems are caused by the new Webpack version, since comparing the output of gulp generic with/without this patch highlights one important difference:

--- \master\build\pdf.js
+++ \patch\build\pdf.js
@@ -7794,7 +7794,7 @@
       require.ensure = require('node-ensure');
     }
     useRequireEnsure = true;
-  } else if (typeof require !== 'undefined' && typeof require.ensure === 'function') {
+  } else if (true && typeof require.ensure === 'function') {
     useRequireEnsure = true;
   }
   if (typeof requirejs !== 'undefined' && requirejs.toUrl) {

Either there's a regression in the new Webpack version, see the release info at https://github.com/webpack/webpack/releases, and/or there's something wrong with the bundle definitions in our gulpfile.js.

timvandermeij added a commit to timvandermeij/pdf.js that referenced this pull request Oct 23, 2018
Webpack is pinned because versions higher than this cause the viewer not
to work (see mozilla#10170 (comment)).
timvandermeij added a commit to timvandermeij/pdf.js that referenced this pull request Oct 23, 2018
Webpack is pinned because versions higher than this cause the viewer not
to work (see mozilla#10170 (comment)).
timvandermeij added a commit to timvandermeij/pdf.js that referenced this pull request Oct 23, 2018
Webpack is pinned because versions higher than this cause the viewer not
to work (see mozilla#10170 (comment)).

Node.js is pinned for Travis CI because version 11 requires that we
update to Gulp 4.
@wojtekmaj
Copy link
Contributor

How about updating to 4.21.0 first to narrow down which version has caused the issue?

@timvandermeij
Copy link
Contributor Author

In the end (in another pull request) I did that (see https://github.com/mozilla/pdf.js/blob/master/package.json#L40) and 4.21.0 was the last one that didn't have the issue. I created #10177 to follow up on this.

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

Successfully merging this pull request may close these issues.

4 participants