Help with Step 4 in Getting Started tutorial

Help with Step 4 in Getting Started tutorial

ealexand5AMP6
Explorer Explorer
575 Views
3 Replies
Message 1 of 4

Help with Step 4 in Getting Started tutorial

ealexand5AMP6
Explorer
Explorer

Hello!

 

I am trying to follow the instructions on https://aps.autodesk.com/en/docs/forma/v1/overview/getting-started/

In step 4, I have pasted the code into Visual Studio Code (VSC) and saved the file locally as index.html

I then try in the VSC command line to paste the next line of code provided (http://localhost:5173/) but it gives me errors. Also, when I load the extension, the Hello World message pops up but then below that it says "localhost refused to connect."

 

Any help would be much appreciated!

0 Likes
Accepted solutions (1)
576 Views
3 Replies
Replies (3)
Message 2 of 4

henrik_steenJL382
Autodesk
Autodesk

Hello!

Can you share the errors you are experiencing?

 

It sounds like you are not properly running the local development server, so you can't access your project at http://localhost:5173/

Henrik

0 Likes
Message 3 of 4

ilker.karadag
Enthusiast
Enthusiast
Accepted solution

Hi,

 

I have also confronted with the same error. You need to install or update node.js (https://nodejs.org/en). You can check your current version by typing node -v in the command line. Moreover you may need to install npm install -g http-server

If you are not familiar with this, just use simple web server software (https://simplewebserver.org/) which avoids local host refused to connect error.

Message 4 of 4

marthe.brondbo
Alumni
Alumni

@ealexand5AMP6 Did you figure this our using @ilker.karadag suggestion? Checking that as the accepted solution - let us know if you need another fix! 

Marthe

0 Likes