Skip to content

install on windows error #343

@RetricSu

Description

@RetricSu

C:\Users\ajayh>npm install -g @offckb/cli
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup '\\?\C:\Users\ajayh\AppData\Roaming\npm\node_modules\@offckb\cli\node_modules\secp256k1',
npm warn cleanup [Error: EBUSY: resourcße busy or locked, rmdir 'C:\Users\ajayh\AppData\Roaming\npm\node_modules@offckb\cli\node_modules\secp256k1'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\ajayh\AppData\Roaming\npm\node_modules\@offckb\cli\node_modules\secp256k1'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup '\\?\C:\Users\ajayh\AppData\Roaming\npm\node_modules\@offckb\cli\node_modules',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\ajayh\AppData\Roaming\npm\node_modules@offckb\cli\node_modules\secp256k1'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\ajayh\AppData\Roaming\npm\node_modules\@offckb\cli\node_modules\secp256k1'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup '\\?\C:\Users\ajayh\AppData\Roaming\npm\node_modules\@offckb\cli',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\ajayh\AppData\Roaming\npm\node_modules@offckb\cli\node_modules\secp256k1'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\ajayh\AppData\Roaming\npm\node_modules\@offckb\cli\node_modules\secp256k1'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup '\\?\C:\Users\ajayh\AppData\Roaming\npm\node_modules\@offckb',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\ajayh\AppData\Roaming\npm\node_modules@offckb\cli\node_modules\secp256k1'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\ajayh\AppData\Roaming\npm\node_modules\@offckb\cli\node_modules\secp256k1'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup '\\?\C:\Users\ajayh\AppData\Roaming\npm\node_modules\@offckb\cli\node_modules\cpu-features',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\ajayh\AppData\Roaming\npm\node_modules@offckb\cli\node_modules\cpu-features\deps'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\ajayh\AppData\Roaming\npm\node_modules\@offckb\cli\node_modules\cpu-features\deps'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\ajayh\AppData\Roaming\npm\node_modules@offckb\cli\node_modules\cpu-features
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node buildcheck.js > buildcheck.gypi && node-gyp rebuild
npm error C:\Users\ajayh\AppData\Roaming\npm\node_modules@offckb\cli\node_modules\buildcheck\lib\index.js:133
npm error throw new Error('Unable to detect compiler type');
npm error ^
npm error
npm error Error: Unable to detect compiler type
npm error at new BuildEnvironment (C:\Users\ajayh\AppData\Roaming\npm\node_modules@offckb\cli\node_modules\buildcheck\lib\index.js:133:15)
npm error at Object. (C:\Users\ajayh\AppData\Roaming\npm\node_modules@offckb\cli\node_modules\cpu-features\buildcheck.js:5:12)
npm error at Module._compile (node:internal/modules/cjs/loader:1760:14)
npm error at Object..js (node:internal/modules/cjs/loader:1893:10)
npm error at Module.load (node:internal/modules/cjs/loader:1480:32)
npm error at Module._load (node:internal/modules/cjs/loader:1299:12)
npm error at TracingChannel.traceSync (node:diagnostics_channel:328:14)
npm error at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
npm error at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
npm error at node:internal/main/run_main_module:33:47
npm error
npm error Node.js v24.11.0
npm error A complete log of this run can be found in: C:\Users\ajayh\AppData\Local\npm-cache_logs\2025-12-23T23_37_26_750Z-debug-0.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