Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin load error: "hyperdocs" failed to load in the renderer process. #12

Closed
andretf opened this issue Jan 13, 2018 · 1 comment
Closed

Comments

@andretf
Copy link
Contributor

andretf commented Jan 13, 2018

Plugin won't load due to an error Cannot read property 'instanceOf' of undefined in react-jss, not sure what triggers it though.

Expected Behavior

Should load on Linux

Current Behavior

Does not load. Please see image from Developer Tools.

image

Pasting error output here for text search reference:

TypeError: Cannot read property 'instanceOf' of undefined
    at Object.<anonymous> (/home/afigueiredo/.hyper_plugins/node_modules/react-jss/lib/SheetsRegistryProvider.js:56)
    at Object.<anonymous> (/home/afigueiredo/.hyper_plugins/node_modules/react-jss/lib/SheetsRegistryProvider.js:63)
    at Module._compile (module.js:571)
    at Object.Module._extensions..js (module.js:580)
    at Module.load (module.js:488)
    at tryModuleLoad (module.js:447)
    at Function.Module._load (module.js:439)
    at Function.c._load (bundle.js:1)
    at Module.require (module.js:498)
    at require (internal/module.js:20)
D.e.plugins.concat.filter.map @ bundle.js:1
D @ bundle.js:1
(anonymous) @ bundle.js:1
__webpack_require__ @ bundle.js:1
(anonymous) @ bundle.js:4
__webpack_require__ @ bundle.js:1
(anonymous) @ bundle.js:1
(anonymous) @ bundle.js:1

Possible Solution

Steps to Reproduce (for bugs)

  1. Install Hyper in Linux
  2. Install latest hyperdocs
  3. Enter Hyper

Context

Your Environment

  • Version used: latest (1.1.3)
  • Operating System: Linux Mint 18.2
@andretf
Copy link
Contributor Author

andretf commented Jan 13, 2018

Problem is gone using new version of react-jss (8.2.1)

@andretf andretf closed this as completed Jan 13, 2018
andretf added a commit to andretf/hyperdocs that referenced this issue Jan 13, 2018
uesteibar pushed a commit that referenced this issue Feb 27, 2018
Fixes #12

Plugin won't load due to an error Cannot read property 'instanceOf' of undefined in react-jss, not sure what triggers it though.

Problem is gone using new version of react-jss (8.2.1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant