OS info
- Operating System : Mac OSX 23.5.0
- Wappler Version : 6.7.0
Problem description
....=> ERROR [web 9/9] RUN npm install --no-optional --no-package-lock 11.3s
[web 9/9] RUN npm install --no-optional --no-package-lock:
0.156 npm warn config optional Use--omit=optional
to exclude optional dependencies, or
0.156 npm warn config--include=optional
to include them.
0.156 npm warn config
0.156 npm warn config Default value does install optional deps unless otherwise omitted.
11.22 npm notice
11.22 npm notice New minor version of npm available! 10.7.0 -> 10.8.1
11.22 npm notice Changelog: Release v10.8.1 · npm/cli · GitHub
11.22 npm notice To update run: npm install -g npm@10.8.1
11.22 npm notice
11.22 npm error code 1
11.22 npm error path /opt/node_app/node_modules/argon2
11.22 npm error command failed
11.22 npm error command sh -c node-gyp-build
11.22 npm error gyp info it worked if it ends with ok
11.22 npm error gyp info using node-gyp@10.1.0
11.22 npm error gyp info using node@18.20.3 | linux | arm64
11.22 npm error gyp ERR! find Python
11.22 npm error gyp ERR! find Python Python is not set from command line or npm configuration
11.22 npm error gyp ERR! find Python Python is not set from environment variable PYTHON
11.22 npm error gyp ERR! find Python checking if "python3" can be used
11.22 npm error gyp ERR! find Python - executable path is ""
11.22 npm error gyp ERR! find Python - "" could not be run
11.22 npm error gyp ERR! find Python checking if "python" can be used
11.22 npm error gyp ERR! find Python - executable path is ""
11.22 npm error gyp ERR! find Python - "" could not be run
11.22 npm error gyp ERR! find Python
11.22 npm error gyp ERR! find Python **********************************************************
11.22 npm error gyp ERR! find Python You need to install the latest version of Python.
11.22 npm error gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
11.22 npm error gyp ERR! find Python you can try one of the following options:
11.22 npm error gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
11.22 npm error gyp ERR! find Python (accepted by both node-gyp and npm)
11.22 npm error gyp ERR! find Python - Set the environment variable PYTHON
11.22 npm error gyp ERR! find Python - Set the npm configuration variable python:
11.22 npm error gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
11.22 npm error gyp ERR! find Python For more information consult the documentation at:
11.22 npm error gyp ERR! find Python GitHub - nodejs/node-gyp: Node.js native addon build tool
11.22 npm error gyp ERR! find Python **********************************************************
11.22 npm error gyp ERR! find Python
11.22 npm error gyp ERR! configure error
11.22 npm error gyp ERR! stack Error: Could not find any Python installation to use
11.22 npm error gyp ERR! stack at PythonFinder.fail (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:306:11)
11.22 npm error gyp ERR! stack at PythonFinder.findPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:164:17)
11.22 npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
11.22 npm error gyp ERR! stack at async configure (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:27:18)
11.22 npm error gyp ERR! stack at async run (/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:81:18)
11.22 npm error gyp ERR! System Linux 6.6.26-linuxkit
11.22 npm error gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
11.22 npm error gyp ERR! cwd /opt/node_app/node_modules/argon2
11.22 npm error gyp ERR! node -v v18.20.3
11.22 npm error gyp ERR! node-gyp -v v10.1.0
11.22 npm error gyp ERR! not ok
11.22
11.22 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-06-12T16_53_36_538Z-debug-0.log
failed to solve: process "/bin/sh -c npm install --no-optional --no-package-lock" did not complete successfully: exit code: 1
Error Launching Services!
Steps to reproduce
- Install 6.7
- Force Update App Connect and Components - Select All
- Force Update Serve Connect Framework - Select All