Open snavien opened 8 years ago
Seems similar to #780. Just as there, the missing super class is React.PureComponent. It seems as if an old version of React was loaded. If the issue persists after Atom restart, deleting the
~/.atom/compile_cache` seems like the next logical step to try.
Yeah, it's a duplicate: renaming ~/.atom worked but reinstalling the packages was an overhead.
Actually renaming didn't work specifically it looks at OpenFilesListComponent.js:19 node_modules/rxjs/bundles/Rx.min.js:50
any idea how to fix that?
@jgebhardt, do you have any idea why wouldn't React.PureComponent
be available?
Also, @snavien, could you please open Developer Tools in Atom (Cmd-Alt-i), in the console type (separately):
atom.__DO_NOT_ACCESS_React_Singleton.React.version
atom.__DO_NOT_ACCESS_React_Singleton.React.PureComponent
And tell what the result is?
My only guess would be that one of the third-party package might be loading an older version of React. I'm also curious to see the values mentioned above.
[Enter steps to reproduce below:]
Atom Version: 1.11.0 Electron Version: 0.37.8 System: Mac OS X 10.12 Thrown From: nuclide package, v0.175.0
Stack Trace
Uncaught TypeError: Super expression must either be null or a function, not undefined
Commands
Config
Installed Packages