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
I'm attempting to use this package in a React project, but keep getting a ReferenceError: THREE is not defined error from Module../node_modules/three.phenomenon/dist/three.phenomenon.mjs
To recreate:
$ npx create-react-app foobar
$ cd foobar
$ yarn add three three.phenomenon
import Phenomenon from "three.phenomenon"; to the top of src/App.js
I'm attempting to use this package in a React project, but keep getting a
ReferenceError: THREE is not defined
error fromModule../node_modules/three.phenomenon/dist/three.phenomenon.mjs
To recreate:
$ npx create-react-app foobar
$ cd foobar
$ yarn add three three.phenomenon
import Phenomenon from "three.phenomenon";
to the top ofsrc/App.js
$ yarn start
The text was updated successfully, but these errors were encountered: