themeselection / materio-mui-nextjs-admin-template-free

An enterprise-grade Next.js admin dashboard template. Made with developer experience first: Next.js v14 (App Router), Material UI (MUI), Tailwind CSS, TypeScript, ESLint, Prettier, VSCode Configs !! 🚀
https://themeselection.com/item/materio-free-mui-nextjs-admin-template
MIT License
1.57k stars 543 forks source link

The application does not start correctly after the installation of its dependencies #1

Closed rldona closed 2 years ago

rldona commented 2 years ago

Steps to reproduce

  1. yarn install
  2. yarn dev

What is expected?

ready - started server on 0.0.0.0:3000, url: http://localhost:3000

What is actually happening?

Captura de pantalla 2022-06-21 a las 13 56 28

Additional data

NodeJS Version: 16.15.1 (LTS) Package manager(npm|yarn|pnpm): yarn Browser name & version: Google Chrome 102.0.5005.115 (Build oficial) (arm64) System: macOS Monterey 12.2

rldona commented 2 years ago

The same error occurs with NPM

ronaklalwaniii commented 2 years ago

Hi rldona,

I tried it on my end & it works perfectly.

It may be possible that the files might have been broken at the time of extraction or you might have moved the files to another folder and may have missed a few files/folders.

Tip: Please re-download the template and try the installation. Don't move the files & folders to another directory, try the installation in the downloaded folder.

rldona commented 2 years ago

Hi @ronaklalwaniii,

I have tried it in two ways (seeing that the first, the normal one, did not work for me, just out of curiosity):

  1. Cloning the repository
  2. Downloading the .zip

In both options I have installed the dependencies both with yarn and with npm and I have not moved a folder or any file from the original structure of the project... even so it continues to give me the error.

Captura de pantalla 2022-06-22 a las 7 43 15

I've tried other projects on GitHub just in case it's something on my team but they install and start without problems.

Something I'm not seeing?

ronaklalwaniii commented 2 years ago

Hi @rldona,

We provide 2 versions. JavaScript & Typescript. You must go inside either of the folders according to your usage requirement and need to run all the commands.

It should work fine.

rldona commented 2 years ago

Hi @ronaklalwaniii,

Oh, okay. Now it worked for me. Thank you very much for the guide!

I was confused by the package.json file in the root directory of the project. I thought it was the project orchestrator in both flavors (JS and TS).

Likewise, if the work is done in each of the folders... does it make sense or is it useful to keep said package.json file in the root of the project?

ronaklalwaniii commented 2 years ago

Hi rldona,

Apologise for the inconvenience.

There shouldn't be a package.json file in the root.

We'll remove it from our end in the next update. You can delete it from yours.

rldona commented 2 years ago

No problem. Very cool project 👯 .