-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
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
import from dist directory #50
Comments
Hello, could you try to import |
I tried this
After that, I am calling via Still getting similar error message .i.e.,
|
I am not able to reproduce your error. I did npm i, with this, I am able to require levenbergMarquardt. Could you try like that? are you calling this module from the browser using this path? do you serve your LM folder using live-server extension of VScode? |
The
I ran those commands and it created a Then started the server using <html>
<body>
<script type="module">
import {levenbergMarquardt} from '/node_modules/ml-levenberg-marquardt/dist/ml-levenberg-marquardt.js'
</script>
</body>
</html> The possible reason probably the |
@arpanda do you have your repository updated, I was able to reproduce you error by deleting the file the file inside of |
Earlier, I installed via I tried it again with git clone and gendered the Now coming to the export issue, I see this export lines in
|
@jobo322 Looks like the is |
I have manually build it and trying to import it directly in the browser.
and getting the below error.
Any suggestion to solve it?
The text was updated successfully, but these errors were encountered: