wpdir icon indicating copy to clipboard operation
wpdir copied to clipboard

build issues

Open random-robbie opened this issue 2 years ago • 0 comments

docker build -t wpdir .

15.52 npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
16.19 npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
16.19 npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
19.52 npm notice
19.52 npm notice New minor version of npm available! 10.2.4 -> 10.4.0
19.52 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
19.52 npm notice Run `npm install -g [email protected]` to update!
19.52 npm notice
19.52 npm ERR! code 1
19.52 npm ERR! path /web/node_modules/node-sass
19.53 npm ERR! command failed
19.53 npm ERR! command sh -c node scripts/build.js
19.53 npm ERR! Building: /usr/local/bin/node /web/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
19.53 npm ERR! gyp info it worked if it ends with ok
19.53 npm ERR! gyp verb cli [
19.53 npm ERR! gyp verb cli   '/usr/local/bin/node',
19.53 npm ERR! gyp verb cli   '/web/node_modules/node-gyp/bin/node-gyp.js',
19.53 npm ERR! gyp verb cli   'rebuild',
19.53 npm ERR! gyp verb cli   '--verbose',
19.53 npm ERR! gyp verb cli   '--libsass_ext=',
19.53 npm ERR! gyp verb cli   '--libsass_cflags=',
19.53 npm ERR! gyp verb cli   '--libsass_ldflags=',
19.53 npm ERR! gyp verb cli   '--libsass_library='
19.53 npm ERR! gyp verb cli ]
19.53 npm ERR! gyp info using [email protected]
19.53 npm ERR! gyp info using [email protected] | linux | arm64
19.53 npm ERR! gyp verb command rebuild []
19.53 npm ERR! gyp verb command clean []
19.53 npm ERR! gyp verb clean removing "build" directory
19.53 npm ERR! gyp verb command configure []
19.53 npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
19.53 npm ERR! gyp verb `which` failed Error: not found: python2
19.53 npm ERR! gyp verb `which` failed     at getNotFoundError (/web/node_modules/which/which.js:13:12)
19.53 npm ERR! gyp verb `which` failed     at F (/web/node_modules/which/which.js:68:19)
19.53 npm ERR! gyp verb `which` failed     at E (/web/node_modules/which/which.js:80:29)
19.53 npm ERR! gyp verb `which` failed     at /web/node_modules/which/which.js:89:16
19.53 npm ERR! gyp verb `which` failed     at /web/node_modules/isexe/index.js:42:5
19.53 npm ERR! gyp verb `which` failed     at /web/node_modules/isexe/mode.js:8:5
19.53 npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:204:21)
19.53 npm ERR! gyp verb `which` failed  python2 Error: not found: python2
19.53 npm ERR! gyp verb `which` failed     at getNotFoundError (/web/node_modules/which/which.js:13:12)
19.53 npm ERR! gyp verb `which` failed     at F (/web/node_modules/which/which.js:68:19)
19.53 npm ERR! gyp verb `which` failed     at E (/web/node_modules/which/which.js:80:29)
19.53 npm ERR! gyp verb `which` failed     at /web/node_modules/which/which.js:89:16
19.53 npm ERR! gyp verb `which` failed     at /web/node_modules/isexe/index.js:42:5
19.53 npm ERR! gyp verb `which` failed     at /web/node_modules/isexe/mode.js:8:5
19.53 npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:204:21) {
19.53 npm ERR! gyp verb `which` failed   code: 'ENOENT'
19.53 npm ERR! gyp verb `which` failed }
19.53 npm ERR! gyp verb check python checking for Python executable "python" in the PATH
19.53 npm ERR! gyp verb `which` failed Error: not found: python
19.53 npm ERR! gyp verb `which` failed     at getNotFoundError (/web/node_modules/which/which.js:13:12)
19.53 npm ERR! gyp verb `which` failed     at F (/web/node_modules/which/which.js:68:19)
19.53 npm ERR! gyp verb `which` failed     at E (/web/node_modules/which/which.js:80:29)
19.53 npm ERR! gyp verb `which` failed     at /web/node_modules/which/which.js:89:16
19.53 npm ERR! gyp verb `which` failed     at /web/node_modules/isexe/index.js:42:5
19.53 npm ERR! gyp verb `which` failed     at /web/node_modules/isexe/mode.js:8:5
19.53 npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:204:21)
19.53 npm ERR! gyp verb `which` failed  python Error: not found: python
19.53 npm ERR! gyp Build failed with error code: 1
19.53
19.53 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-01-30T15_50_31_798Z-debug-0.log
------
Dockerfile:5
--------------------
   3 |     ADD web/. /web/
   4 |     WORKDIR /web/
   5 | >>> RUN npm install
   6 |
   7 |     # Build Stage
--------------------
ERROR: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1

random-robbie avatar Jan 30 '24 15:01 random-robbie