You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: this might be more related to Hyperspace itself than to all React apps.
Megalodon objects instantiate and function normally in a React app when running react-scripts start. However, when running react-scripts test or react-scripts build and then serving the built content, the instantiation fails.
In Hyperspace, the following error occurs:
TypeError: "n is undefined"
t App.js:26
Ii16React 448 index.js:7
f (index):1
184 main.b0bd95cd.chunk.js:1
f (index):1
a (index):1
e (index):1
<anonymous> main.b0bd95cd.chunk.js:1
react-dom.production.min.js:3869
ya16React 448 index.js:7
f (index):1
184 main.b0bd95cd.chunk.js:1
f (index):1
a (index):1
e (index):1
<anonymous> main.b0bd95cd.chunk.js:1
Steps to reproduce
In the App component, create a constructor and field for the client:
Originally noted from hyperspacedev/hyperspace-classic#1:
Megalodon objects instantiate and function normally in a React app when running
react-scripts start
. However, when runningreact-scripts test
orreact-scripts build
and then serving the built content, the instantiation fails.In Hyperspace, the following error occurs:
Steps to reproduce
The text was updated successfully, but these errors were encountered: