tianchengc / exable-admin

Other
1 stars 0 forks source link

[BUG] Scaffold Issues - Dependency Installation #30

Open dgtlmonk opened 1 day ago

dgtlmonk commented 1 day ago

Not sure if it's my environment or this scaffold has dependencies issues that's causing node module package installation to fail - either yarn, npm, pnpm.

With NPM

image

With Yarn

image

Bun installation works but failed when running the app.

image

Pnpm failing at runtime

image

Also, this repository also has two(2) lockfiles - yarn and npm, which is not an ideal setup.

I also suggest we scaffold the app with Vite instead of create-react-app. This is more modern and has better build tool than create-react-app. I can move this to repo to Vite if that's fine with this project admin.

P.S. We might don't need some of the dependencies like axios -- we can just use fetch. I suggest we reduce 3rd party libraries to minimum or only necessary (i.e. remove node-sass since we're using tailwindcss already).