I have published and receive a 404 when accesing the url. No


Topic: I have published and receive a 404 when accesing the url. No warnings

rramos94 pro premium asked 3 years ago

Expected behavior Access my web (mdb-react-pro) published. https://rramos94-mdb-comp.mdbgo.io Actual behavior I receive a 404 not found

Resources (screenshots, code snippets etc.)

PS C:\Users\r.ramos\Documents\GitHub\mdb4-react-ui-kit-pro-essential> mdb publish

mdb-comp@0.1.0 build C:\Users\r.ramos\Documents\GitHub\mdb4-react-ui-kit-pro-essential react-scripts build

Creating an optimized production build... Compiled successfully.

File sizes after gzip:

353.49 KB build\static\js\2.b96328d4.chunk.js 118.71 KB build\static\js\main.1e8fd9d6.chunk.js 112.32 KB build\static\css\2.1465a9b9.chunk.css 3.45 KB build\static\css\main.bec569c3.chunk.css 776 B build\static\js\runtime-main.9d60ae66.js

The project was built assuming it is hosted at /. You can control this with the homepage field in your package.json.

The build folder is ready to be deployed. You may serve it with a static server:

npm install -g serve serve -s build

Find out more about deployment here:

https://cra.link/deployment

√ Uploading files | 6.000 Mb Warning This is not MDB JARV project and there is no guarantee that it will work properly after publishing. In case of problems, please write to our support https://mdbootstrap.com/support/. Success Project built successfully Sent 6.000 Mb Your application is available at https://rramos94-mdb-comp.mdbgo.io [copied to clipboard]

Info Your URL has been generated based on your username and project name. You can change it by providing the (sub)domain of your choice by running the following command: mdb config domain <name>.

PS C:\Users\r.ramos\Documents\GitHub\mdb4-react-ui-kit-pro-essential>

enter image description here


Arkadiusz Cacko staff pro premium priority answered 3 years ago

Hi @rramos94, your project build is in the /build directory - see https://rramos94-mdb-comp.mdbgo.io/build. To fix that, please run mdb publish command in your local build directory. Regards


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB5 2.1.0
  • Device: Laptop Surface
  • Browser: chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: Yes