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
then I ran php -S localhost:8000 router.php. At this point I ran into a new error: Uncaught (in promise) TypeError: Cannot read property 'update' of undefined in which the "exports" variable coming from the line }).then(({ exports }) => { is undefined.
Any ideas what is going wrong here?
The text was updated successfully, but these errors were encountered:
I am trying to run the Mandelbrot Example locally, and I ran into this error when serving the content with http-server:
I eventually (I believe) found a way to serve the wasm with the correct MIME type using a php server. The documentation I found is here: https://www.php.net/manual/en/features.commandline.webserver.php#example-424. Following this I created a file called router.php with the following contents:
then I ran
php -S localhost:8000 router.php
. At this point I ran into a new error:Uncaught (in promise) TypeError: Cannot read property 'update' of undefined
in which the "exports" variable coming from the line}).then(({ exports }) => {
is undefined.Any ideas what is going wrong here?
The text was updated successfully, but these errors were encountered: