Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(frontend): revert to old
package-lock.json
Motivation ---------- When I `npm install` and `npm run dev` in `frontend/` I see: ``` (node:4820) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' (Use `node --trace-warnings ...` to show where the warning was created) ✘ [ERROR] Cannot start service: Host version "0.21.5" does not match binary version "0.20.2" 1 error failed to load config from /home/robert/Development/dreammall/dreammall.earth/frontend/vite.config.ts /home/robert/Development/dreammall/dreammall.earth/frontend/node_modules/vite/node_modules/esbuild/lib/main.js:968 if (error) return callback(new Error(error), null); ^ ``` The PR #1188 has unrelated code. The `package-lock.json` was merged although it has nothing to do with the changes in the PR. When I `git checkout ce3cd41^ -- frontend/package-lock.json` the error is gone locally. How to test ----------- 1. `cd frontend/` 2. `npm install` 3. `npm run dev` 4. Server running at http://localhost:3000/
- Loading branch information