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've been following the examples from the free Raspberry Pi page, and got to the quadratic equations example.
Everything seems to install and update correctly, and running the 'node test.js' example works perfectly. When I run the 'node server.js' command, it starts to go wrong though. I get the 'Listening at http://localhost:8080' message, but as soon as I open the calculator I get a 'The roots are not ready' error, and when I enter any values into the calculator and press Solve, nothing happens on the calculator page, but on the Visual Studio page, the terminal gives me a long error message. I can't copy and paste it, so I've attached a screenshot.
The text was updated successfully, but these errors were encountered:
but I've just changed it to include the missing lines. Using VS on Windows 10 or Ubuntu 20.04 still gives the error above.
I'm pretty much brand new to this, so there's a good chance that I've got something basic wrong. At the beginning of the Getting started with Rust functions in Node.js article I used the git clone https://github.com/second-state/ssvm-nodejs-starter command to get the files, so tried the same with the quadratic equation example, but it wouldn't work. Googling told me to go to the root, so wasm-learning, and use git clone there. I've then gone to the nodejs/quadratic/ folder and worked from there, including telling VS to open it in the terminal. As far as I can tell, everything has run from that folder.
Hi :)
I've been following the examples from the free Raspberry Pi page, and got to the quadratic equations example.
Everything seems to install and update correctly, and running the 'node test.js' example works perfectly. When I run the 'node server.js' command, it starts to go wrong though. I get the 'Listening at http://localhost:8080' message, but as soon as I open the calculator I get a 'The roots are not ready' error, and when I enter any values into the calculator and press Solve, nothing happens on the calculator page, but on the Visual Studio page, the terminal gives me a long error message. I can't copy and paste it, so I've attached a screenshot.
The text was updated successfully, but these errors were encountered: