Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

http://localhost:8080/dist/ error


I have successfully followed steps on "https://preview.keenthemes.com/html/rider-html-pro/docs/getting-started/build/gulp" EXCEPT at step 9 url http://localhost:8080/dist/ in Google Chrome brower I get error: "Cannot GET /dist/"

Other similar questions on this board suggest for other themes that should be http://localhost:8080/[demo]/dist/. Looks like this is an issue across several themes. What should it be in my case?

Thank you

Graham


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)


Hello @geometry dash scratch, I think the error message "Cannot GET /dist/" typically indicates that the server is unable to locate the specified directory or route. In this case, it seems that the /dist/ directory is not being served correctly.

To resolve this issue, you can try modifying the URL to include the demo name before the /dist/ path. As you mentioned, some themes require the URL format http://localhost:8080/[demo]/dist/ instead of http://localhost:8080/dist/.

If you have created a specific demo while setting up the project, you should replace [demo] in the URL with the appropriate demo name. For example, if you created a demo named "my-demo," the URL should be http://localhost:8080/my-demo/dist/.



It seems there might be a small misconfiguration. Please try running the following command in your terminal:

gulp localhost

After that, open your browser and navigate to http://localhost:8080. You should see a list of available themes. Click on the theme folder you are working on, and it should redirect you to the correct URL.

Let me know if this resolves the issue for you.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(