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 update this project to use the latest version of ClojureScript and React, however, I have encountered an error I am having difficulty figuring out.
On my first execution of lein figwheel I encounter the following error in the console,
Uncaught SyntaxError: Cannot use import statement outside a module
So, in the /public/index.html file I changed the script type= to module from text/javascript which gets ride of the import statement error, however, the console then shows the error message about the missing export named 'npmDeps'.
The first line of my /js/app.js has the following inserted,
I'm attempting to update this project to use the latest version of ClojureScript and React, however, I have encountered an error I am having difficulty figuring out.
On my first execution of
lein figwheel
I encounter the following error in the console,So, in the
/public/index.html
file I changed the scripttype=
tomodule
fromtext/javascript
which gets ride of the import statement error, however, the console then shows the error message about the missing export named 'npmDeps'.The first line of my
/js/app.js
has the following inserted,The contents of the
npm_deps.js
file are,Both the
npm_deps.js
andapp.js
files are in the same directory.Do you have any suggestions or insight into what the issue would be?
The text was updated successfully, but these errors were encountered: