Загрузка...

ПОМОГИТЕ Code: MODULE_NOT_FOUND

Тема в разделе Node.js создана пользователем sdafree 21 авг 2023. 192 просмотра

  1. sdafree
    sdafree Автор темы 21 авг 2023 0 21 авг 2023
    > hashlips_art_engine@1.1.1 build
    > node index.js

    node:internal/modules/cjs/loader:1051
    throw err;
    ^

    Error: Cannot find module 'C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6/node_modules/sha1'
    Require stack:
    - C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\src\main.js
    - C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
    at Module._load (node:internal/modules/cjs/loader:901:27)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at Object.<anonymous> (C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\src\main.js:4:14)
    at Module._compile (node:internal/modules/cjs/loader:1233:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Module.require (node:internal/modules/cjs/loader:1115:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\\Users\\Freeman\\Desktop\\hashlips_art_engine-1.1.2_patch_v6\\hashlips_art_engine-1.1.2_patch_v6\\src\\main.js',
    'C:\\Users\\Freeman\\Desktop\\hashlips_art_engine-1.1.2_patch_v6\\hashlips_art_engine-1.1.2_patch_v6\\index.js'
     
  2. Roscom
    Roscom 21 авг 2023 lolz.live/threads/8868842/ Discord boost АВТОВЫДАЧА 272 27 июл 2018
     
  3. Gumus
    Брат, запусти npm install
     
  4. sdafree
    sdafree Автор темы 21 авг 2023 0 21 авг 2023
    спасибо что откликнулись. Щас скину че пишет после этой команды. )
     
  5. sdafree
    sdafree Автор темы 21 авг 2023 0 21 авг 2023
    PS C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6> npm install
    npm WARN old lockfile
    npm WARN old lockfile The package-lock.json file was created with an old version of npm,
    npm WARN old lockfile so supplemental metadata must be fetched from the registry.
    npm WARN old lockfile
    npm WARN old lockfile This is a one-time fix-up, please be patient...
    npm WARN old lockfile
    npm ERR! code 1
    npm ERR! path C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas
    npm ERR! command failed
    npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
    npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
    npm ERR! node-pre-gyp info it worked if it ends with ok
    npm ERR! node-pre-gyp info using node-pre-gyp@1.0.6
    npm ERR! node-pre-gyp info using node@20.5.1 | win32 | x64
    npm ERR! node-pre-gyp info check checked for "C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release\canvas.node" (not found)
    npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-...vas-v2.8.0-node-v115-win32-unknown-x64.tar.gz
    npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-...vas-v2.8.0-node-v115-win32-unknown-x64.tar.gz
    npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.8.0 and node@20.5.1 (node-v115 ABI, unknown) (falling back to source compile with node-gyp)
    npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-...vas-v2.8.0-node-v115-win32-unknown-x64.tar.gz
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@9.4.0
    npm ERR! gyp info using node@20.5.1 | win32 | x64
    npm ERR! gyp info ok
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@9.4.0
    npm ERR! gyp info using node@20.5.1 | win32 | x64
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
    npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
    npm ERR! gyp ERR! find Python checking if "python3" can be used
    npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
    npm ERR! gyp ERR! find Python checking if "python" can be used
    npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python39\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python39\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python39-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python38\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python38\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python38-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python37\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python37\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python37\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python37-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python37-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python37-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python36\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python36\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python36\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python36-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python36-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python36-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if the py launcher can be used to find Python 3
    npm ERR! gyp ERR! find Python - "py.exe" is not in PATH or produced an error
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! find Python **********************************************************
    npm ERR! gyp ERR! find Python You need to install the latest version of Python.
    npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
    npm ERR! gyp ERR! find Python you can try one of the following options:
    npm ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
    npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)
    npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
    npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
    npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
    npm ERR! gyp ERR! find Python For more information consult the documentation at:
    npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
    npm ERR! gyp ERR! find Python **********************************************************
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! configure error
    npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
    npm ERR! gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:330:47)
    npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:159:21)
    npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:228:18)
    npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:294:16)
    npm ERR! gyp ERR! stack at exithandler (node:child_process:429:5)
    npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:441:5)
    npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:514:28)
    npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:484:16)
    npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    npm ERR! gyp ERR! System Windows_NT 10.0.19045
    npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\Freeman\\Desktop\\hashlips_art_engine-1.1.2_patch_v6\\hashlips_art_engine-1.1.2_patch_v6\\node_modules\\canvas\\build\\Release\\canvas.node" "--module_name=canvas" "--module_path=C:\\Users\\Freeman\\Desktop\\hashlips_art_engine-1.1.2_patch_v6\\hashlips_art_engine-1.1.2_patch_v6\\node_modules\\canvas\\build\\Release" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v115"
    npm ERR! gyp ERR! cwd C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas
    npm ERR! gyp ERR! node -v v20.5.1
    npm ERR! gyp ERR! node-gyp -v v9.4.0
    npm ERR! gyp ERR! not ok
    npm ERR! node-pre-gyp ERR! build error
    npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
    npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
    npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:514:28)
    npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1105:16)
    npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:305:5)
    npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19045
    npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Freeman\\Desktop\\hashlips_art_engine-1.1.2_patch_v6\\hashlips_art_engine-1.1.2_patch_v6\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
    npm ERR! node-pre-gyp ERR! cwd C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas
    npm ERR! node-pre-gyp ERR! node -v v20.5.1
    npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.6
    npm ERR! node-pre-gyp ERR! not ok

    npm ERR! A complete log of this run can be found in: C:\Users\Freeman\AppData\Local\npm-cache\_logs\2023-08-21T16_07_15_439Z-debug-0.log
     
  6. Gumus
    Удали package-lock.json и запусти команду опять
     
    21 авг 2023 Изменено
  7. sdafree
    sdafree Автор темы 21 авг 2023 0 21 авг 2023
    ЭТО npm i
     
  8. sdafree
    sdafree Автор темы 21 авг 2023 0 21 авг 2023
    PS C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6> npm i
    npm WARN old lockfile
    npm WARN old lockfile The package-lock.json file was created with an old version of npm,
    npm WARN old lockfile so supplemental metadata must be fetched from the registry.
    npm WARN old lockfile
    npm WARN old lockfile This is a one-time fix-up, please be patient...
    npm WARN old lockfile
    npm ERR! code 1
    npm ERR! path C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas
    npm ERR! command failed
    npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
    npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
    npm ERR! node-pre-gyp info it worked if it ends with ok
    npm ERR! node-pre-gyp info using node-pre-gyp@1.0.6
    npm ERR! node-pre-gyp info using node@20.5.1 | win32 | x64
    npm ERR! node-pre-gyp info check checked for "C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release\canvas.node" (not found)
    npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-...vas-v2.8.0-node-v115-win32-unknown-x64.tar.gz
    npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-...vas-v2.8.0-node-v115-win32-unknown-x64.tar.gz
    npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.8.0 and node@20.5.1 (node-v115 ABI, unknown) (falling back to source compile with node-gyp)
    npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-...vas-v2.8.0-node-v115-win32-unknown-x64.tar.gz
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@9.4.0
    npm ERR! gyp info using node@20.5.1 | win32 | x64
    npm ERR! gyp info ok
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@9.4.0
    npm ERR! gyp info using node@20.5.1 | win32 | x64
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
    npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
    npm ERR! gyp ERR! find Python checking if "python3" can be used
    npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
    npm ERR! gyp ERR! find Python checking if "python" can be used
    npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python39\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python39\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python39-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python38\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python38\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python38-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python37\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python37\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python37\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python37-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python37-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python37-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python36\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python36\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python36\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python36-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python36-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python36-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if the py launcher can be used to find Python 3
    npm ERR! gyp ERR! find Python - "py.exe" is not in PATH or produced an error
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! find Python **********************************************************
    npm ERR! gyp ERR! find Python You need to install the latest version of Python.
    npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
    npm ERR! gyp ERR! find Python you can try one of the following options:
    npm ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
    npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)
    npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
    npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
    npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
    npm ERR! gyp ERR! find Python For more information consult the documentation at:
    npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
    npm ERR! gyp ERR! find Python **********************************************************
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! configure error
    npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
    npm ERR! gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:330:47)
    npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:159:21)
    npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:228:18)
    npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:294:16)
    npm ERR! gyp ERR! stack at exithandler (node:child_process:429:5)
    npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:441:5)
    npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:514:28)
    npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:484:16)
    npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    npm ERR! gyp ERR! System Windows_NT 10.0.19045
    npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\Freeman\\Desktop\\hashlips_art_engine-1.1.2_patch_v6\\hashlips_art_engine-1.1.2_patch_v6\\node_modules\\canvas\\build\\Release\\canvas.node" "--module_name=canvas" "--module_path=C:\\Users\\Freeman\\Desktop\\hashlips_art_engine-1.1.2_patch_v6\\hashlips_art_engine-1.1.2_patch_v6\\node_modules\\canvas\\build\\Release" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v115"
    npm ERR! gyp ERR! cwd C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas
    npm ERR! gyp ERR! node -v v20.5.1
    npm ERR! gyp ERR! node-gyp -v v9.4.0
    npm ERR! gyp ERR! not ok
    npm ERR! node-pre-gyp ERR! build error
    npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
    npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
    npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:514:28)
    npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1105:16)
    npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:305:5)
    npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19045
    npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Freeman\\Desktop\\hashlips_art_engine-1.1.2_patch_v6\\hashlips_art_engine-1.1.2_patch_v6\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
    npm ERR! node-pre-gyp ERR! cwd C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas
    npm ERR! node-pre-gyp ERR! node -v v20.5.1
    npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.6
    npm ERR! node-pre-gyp ERR! not ok

    npm ERR! A complete log of this run can be found in: C:\Users\Freeman\AppData\Local\npm-cache\_logs\2023-08-21T16_08_58_219Z-debug-0.log
    --- Сообщение объединено с предыдущим 21 авг 2023
    Удали package-lock.json и запусти команду опять я если честно не смогу это сделать, я новичок(( Подскажите как? СПС
     
    1. Gumus
      sdafree, В папке должен быть файл package-lock.json. Удали его и снова запусти npm install
  9. sdafree
    sdafree Автор темы 21 авг 2023 0 21 авг 2023
    сек
    --- Сообщение объединено с предыдущим 21 авг 2023
    удалил точно!
    --- Сообщение объединено с предыдущим 21 авг 2023
    удалил точно
     
  10. sdafree
    sdafree Автор темы 21 авг 2023 0 21 авг 2023
    PS C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6> npm install
    npm ERR! code 1
    npm ERR! path C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas
    npm ERR! command failed
    npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
    npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
    npm ERR! node-pre-gyp info it worked if it ends with ok
    npm ERR! node-pre-gyp info using node-pre-gyp@1.0.6
    npm ERR! node-pre-gyp info using node@20.5.1 | win32 | x64
    npm ERR! node-pre-gyp info check checked for "C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release\canvas.node" (not found)
    npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-...vas-v2.8.0-node-v115-win32-unknown-x64.tar.gz
    npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-...as-v2.8.0-node-v115-win32-unknown-x64.tar.gz
    npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.8.0 and node@20.5.1 (node-v115 ABI, unknown) (falling back to source compile with node-gyp)
    npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-...as-v2.8.0-node-v115-win32-unknown-x64.tar.gz
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@9.4.0
    npm ERR! gyp info using node@20.5.1 | win32 | x64
    npm ERR! gyp info ok
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@9.4.0
    npm ERR! gyp info using node@20.5.1 | win32 | x64
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
    npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
    npm ERR! gyp ERR! find Python checking if "python3" can be used
    npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
    npm ERR! gyp ERR! find Python checking if "python" can be used
    npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python39\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python39\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python39-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python38\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python38\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python38-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python37\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python37\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python37\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python37-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python37-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python37-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python36\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python36\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python36\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Users\Freeman\AppData\Local\Programs\Python\Python36-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Users\Freeman\AppData\Local\Programs\Python\Python36-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files\Python36-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exe
    npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be run
    npm ERR! gyp ERR! find Python checking if the py launcher can be used to find Python 3
    npm ERR! gyp ERR! find Python - "py.exe" is not in PATH or produced an error
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! find Python **********************************************************
    npm ERR! gyp ERR! find Python You need to install the latest version of Python.
    npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
    npm ERR! gyp ERR! find Python you can try one of the following options:
    npm ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
    npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)
    npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
    npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
    npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
    npm ERR! gyp ERR! find Python For more information consult the documentation at:
    npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
    npm ERR! gyp ERR! find Python **********************************************************
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! configure error
    npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
    npm ERR! gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:330:47)
    npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:159:21)
    npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:228:18)
    npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:294:16)
    npm ERR! gyp ERR! stack at exithandler (node:child_process:429:5)
    npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:441:5)
    npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:514:28)
    npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:484:16)
    npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    npm ERR! gyp ERR! System Windows_NT 10.0.19045
    npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\Freeman\\Desktop\\hashlips_art_engine-1.1.2_patch_v6\\hashlips_art_engine-1.1.2_patch_v6\\node_modules\\canvas\\build\\Release\\canvas.node" "--module_name=canvas" "--module_path=C:\\Users\\Freeman\\Desktop\\hashlips_art_engine-1.1.2_patch_v6\\hashlips_art_engine-1.1.2_patch_v6\\node_modules\\canvas\\build\\Release" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v115"
    npm ERR! gyp ERR! cwd C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas
    npm ERR! gyp ERR! node -v v20.5.1
    npm ERR! gyp ERR! node-gyp -v v9.4.0
    npm ERR! gyp ERR! not ok
    npm ERR! node-pre-gyp ERR! build error
    npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas\build\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
    npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
    npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:514:28)
    npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1105:16)
    npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:305:5)
    npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19045
    npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Freeman\\Desktop\\hashlips_art_engine-1.1.2_patch_v6\\hashlips_art_engine-1.1.2_patch_v6\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
    npm ERR! node-pre-gyp ERR! cwd C:\Users\Freeman\Desktop\hashlips_art_engine-1.1.2_patch_v6\hashlips_art_engine-1.1.2_patch_v6\node_modules\canvas
    npm ERR! node-pre-gyp ERR! node -v v20.5.1
    npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.6
    npm ERR! node-pre-gyp ERR! not ok

    npm ERR! A complete log of this run can be found in: C:\Users\Freeman\AppData\Local\npm-cache\_logs\2023-08-21T16_13_29_178Z-debug-0.log
     
  11. Gumus
    На этом мои полномочия всё
     
  12. sdafree
    sdafree Автор темы 21 авг 2023 0 21 авг 2023
    он тут постоянно обращается к питону!? зачем...
    --- Сообщение объединено с предыдущим 21 авг 2023
    Gumus спасибо что уделил время)
     
    1. constsvetlov
      sdafree, Зависимость такая, ставь питон что ли разн он его найти не может
Загрузка...
Top