Skip to content

Raisly CLI install error #58

@simonvelk

Description

@simonvelk

I have been hesitant about adding this because I am sure I am doing something stupid - but when I run npm install @raisely/cli -g in the terminal, I get a massive list of errors. I am on Node.JS v22. Error list included below.

Am I missing something else that needs to be installed? I have the latest version of Python installed so not sure why that is bringing up errors too.

Sorry if this is a really stupid issue and I am missing something obvious. Appreciate there is a lot of errors listed here an I ma not expecting a forensic review - just wondering if anyone else has come across something similar.


npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
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 @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
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 npmlog@6.0.2: This package is no longer supported.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@8.1.0: 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 glob@7.1.7: Glob versions prior to v9 are no longer supported
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated node-sass@9.0.0: Node Sass is no longer supported. Please use sass or sass-embedded instead.
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'C:\Users\name\AppData\Roaming\npm\node_modules\@raisely\cli',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules@babel\core\src'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\name\AppData\Roaming\npm\node_modules\@raisely\cli\node_modules\@babel\core\src'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup '\\?\C:\Users\name\AppData\Roaming\npm\node_modules\@raisely\cli\node_modules\resolve',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\resolve\test'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\name\AppData\Roaming\npm\node_modules\@raisely\cli\node_modules\resolve\test'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup '\\?\C:\Users\name\AppData\Roaming\npm\node_modules\@raisely\cli\node_modules\node-gyp',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-gyp'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\name\AppData\Roaming\npm\node_modules\@raisely\cli\node_modules\node-gyp'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup '\\?\C:\Users\name\AppData\Roaming\npm\node_modules\@raisely\cli',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\name\AppData\Roaming\npm\node_modules\@raisely\cli\node_modules'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-sass
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/build.js
npm error Binary found at C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-sass\vendor\win32-x64-127\binding.node
npm error Testing binary
npm error Binary has a problem: Error: \?\C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-sass\vendor\win32-x64-127\binding.node is not a valid Win32 application.
npm error \?\C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-sass\vendor\win32-x64-127\binding.node
npm error at Object..node (node:internal/modules/cjs/loader:1725:18)
npm error at Module.load (node:internal/modules/cjs/loader:1313:32)
npm error at Function._load (node:internal/modules/cjs/loader:1123:12)
npm error at TracingChannel.traceSync (node:diagnostics_channel:322:14)
npm error at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
npm error at Module.require (node:internal/modules/cjs/loader:1335:12)
npm error at require (node:internal/modules/helpers:136:16)
npm error at module.exports (C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-sass\lib\binding.js:19:10)
npm error at Object. (C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-sass\lib\index.js:13:35)
npm error at Module._compile (node:internal/modules/cjs/loader:1562:14) {
npm error code: 'ERR_DLOPEN_FAILED'
npm error }
npm error Building the binary locally
npm error Building: C:\Program Files\nodejs\node.exe C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm error gyp info it worked if it ends with ok
npm error gyp verb cli [
npm error gyp verb cli 'C:\Program Files\nodejs\node.exe',
npm error gyp verb cli 'C:\Users\name\AppData\Roaming\npm\node_modules\@raisely\cli\node_modules\node-gyp\bin\node-gyp.js',
npm error gyp verb cli 'rebuild',
npm error gyp verb cli '--verbose',
npm error gyp verb cli '--libsass_ext=',
npm error gyp verb cli '--libsass_cflags=',
npm error gyp verb cli '--libsass_ldflags=',
npm error gyp verb cli '--libsass_library='
npm error gyp verb cli ]
npm error gyp info using node-gyp@8.4.1
npm error gyp info using node@22.13.1 | win32 | x64
npm error gyp verb command rebuild []
npm error gyp verb command clean []
npm error gyp verb clean removing "build" directory
npm error gyp verb command configure []
npm error gyp verb find Python Python is not set from command line or npm configuration
npm error gyp verb find Python Python is not set from environment variable PYTHON
npm error gyp verb find Python checking if "python3" can be used
npm error gyp verb find Python - executing "python3" to get executable path
npm error (node:8820) [DEP0060] DeprecationWarning: The util._extend API is deprecated. Please use Object.assign() instead.
npm error (Use node --trace-deprecation ... to show where the warning was created)
npm error gyp verb find Python - "python3" is not in PATH or produced an error
npm error gyp verb find Python checking if "python" can be used
npm error gyp verb find Python - executing "python" to get executable path
npm error gyp verb find Python - "python" is not in PATH or produced an error
npm error gyp verb find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python39\python.exe
npm error gyp verb find Python - executing "C:\Users\name\AppData\Local\Programs\Python\Python39\python.exe" to get version
npm error gyp verb find Python - "C:\Users\name\AppData\Local\Programs\Python\Python39\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files\Python39\python.exe
npm error gyp verb find Python - executing "C:\Program Files\Python39\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files\Python39\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python39-32\python.exe
npm error gyp verb find Python - executing "C:\Users\name\AppData\Local\Programs\Python\Python39-32\python.exe" to get version
npm error gyp verb find Python - "C:\Users\name\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files\Python39-32\python.exe
npm error gyp verb find Python - executing "C:\Program Files\Python39-32\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files\Python39-32\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe
npm error gyp verb find Python - executing "C:\Program Files (x86)\Python39-32\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python38\python.exe
npm error gyp verb find Python - executing "C:\Users\name\AppData\Local\Programs\Python\Python38\python.exe" to get version
npm error gyp verb find Python - "C:\Users\name\AppData\Local\Programs\Python\Python38\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files\Python38\python.exe
npm error gyp verb find Python - executing "C:\Program Files\Python38\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files\Python38\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python38-32\python.exe
npm error gyp verb find Python - executing "C:\Users\name\AppData\Local\Programs\Python\Python38-32\python.exe" to get version
npm error gyp verb find Python - "C:\Users\name\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files\Python38-32\python.exe
npm error gyp verb find Python - executing "C:\Program Files\Python38-32\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files\Python38-32\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe
npm error gyp verb find Python - executing "C:\Program Files (x86)\Python38-32\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python37\python.exe
npm error gyp verb find Python - executing "C:\Users\name\AppData\Local\Programs\Python\Python37\python.exe" to get version
npm error gyp verb find Python - "C:\Users\name\AppData\Local\Programs\Python\Python37\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files\Python37\python.exe
npm error gyp verb find Python - executing "C:\Program Files\Python37\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files\Python37\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python37-32\python.exe
npm error gyp verb find Python - executing "C:\Users\name\AppData\Local\Programs\Python\Python37-32\python.exe" to get version
npm error gyp verb find Python - "C:\Users\name\AppData\Local\Programs\Python\Python37-32\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files\Python37-32\python.exe
npm error gyp verb find Python - executing "C:\Program Files\Python37-32\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files\Python37-32\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exe
npm error gyp verb find Python - executing "C:\Program Files (x86)\Python37-32\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python36\python.exe
npm error gyp verb find Python - executing "C:\Users\name\AppData\Local\Programs\Python\Python36\python.exe" to get version
npm error gyp verb find Python - "C:\Users\name\AppData\Local\Programs\Python\Python36\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files\Python36\python.exe
npm error gyp verb find Python - executing "C:\Program Files\Python36\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files\Python36\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python36-32\python.exe
npm error gyp verb find Python - executing "C:\Users\name\AppData\Local\Programs\Python\Python36-32\python.exe" to get version
npm error gyp verb find Python - "C:\Users\name\AppData\Local\Programs\Python\Python36-32\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files\Python36-32\python.exe
npm error gyp verb find Python - executing "C:\Program Files\Python36-32\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files\Python36-32\python.exe" could not be run
npm error gyp verb find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exe
npm error gyp verb find Python - executing "C:\Program Files (x86)\Python36-32\python.exe" to get version
npm error gyp verb find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be run
npm error gyp verb find Python checking if the py launcher can be used to find Python 3
npm error gyp verb find Python - executing "py.exe" to get Python 3 executable path
npm error gyp verb find Python - "py.exe" is not in PATH or produced an error
npm error gyp ERR! find Python
npm error gyp ERR! find Python Python is not set from command line or npm configuration
npm error gyp ERR! find Python Python is not set from environment variable PYTHON
npm error gyp ERR! find Python checking if "python3" can be used
npm error gyp ERR! find Python - "python3" is not in PATH or produced an error
npm error gyp ERR! find Python checking if "python" can be used
npm error gyp ERR! find Python - "python" is not in PATH or produced an error
npm error gyp ERR! find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python39\python.exe
npm error gyp ERR! find Python - "C:\Users\name\AppData\Local\Programs\Python\Python39\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe
npm error gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python39-32\python.exe
npm error gyp ERR! find Python - "C:\Users\name\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe
npm error gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe
npm error gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python38\python.exe
npm error gyp ERR! find Python - "C:\Users\name\AppData\Local\Programs\Python\Python38\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe
npm error gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python38-32\python.exe
npm error gyp ERR! find Python - "C:\Users\name\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe
npm error gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe
npm error gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python37\python.exe
npm error gyp ERR! find Python - "C:\Users\name\AppData\Local\Programs\Python\Python37\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files\Python37\python.exe
npm error gyp ERR! find Python - "C:\Program Files\Python37\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python37-32\python.exe
npm error gyp ERR! find Python - "C:\Users\name\AppData\Local\Programs\Python\Python37-32\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files\Python37-32\python.exe
npm error gyp ERR! find Python - "C:\Program Files\Python37-32\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exe
npm error gyp ERR! find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python36\python.exe
npm error gyp ERR! find Python - "C:\Users\name\AppData\Local\Programs\Python\Python36\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files\Python36\python.exe
npm error gyp ERR! find Python - "C:\Program Files\Python36\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Users\name\AppData\Local\Programs\Python\Python36-32\python.exe
npm error gyp ERR! find Python - "C:\Users\name\AppData\Local\Programs\Python\Python36-32\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files\Python36-32\python.exe
npm error gyp ERR! find Python - "C:\Program Files\Python36-32\python.exe" could not be run
npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exe
npm error gyp ERR! find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be run
npm error gyp ERR! find Python checking if the py launcher can be used to find Python 3
npm error gyp ERR! find Python - "py.exe" is not in PATH or produced an error
npm error gyp ERR! find Python
npm error gyp ERR! find Python **********************************************************
npm error gyp ERR! find Python You need to install the latest version of Python.
npm error gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
npm error gyp ERR! find Python you can try one of the following options:
npm error gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
npm error gyp ERR! find Python (accepted by both node-gyp and npm)
npm error gyp ERR! find Python - Set the environment variable PYTHON
npm error gyp ERR! find Python - Set the npm configuration variable python:
npm error gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
npm error gyp ERR! find Python For more information consult the documentation at:
npm error gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
npm error gyp ERR! find Python **********************************************************
npm error gyp ERR! find Python
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: Could not find any Python installation to use
npm error gyp ERR! stack at PythonFinder.fail (C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-gyp\lib\find-python.js:330:47)
npm error gyp ERR! stack at PythonFinder.runChecks (C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-gyp\lib\find-python.js:159:21)
npm error gyp ERR! stack at PythonFinder. (C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-gyp\lib\find-python.js:228:18)
npm error gyp ERR! stack at PythonFinder.execFileCallback (C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-gyp\lib\find-python.js:294:16)
npm error gyp ERR! stack at exithandler (node:child_process:421:5)
npm error gyp ERR! stack at ChildProcess.errorhandler (node:child_process:433:5)
npm error gyp ERR! stack at ChildProcess.emit (node:events:524:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm error gyp ERR! stack at onErrorNT (node:internal/child_process:483:16)
npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
npm error gyp ERR! System Windows_NT 10.0.26100
npm error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\name\AppData\Roaming\npm\node_modules\@raisely\cli\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm error gyp ERR! cwd C:\Users\name\AppData\Roaming\npm\node_modules@raisely\cli\node_modules\node-sass
npm error gyp ERR! node -v v22.13.1
npm error gyp ERR! node-gyp -v v8.4.1
npm error gyp ERR! not ok

Metadata

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