% npm install
npm warn config optional Use `--omit=optional` to exclude optional dependencies, or
npm warn config `--include=optional` to include them.
npm warn config
npm warn config Default value does install optional deps unless otherwise omitted.
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out
lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more
comprehensive and powerful.
npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual
instead.
npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated q@1.5.1: You or someone you depend on is using Q, the JavaScript Promise library that gave
JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript
promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm warn deprecated @xmldom/xmldom@0.7.13: this version is no longer supported, please update to at least 0.8.*
npm warn deprecated source-map@0.8.0-beta.0: The work that was done in this beta branch won't be included in
future versions
npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see
https://eslint.org/version-support for other options.
npm warn deprecated @mui/base@5.0.0-beta.40-1: This package has been replaced by @base-ui-components/react
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup '/Users/nateaune/Documents/code/donetick-frontend/node_modules/@swc',
npm warn cleanup [Error: ENOTEMPTY: directory not empty, rmdir
'/Users/nateaune/Documents/code/donetick-frontend/node_modules/@swc'] {
npm warn cleanup errno: -66,
npm warn cleanup code: 'ENOTEMPTY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: '/Users/nateaune/Documents/code/donetick-frontend/node_modules/@swc'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path /Users/nateaune/Documents/code/donetick-frontend/node_modules/esbuild
npm error command failed
npm error command sh -c node install.js
npm error /Users/nateaune/Documents/code/donetick-frontend/node_modules/esbuild/install.js:133
npm error throw new Error(`Expected ${JSON.stringify(versionFromPackageJSON)} but got
${JSON.stringify(stdout)}`);
npm error ^
npm error
npm error Error: Expected "0.21.5" but got "0.18.20"
npm error at validateBinaryVersion
(/Users/nateaune/Documents/code/donetick-frontend/node_modules/esbuild/install.js:133:11)
npm error at /Users/nateaune/Documents/code/donetick-frontend/node_modules/esbuild/install.js:283:5
npm error
npm error Node.js v22.21.1
npm error A complete log of this run can be found in:
/Users/nateaune/.npm/_logs/2025-12-06T16_11_36_646Z-debug-0.log
$ node --version
v22.21.1
$ npm --version
10.9.4
I just cloned the repo and tried running
npm installand this is the error I'm getting.here are my local versions: