Skip to content

Commit

Permalink
fix(frontend): revert to old package-lock.json
Browse files Browse the repository at this point in the history
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
roschaefer committed Jul 10, 2024
1 parent ce3cd41 commit 6babc1f
Showing 1 changed file with 2,472 additions and 202 deletions.
Loading

0 comments on commit 6babc1f

Please sign in to comment.