Skip to content

seems like failed to execute some command #1807

Open
@Xing-He

Description

@Xing-He
  • OS: Mac OS 11.7.10
  • Core: Intel Core

Trying to create a simple web page, but get this error.

Failed to install dependencies: Command failed: /Applications/Onlook.app/Contents/Resources/bun/bun-x64 install -y --no-audit --no-fund dyld: Symbol not found: _ubrk_clone Referenced from: /Applications/Onlook.app/Contents/Resources/bun/bun-x64 (which was built for Mac OS X 13.0) Expected in: /usr/lib/libicucore.A.dylib

with Replace npm with bun off , get another error as follows,

Failed to install dependencies: Command failed: npm install -y --no-audit --no-fund npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@3. I'll try to do my best with it! npm WARN deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options. npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported npm WARN deprecated [email protected]: 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. ~/onLook/project-1745459282910/node_modules/napi-postinstall/lib/helpers.js:56 napi.binaryName ??= napi.name; ^^^ SyntaxError: Unexpected token '??=' at wrapSafe (internal/modules/cjs/loader.js:1029:16) at Module._compile (internal/modules/cjs/loader.js:1078:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10) at Module.load (internal/modules/cjs/loader.js:979:32) at Function.Module._load (internal/modules/cjs/loader.js:819:12) at Module.require (internal/modules/cjs/loader.js:1003:19) at require (internal/modules/cjs/helpers.js:107:18) at Object.<anonymous> (~/onLook/project-1745459282910/node_modules/napi-postinstall/lib/index.js:11:22) at Module._compile (internal/modules/cjs/loader.js:1114:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10) npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=18.17.0"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: [email protected] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/[email protected] (node_modules/next/node_modules/@next/swc-darwin-arm64): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/[email protected]: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/[email protected] (node_modules/next/node_modules/@next/swc-linux-x64-gnu): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/[email protected]: wanted {"os":"linux","arch":"x64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/[email protected] (node_modules/next/node_modules/@next/swc-linux-x64-musl): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/[email protected]: wanted {"os":"linux","arch":"x64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/[email protected] (node_modules/next/node_modules/@next/swc-win32-x64-msvc): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/[email protected]: wanted {"os":"win32","arch":"x64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/[email protected] (node_modules/next/node_modules/@next/swc-win32-ia32-msvc): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/[email protected]: wanted {"os":"win32","arch":"ia32"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/[email protected] (node_modules/next/node_modules/@next/swc-linux-arm64-gnu): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/[email protected]: wanted {"os":"linux","arch":"arm64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/[email protected] (node_modules/next/node_modules/@next/swc-linux-arm64-musl): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/[email protected]: wanted {"os":"linux","arch":"arm64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/[email protected] (node_modules/next/node_modules/@next/swc-win32-arm64-msvc): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/[email protected]: wanted {"os":"win32","arch":"arm64"} (current: {"os":"darwin","arch":"x64"}) npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected] npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected] npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=18.12"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: [email protected] npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected] npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected] npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected] npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected] npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected] npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: [email protected] npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-win32-arm64-msvc): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"win32","arch":"arm64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-win32-ia32-msvc): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"win32","arch":"ia32"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-win32-x64-msvc): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"win32","arch":"x64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-freebsd-x64): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"freebsd","arch":"x64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-linux-arm64-gnu): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"linux","arch":"arm64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-linux-x64-musl): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"linux","arch":"x64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-linux-x64-gnu): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"linux","arch":"x64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-linux-arm-gnueabihf): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"linux","arch":"arm"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-linux-arm64-musl): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"linux","arch":"arm64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-linux-arm-musleabihf): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"linux","arch":"arm"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-linux-ppc64-gnu): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"linux","arch":"ppc64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-linux-riscv64-gnu): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"linux","arch":"riscv64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-darwin-arm64): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-linux-s390x-gnu): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"linux","arch":"s390x"} (current: {"os":"darwin","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @unrs/[email protected] (node_modules/unrs-resolver/node_modules/@unrs/resolver-binding-wasm32-wasi): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @unrs/[email protected]: wanted {"os":"any","arch":"wasm32"} (current: {"os":"darwin","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall: `napi-postinstall unrs-resolver check` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! ~/.npm/_logs/2025-04-24T01_48_27_405Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions