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.

Rx defaults are not exported

See original GitHub issue

Using node 8 LTS:

$ g ac "Remove logo from state"
husky > npm run -s precommit (node v9.2.0)

 ❯ Running tasks for *.js
   ✖ prettier-standard
     → at Module._compile (module.js:641:30)
     git add
✖ prettier-standard found some errors. Please fix them and try committing again.

          /Users/josefranciscoverdugambin/Projects/microlink/react-microlink/node_modules/prettier-standard/lib/format-files.js:132
var rxGlob = _Rx2.default.Observable.bindNodeCallback(_glob2.default);
                      ^

TypeError: Cannot read property 'Observable' of undefined
at Object.<anonymous> (/Users/josefranciscoverdugambin/Projects/microlink/react-microlink/node_modules/prettier-standard/lib/format-files.js:132:27)
at Module._compile (module.js:641:30)
at Object.Module._extensions..js (module.js:652:10)
at Module.load (module.js:560:32)
at tryModuleLoad (module.js:503:12)
at Function.Module._load (module.js:495:3)
at Module.require (module.js:585:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Users/josefranciscoverdugambin/Projects/microlink/react-microlink/node_modules/prettier-standard/lib/index.js:41:20)
at Module._compile (module.js:641:30)

husky > pre-commit hook failed (add --no-verify to bypass)

I think code is not relevant; Rx polyfill is not exporting defaults 😢

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:10
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
sheeruncommented, Dec 6, 2017

Sorry for the trouble, it’s good that rxjs decided to revert backward incompatibility

1reaction
fiuzagrcommented, Dec 4, 2017

Install the rxjs@5.4.3 solved for me.

npm install rxjs@5.4.3 --save-dev
Read more comments on GitHub >

github_iconTop Results From Across the Web

Rx has no default export · Issue #2085 · ReactiveX/rxjs - GitHub
I get the error message, that Rx has no default export. What is the actual error message and what tool is emitting it?...
Read more >
Node_modules/rxjs/Rx"' has no exported member 'Rx'
its rxjs issue , i fixed it using npm install rxjs-compat.
Read more >
Import AMD Radeon™ Settings Configuration & Factory Defaults
Follow the steps below to import Radeon Settings configuration: Open Radeon Settings by right-clicking on your desktop and select AMD Radeon Settings.
Read more >
Working with Files - RX 8 Help - Amazon S3
Select File… > Export · Select the file format you want to Export to and adjust the associated settings as desired (available settings...
Read more >
XDJ RX Export Link - Rekordbox not working – Pioneer DJ
Hey Chaps, Don't seem to be able to use Rekordbox direct from PC. All support downloads are up to date and installed, firewall...
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