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.

4.2.2 broken on Node

See original GitHub issue

Node.js Version:

v12.13.0

Operating System:

18.7.0 Darwin Kernel Version 18.7.0 Same results one Docker node:12, node:12-alpine, node:12-slim

Steps to Produce Error:

Attempting to import the lib as a dependency errors with:

.../node_modules/opossum/dist/webpack:/circuitBreaker/webpack/universalModuleDefinition:10
})(window, function() {
 ^
ReferenceError: window is not defined
...

I assume this is related to https://github.com/nodeshift/opossum/pull/384 (webpack - set entrypoint to dist/opossum.js) fyi: @tavogel @lholmquist @lance

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lholmquistcommented, Jan 3, 2020

well crap. I’ve reverted that commit and published a new version 4.2.3-0 under the “canary” tag in npm, @mNalon @mastermatt, would you mind trying that version, if it is ok, then i’ll release a real updated version with that commit #384 reverted.

0reactions
lholmquistcommented, Jan 3, 2020

fixed released as 4.2.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node v4.2.0 (LTS)
Developers can easily determine if they are working with an LTS version of Node.js by checking the process.release.lts property within node.
Read more >
nodejs 4.2.6 not getting updated to latest version
ERROR: npm is known not to run on Node.js v4.2.6 Node.js 4 is supported but the specific version you're running has a bug...
Read more >
Node JS (Install) 4.2.2 - Chocolatey
Version Downloads Last Updated Status Node JS (Install) 19.2.0 13281 Wednesday, November 30, 2022 Approved Node JS (Install) 19.1.0 20083 Tuesday, November 15, 2022 Approved Node...
Read more >
A Comprehensive Guide to Fixing Node-Gyp Issues on Windows
A Comprehensive Guide to Fixing Node-Gyp Issues on Windows · 1. Try running npm install with the --no-optional flag. · 2. Try downloading...
Read more >
Changelog - Sinon.JS
Bump @sinonjs/fake-timers (fix error when using Node's util/promisify with setTimeout) ... 4.2.2. Fix #1638: Make resetHistory work for props ...
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