Skip to content

Not rebuilding with --which-module argument #1138

Open
@asamofal

Description

npx electron-rebuild -f -w better-sqlite3
DEBUG=* npx electron-rebuild -f -w better-sqlite3 
⠋ Searching dependency tree  electron-rebuild rebuilding with args: [Arguments] {
  '0': {
    buildPath: '/Volumes/code/pos',
    electronVersion: '30.0.0',
    arch: 'arm64',
    extraModules: [ 'better-sqlite3' ],
    onlyModules: null,
    force: true,
    headerURL: undefined,
    types: [ 'prod', 'optional' ],
    mode: undefined,
    debug: undefined,
    prebuildTagPrefix: 'v',
    forceABI: undefined,
    useElectronClang: false,
    disablePreGypCopy: false,
    projectRootPath: '/Volumes/code/pos',
    buildFromSource: false
  }
} +0ms
  electron-rebuild ignoreModules [] +1ms
  electron-rebuild rebuilding with args: /Volumes/code/pos 30.0.0 arm64 Set(1) { 'better-sqlite3' } true https://www.electronjs.org/headers [ 'prod', 'optional' ] false +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/electron-updater +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/electron-updater/node_modules/fs-extra +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/fs-extra +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/js-yaml +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/lazy-val +1ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/lodash.escaperegexp +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/lodash.isequal +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/semver +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/tiny-typed-emitter +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/electron-updater/node_modules/builder-util-runtime +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/builder-util-runtime +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/argparse +1ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/lru-cache +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/graceful-fs +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/electron-updater/node_modules/jsonfile +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/jsonfile +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/electron-updater/node_modules/universalify +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/universalify +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/debug +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/sax +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/yallist +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/ms +0ms
  electron-rebuild identified prod deps: Set(1) {
  'better-sqlite3',
  'electron-updater': true,
  'fs-extra': true,
  'js-yaml': true,
  'lazy-val': true,
  'lodash.escaperegexp': true,
  'lodash.isequal': true,
  semver: true,
  'tiny-typed-emitter': true,
  'builder-util-runtime': true,
  'graceful-fs': true,
  jsonfile: true,
  universalify: true,
  argparse: true,
  'lru-cache': true,
  debug: true,
  sax: true,
  yallist: true,
  ms: true
} +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@aashutoshrathi +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@alloc +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/generator/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/generator/node_modules/@babel +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/highlight/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/template/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/template/node_modules/@babel +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/traverse/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@cspotcode +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@cspotcode/source-map-support/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@cspotcode/source-map-support/node_modules/@jridgewell +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@develar +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/asar/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/get/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/osx-sign/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/rebuild/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/rebuild/node_modules/@malept +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/rebuild/node_modules/@npmcli +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/rebuild/node_modules/cacache/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/universal/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@esbuild +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@eslint +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@eslint/eslintrc/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@eslint-community +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@gar +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@humanwhocodes +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@humanwhocodes/config-array/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@isaacs +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@isaacs/cliui/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@jest +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@jridgewell +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@malept +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@malept/flatpak-bundler/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@nodelib +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@npmcli +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@one-ini +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@pkgjs +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@rollup +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@rollup/pluginutils/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@sinclair +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@sindresorhus +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@szmarczak +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@tootallnate +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@tsconfig +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@types +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/parser/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/scope-manager/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/scope-manager/node_modules/@typescript-eslint +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/type-utils/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/typescript-estree/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/utils/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/visitor-keys/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/visitor-keys/node_modules/@typescript-eslint +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@ungap +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vitejs +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vitest +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vitest/runner/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@volar +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vue +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vue/compiler-core/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vue/compiler-core/node_modules/@babel +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vue/compiler-sfc/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vue/compiler-sfc/node_modules/@babel +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@xmldom +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/app-builder-lib/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/app-builder-lib/node_modules/@electron +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/app-builder-lib/node_modules/@electron/notarize/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/archiver-utils/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/builder-util/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/chokidar/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/config-file-ts/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/decompress-response/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/dir-compare/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/dmg-builder/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/editorconfig/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/electron-builder/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/electron-builder-squirrel-windows/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/electron-publish/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/electron-updater/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/eslint/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/execa/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/fast-glob/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/filelist/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/fs-minipass/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/gauge/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/glob/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/jake/node_modules +3ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/js-beautify/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/lazystream/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/minipass-flush/node_modules +3ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/minipass-pipeline/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/minipass-sized/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/minizlib/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/npm-run-path/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/path-scurry/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/postcss-load-config/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/pretty-format/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/rc/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/readdir-glob/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/restore-cursor/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/serialize-error/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/sucrase/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/tar-fs/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/temp-file/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/ts-node/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/unimport/node_modules +0ms
⠙ Searching dependency tree  electron-rebuild scanning: /Volumes/code/pos/node_modules/vite/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/vitest/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/zip-stream/node_modules +2ms
✔ Rebuild Complete
npx electron-rebuild -f -m node_modules/better-sqlite3
DEBUG=* npx electron-rebuild -f -m node_modules/better-sqlite3
⠋ Searching dependency tree  electron-rebuild rebuilding with args: [Arguments] {
  '0': {
    buildPath: '/Volumes/code/pos/node_modules/better-sqlite3',
    electronVersion: '30.0.0',
    arch: 'arm64',
    extraModules: [],
    onlyModules: null,
    force: true,
    headerURL: undefined,
    types: [ 'prod', 'optional' ],
    mode: undefined,
    debug: undefined,
    prebuildTagPrefix: 'v',
    forceABI: undefined,
    useElectronClang: false,
    disablePreGypCopy: false,
    projectRootPath: '/Volumes/code/pos',
    buildFromSource: false
  }
} +0ms
  electron-rebuild ignoreModules [] +0ms
  electron-rebuild rebuilding with args: /Volumes/code/pos/node_modules/better-sqlite3 30.0.0 arm64 Set(0) {} true https://www.electronjs.org/headers [ 'prod', 'optional' ] false +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/bindings +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/prebuild-install +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/file-uri-to-path +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/detect-libc +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/expand-template +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/github-from-package +1ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/minimist +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/mkdirp-classic +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/napi-build-utils +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/node-abi +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/rc +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/pump +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/tar-fs +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/simple-get +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/tunnel-agent +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/deep-extend +1ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/ini +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/rc/node_modules/strip-json-comments +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/strip-json-comments +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/tar-fs/node_modules/chownr +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/chownr +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/tar-stream +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/semver +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/end-of-stream +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/once +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/decompress-response +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/simple-concat +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/safe-buffer +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/bl +1ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/fs-constants +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/inherits +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/readable-stream +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/lru-cache +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/wrappy +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/decompress-response/node_modules/mimic-response +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/mimic-response +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/buffer +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/yallist +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/string_decoder +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/util-deprecate +0ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/base64-js +1ms
  electron-rebuild exploring /Volumes/code/pos/node_modules/ieee754 +0ms
  electron-rebuild identified prod deps: Set(0) {
  bindings: true,
  'prebuild-install': true,
  'file-uri-to-path': true,
  'detect-libc': true,
  'expand-template': true,
  'github-from-package': true,
  minimist: true,
  'mkdirp-classic': true,
  'napi-build-utils': true,
  'node-abi': true,
  pump: true,
  rc: true,
  'simple-get': true,
  'tar-fs': true,
  'tunnel-agent': true,
  'deep-extend': true,
  ini: true,
  'strip-json-comments': true,
  chownr: true,
  'tar-stream': true,
  semver: true,
  'end-of-stream': true,
  once: true,
  'decompress-response': true,
  'simple-concat': true,
  'safe-buffer': true,
  bl: true,
  'fs-constants': true,
  inherits: true,
  'readable-stream': true,
  'lru-cache': true,
  wrappy: true,
  'mimic-response': true,
  buffer: true,
  yallist: true,
  string_decoder: true,
  'util-deprecate': true,
  'base64-js': true,
  ieee754: true
} +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@aashutoshrathi +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@alloc +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/generator/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/generator/node_modules/@babel +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/highlight/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/template/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/template/node_modules/@babel +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@babel/traverse/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@cspotcode +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@cspotcode/source-map-support/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@cspotcode/source-map-support/node_modules/@jridgewell +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@develar +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/asar/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/get/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/osx-sign/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/rebuild/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/rebuild/node_modules/@malept +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/rebuild/node_modules/@npmcli +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/rebuild/node_modules/cacache/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@electron/universal/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@esbuild +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@eslint +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@eslint/eslintrc/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@eslint-community +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@gar +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@humanwhocodes +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@humanwhocodes/config-array/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@isaacs +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@isaacs/cliui/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@jest +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@jridgewell +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@malept +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@malept/flatpak-bundler/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@nodelib +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@npmcli +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@one-ini +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@pkgjs +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@rollup +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@rollup/pluginutils/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@sinclair +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@sindresorhus +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@szmarczak +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@tootallnate +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@tsconfig +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@types +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/parser/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/scope-manager/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/scope-manager/node_modules/@typescript-eslint +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/type-utils/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/typescript-estree/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/utils/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/visitor-keys/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@typescript-eslint/visitor-keys/node_modules/@typescript-eslint +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@ungap +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vitejs +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vitest +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vitest/runner/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@volar +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vue +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vue/compiler-core/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vue/compiler-core/node_modules/@babel +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vue/compiler-sfc/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@vue/compiler-sfc/node_modules/@babel +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/@xmldom +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/app-builder-lib/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/app-builder-lib/node_modules/@electron +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/app-builder-lib/node_modules/@electron/notarize/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/archiver-utils/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/builder-util/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/chokidar/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/config-file-ts/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/decompress-response/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/dir-compare/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/dmg-builder/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/editorconfig/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/electron-builder/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/electron-builder-squirrel-windows/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/electron-publish/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/electron-updater/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/eslint/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/execa/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/fast-glob/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/filelist/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/fs-minipass/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/gauge/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/glob/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/jake/node_modules +4ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/js-beautify/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/lazystream/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/minipass-flush/node_modules +3ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/minipass-pipeline/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/minipass-sized/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/minizlib/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/npm-run-path/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/path-scurry/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/postcss-load-config/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/pretty-format/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/rc/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/readdir-glob/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/restore-cursor/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/serialize-error/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/sucrase/node_modules +2ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/tar-fs/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/temp-file/node_modules +1ms
⠙ Searching dependency tree  electron-rebuild scanning: /Volumes/code/pos/node_modules/ts-node/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/unimport/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/vite/node_modules +1ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/vitest/node_modules +0ms
  electron-rebuild scanning: /Volumes/code/pos/node_modules/zip-stream/node_modules +2ms
  electron-rebuild checking better-sqlite3 against [] +84ms
  electron-rebuild assuming is prebuild-install powered: better-sqlite3 +0ms
  electron-rebuild triggering prebuild download step: better-sqlite3 +0ms
  electron-rebuild installed prebuilt module: better-sqlite3 +55ms
✔ Rebuild Complete

What's the difference between electron-rebuild -f -w better-sqlite3 and electron-rebuild -f -m node_modules/better-sqlite3?
Why with the -w argument rebuild doesn't resolve a path of the module (do nothing actually)? Why there's no error "Requested module not found" or something like this?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions