Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ssrPublic

Router returning a blank page with Meteor 1.6.1.1 #88

Open
@nilesh-parab

Description

@nilesh-parab

Hi,
We recently updated from Meteor 1.5.1 to 1.6.1.1. We encountered the same problem raisedhere. The problem was when Meteor updated their code forWebAppInternals.getBoilerplate to return astream as opposed tostring before.

So we temporarily fixed it by converting the stream to string & passing the string tohtml minifier used as below:

const meteorHtml = WebAppInternals.getBoilerplate(stepResults.req, WebApp.defaultArch);
let actualHTML = '';
meteorHtml.stream.on('data', (chunk) => {
actualHTML += chunk.toString();
});
meteorHtml.stream.on('end', () => {
stepResults.html = htmlMinifier.minify(actualHTML, {
removeScriptTypeAttributes: true,
removeStyleLinkTypeAttributes: true,
collapseWhitespace: true,
});
But after doing this, when we hit the application we get a blank page with console printed that we had put after the createRouter call finishes.

Can someone please help understanding what might be the cause of it or some pointers to debug the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp