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
With Yarn
Bun installation works but failed when running the app.
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).
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
With Yarn
Bun installation works but failed when running the app.
Pnpm failing at runtime
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. removenode-sass
since we're usingtailwindcss
already).