We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am getting this error while importing dat.gui.js:
Uncaught TypeError: Cannot set property 'dat' of undefined at dat.gui.js:17 at dat.gui.js:18
Uncaught TypeError: Cannot set property 'dat' of undefined
at dat.gui.js:17
at dat.gui.js:18
HTML import: <script type="module" src="js/dat.gui.js"></script> Javascript import: import * as dat from "./js/dat.gui.js";
<script type="module" src="js/dat.gui.js"></script>
import * as dat from "./js/dat.gui.js";
Is this my code fault or a vulnerability in the file itself?
The text was updated successfully, but these errors were encountered:
I think in this case you need to use dat.gui.module.js instead. https://github.com/dataarts/dat.gui/tree/master/build
dat.gui.module.js
Sorry, something went wrong.
No branches or pull requests
I am getting this error while importing dat.gui.js:
Uncaught TypeError: Cannot set property 'dat' of undefined
at dat.gui.js:17
at dat.gui.js:18
HTML import:
<script type="module" src="js/dat.gui.js"></script>
Javascript import:
import * as dat from "./js/dat.gui.js";
Is this my code fault or a vulnerability in the file itself?
The text was updated successfully, but these errors were encountered: