Skip to content

Missing the declaration of UI in packages/iron_router.js #1

@nthuTYChen

Description

@nthuTYChen

This is what I got in my Meteor app after upgrading to v1.20 forked here:
ReferenceError: UI is not defined at packages/iron_router.js:1118:1 at packages/iron_router.js:1259:4 at packages/iron_router.js:1463:3 at /home/shaferain/xxxxxxx/.meteor/local/build/programs/server/boot.js:401:38 at Array.forEach (<anonymous>) at /home/shaferain/xxxxxxx/.meteor/local/build/programs/server/boot.js:226:21 at /home/shaferain/xxxxxxx/.meteor/local/build/programs/server/boot.js:464:7 at Function.run (/home/shaferain/xxxxxxx/.meteor/local/build/programs/server/profile.js:280:14) at /home/shaferain/xxxxxxxx/.meteor/local/build/programs/server/boot.js:463:13 Exited with code: 1 Your application is crashing. Waiting for file change.
And after comparing to the same file in v1.1.2, I believe that it was this line missing in packages/iron_router.js:
var UI = Package.blaze.UI;

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