question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Undocumented breaking change in v20170423: missing externs?

See original GitHub issue

Reported in https://github.com/alexeagle/closure-compiler-angular-bundling/issues/30#issuecomment-300364464:

Upgrading from v20170409 to v20170423 breaks my program:

node_modules/@angular/core/@angular/core.js:5607: ERROR - variable System is undeclared
        return System.import(module)
               ^^^^^^

node_modules/@angular/platform-browser/@angular/platform-browser.js:3091: ERROR - variable Hammer is undeclared
        const /** @type {?} */ mc = new Hammer(element);
                                        ^^^^^^

node_modules/moment/moment.js:8: ERROR - variable module is undeclared
    typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
                                          ^^^^^^

node_modules/moment/moment.js:9: ERROR - variable define is undeclared
    typeof define === 'function' && define.amd ? define(factory) :
           ^^^^^^

node_modules/moment/moment.js:399: ERROR - variable require is undeclared
                require('./locale/' + name);
                ^^^^^^^

node_modules/rxjs/util/root.js:8: ERROR - variable global is undeclared
else if (typeof global == 'object' && global.global === global) {
                ^^^^^^

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
hallyacommented, Apr 17, 2019

Yeah its still a problem…

1reaction
simonsarriscommented, Jan 5, 2018

Why was this closed? Is the original issue, e.g.

node_modules/rxjs/util/root.js:8: ERROR - variable global is undeclared
else if (typeof global == 'object' && global.global === global) {
                ^^^^^^

No long a problem?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What the 2022 Midterms Taught Us About Immigration Reform
Massachusetts voters resoundingly upheld a new law that allows undocumented immigrants to apply for driver's licenses, a key measure for ...
Read more >
New Report Based on 3000 Legal Screenings of ...
New Report Based on 3,000 Legal Screenings of Undocumented Immigrants. Today, Immigrants Rising released a report containing groundbreaking data on undocumented ...
Read more >
U.S. Citizen Children Impacted by Immigration Enforcement
This fact sheet provides an overview of the children who are impacted by immigration enforcement actions, the challenges and risk factors that these...
Read more >
Evaluating the Impact of Immigration Policies on Health Status ...
Law or Immigration Policy Length Domains Immigration Policies N/A Access to health services Immigration Policy N/A Access to health services California's Proposition 187 From October 1996...
Read more >
Migrants Left in Limbo After Policy Change to Help Busy ...
Republicans say the new policy helps undocumented immigrants disappear; many immigrants say it has prevented them from following the government ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found