Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Metrotonic react demo1 build not working


Hi,
My app is running locally fine with "npm start"

I tried building it with :
npm run build

Built is successful. "The project was built assuming it is hosted at "/yourcryptovoice"

and then i run:
serve -s build -l 5000

The console says "Serving"

when i open the url
It shows logo loading and is stuck there. In console i get:

2.e29e65a5.chunk.js:1 Uncaught SyntaxError: Unexpected token <
main.a99c9c66.chunk.js:1 Uncaught SyntaxError: Unexpected token <

I couldn't figure out the issue, Development version with npm start runs fine without any issues. Now i am trying to build and serve it but cant seem to do it. Built is successful, it throws no error.

Please show me some direction here.
Thank you.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi,

Share you package.json file, need to check homepage property.

Regards,
Keenthemes support



i'm having the same problem i've also tried to change the home page path but its not working
its still showing logo loading


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(