Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issues from new git clone #7112

Open
SimpleVictor opened this issue Dec 17, 2024 · 1 comment
Open

Build issues from new git clone #7112

SimpleVictor opened this issue Dec 17, 2024 · 1 comment

Comments

@SimpleVictor
Copy link

SimpleVictor commented Dec 17, 2024

What happened?

I'm getting the error below when running npm run start:web

✘ [ERROR] Cannot start service: Host version "0.20.2" does not match binary version "0.23.1"

Environments
Node version: v18.17.0
NPM: 9.6.7

Steps to reproduce the problem

  1. git clone https://github.com/streetwriters/notesnook.git
  2. cd notesnook
  3. npm install
  4. npm run start:web

Version

v3.0.22

Platform/OS

macOS

Relevant log output

> nx run @notesnook/web:start


> @notesnook/[email protected] start
> cross-env PLATFORM=web vite

✘ [ERROR] Cannot start service: Host version "0.20.2" does not match binary version "0.23.1"

1 error
failed to load config from /Users/viet/Documents/projects/App/notesnook/apps/web/vite.config.ts
error when starting dev server:
Error: The service was stopped
    at /Users/viet/Documents/projects/App/notesnook/apps/web/node_modules/esbuild/lib/main.js:1084:25
    at responseCallbacks.<computed> (/Users/vietle/Documents/projects/App/notesnook/apps/web/node_modules/esbuild/lib/main.js:704:9)
    at Socket.afterClose (/Users/viet/Documents/projects/App/notesnook/apps/web/node_modules/esbuild/lib/main.js:694:28)
    at Socket.emit (node:events:526:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Things I've tried to do but no luck

npm run clean
npm install
npm run start:web
@Leviob
Copy link
Contributor

Leviob commented Dec 18, 2024

Try npm run bootstrap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants