Help

Installation Failed - Need help on solving installation issues of blocks-cli on Windows

1003 1
cancel
Showing results for 
Search instead for 
Did you mean: 
XiscoCS
4 - Data Explorer
4 - Data Explorer

Following is the error I encounter : 

 

npm warn deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated osenv@0.1.5: This package is no longer supported.
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 are-we-there-yet@1.1.7: This package is no longer supported.
npm warn deprecated npmlog@4.1.2: This package is no longer supported.
npm warn deprecated gauge@2.7.4: This package is no longer supported.
npm warn deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
npm warn deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
npm warn deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm warn deprecated @oclif/parser@3.8.17: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated @oclif/errors@1.3.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated @oclif/config@1.18.17: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\@airtable\\blocks-cli\\node_modules\\@oclif',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\pabel\AppData\Roaming\npm\node_modules\@airtable\blocks-cli\node_modules\@oclif\core\node_modules\chalk\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\@airtable\\blocks-cli\\node_modules\\@oclif\\core\\node_modules\\chalk\\node_modules'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\@airtable\\blocks-cli\\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\pabel\AppData\Roaming\npm\node_modules\@airtable\blocks-cli\node_modules\browser-resolve\node_modules\resolve\test\pathfilter\deep_ref\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\@airtable\\blocks-cli\\node_modules\\browser-resolve\\node_modules\\resolve\\test\\pathfilter\\deep_ref\\node_modules'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\@airtable\\blocks-cli\\node_modules\\browser-resolve',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\pabel\AppData\Roaming\npm\node_modules\@airtable\blocks-cli\node_modules\browser-resolve\node_modules\resolve\test\pathfilter\deep_ref'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\@airtable\\blocks-cli\\node_modules\\browser-resolve\\node_modules\\resolve\\test\\pathfilter\\deep_ref'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\@airtable\\blocks-cli',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\pabel\AppData\Roaming\npm\node_modules\@airtable\blocks-cli\node_modules\browser-resolve\node_modules\resolve\test\subdirs'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\@airtable\\blocks-cli\\node_modules\\browser-resolve\\node_modules\\resolve\\test\\subdirs'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\pabel\AppData\Roaming\npm\node_modules\@airtable\blocks-cli\node_modules\fsevents
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@10.1.0
npm error gyp info using node@20.16.0 | win32 | x64
npm error gyp info find Python using Python version 3.10.10 found at "C:\Users\pabel\AppData\Local\Programs\Python\Python310\python.exe"
npm error gyp info find VS using VS2022 (17.9.34607.119) found at:
npm error gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm error gyp info find VS run with --verbose for detailed information
npm error gyp info spawn C:\Users\pabel\AppData\Local\Programs\Python\Python310\python.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'msvs',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\@airtable\\blocks-cli\\node_modules\\fsevents\\build\\config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\pabel\\AppData\\Local\\node-gyp\\Cache\\20.16.0\\include\\node\\common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=C:\\Users\\pabel\\AppData\\Local\\node-gyp\\Cache\\20.16.0',
npm error gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\pabel\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\20.16.0\\\\<(target_arch)\\\\node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\@airtable\\blocks-cli\\node_modules\\fsevents',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\@airtable\\blocks-cli\\node_modules\\fsevents\\build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp: binding.gyp not found (cwd: C:\Users\pabel\AppData\Roaming\npm\node_modules\@airtable\blocks-cli\node_modules\fsevents) while trying to load binding.gyp
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: `gyp` failed with exit code: 1
npm error gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\pabel\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:297:18)
npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm error gyp ERR! System Windows_NT 10.0.22631
npm error gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\pabel\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm error gyp ERR! cwd C:\Users\pabel\AppData\Roaming\npm\node_modules\@airtable\blocks-cli\node_modules\fsevents
npm error gyp ERR! node -v v20.16.0
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\pabel\AppData\Local\npm-cache\_logs\2024-08-02T07_54_03_273Z-debug-0.log

1 Reply 1

Hi,
not sure, but maybe it's a version problem.
according to guide:

  • You have Node.js installed. You'll need Node 14 or Node 12.14-12.22. You can download it from Node's website or use a package manager. If you're not sure how to install Node, we recommend nvm on macOS and Linux and its Windows port.

    It seems like you installed v.20

    To be honest, it was long time ago when I did a remix of Airtable application, maybe other guide exists.
    In the past, I had some issues when I tried to install Node version 16 or 17 and I had to move to a version written in guide.
    But after that I had successfully remixed the extension under node v18.9.0
    After block install it printed few minor errors with a command how to fix them, I executed a command and it worked.