Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

myaccount容器编译报错 #64

@cechaodeng

Description

@cechaodeng

是不是镜像的配置有问题

#14 102.4 npm ERR! code 1
#14 102.4 npm ERR! path /build/myaccount/node_modules/node-sass
#14 102.4 npm ERR! command failed
#14 102.4 npm ERR! command sh -c node scripts/build.js
#14 102.4 npm ERR! Building: /usr/local/bin/node /build/myaccount/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
#14 102.4 npm ERR! gyp info it worked if it ends with ok
#14 102.4 npm ERR! gyp verb cli [
#14 102.4 npm ERR! gyp verb cli '/usr/local/bin/node',
#14 102.4 npm ERR! gyp verb cli '/build/myaccount/node_modules/node-gyp/bin/node-gyp.js',
#14 102.4 npm ERR! gyp verb cli 'rebuild',
#14 102.4 npm ERR! gyp verb cli '--verbose',
#14 102.4 npm ERR! gyp verb cli '--libsass_ext=',
#14 102.4 npm ERR! gyp verb cli '--libsass_cflags=',
#14 102.4 npm ERR! gyp verb cli '--libsass_ldflags=',
#14 102.4 npm ERR! gyp verb cli '--libsass_library='
#14 102.4 npm ERR! gyp verb cli ]
#14 102.4 npm ERR! gyp info using [email protected]
#14 102.4 npm ERR! gyp info using [email protected] | linux | x64
#14 102.4 npm ERR! gyp verb command rebuild []
#14 102.4 npm ERR! gyp verb command clean []
#14 102.4 npm ERR! gyp verb clean removing "build" directory
#14 102.4 npm ERR! gyp verb command configure []
#14 102.4 npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
#14 102.4 npm ERR! gyp verb which failed Error: not found: python2
#14 102.4 npm ERR! gyp verb which failed at getNotFoundError (/build/myaccount/node_modules/which/which.js:13:12)
#14 102.4 npm ERR! gyp verb which failed at F (/build/myaccount/node_modules/which/which.js:68:19)
#14 102.4 npm ERR! gyp verb which failed at E (/build/myaccount/node_modules/which/which.js:80:29)
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/which/which.js:89:16
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/isexe/index.js:42:5
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/isexe/mode.js:8:5
#14 102.4 npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:198:21)
#14 102.4 npm ERR! gyp verb which failed python2 Error: not found: python2
#14 102.4 npm ERR! gyp verb which failed at getNotFoundError (/build/myaccount/node_modules/which/which.js:13:12)
#14 102.4 npm ERR! gyp verb which failed at F (/build/myaccount/node_modules/which/which.js:68:19)
#14 102.4 npm ERR! gyp verb which failed at E (/build/myaccount/node_modules/which/which.js:80:29)
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/which/which.js:89:16
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/isexe/index.js:42:5
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/isexe/mode.js:8:5
#14 102.4 npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:198:21) {
#14 102.4 npm ERR! gyp verb which failed code: 'ENOENT'
#14 102.4 npm ERR! gyp verb which failed }
#14 102.4 npm ERR! gyp verb check python checking for Python executable "python" in the PATH
#14 102.4 npm ERR! gyp verb which failed Error: not found: python
#14 102.4 npm ERR! gyp verb which failed at getNotFoundError (/build/myaccount/node_modules/which/which.js:13:12)
#14 102.4 npm ERR! gyp verb which failed at F (/build/myaccount/node_modules/which/which.js:68:19)
#14 102.4 npm ERR! gyp verb which failed at E (/build/myaccount/node_modules/which/which.js:80:29)
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/which/which.js:89:16
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/isexe/index.js:42:5
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/isexe/mode.js:8:5
#14 102.4 npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:198:21)
#14 102.4 npm ERR! gyp verb which failed python Error: not found: python
#14 102.4 npm ERR! gyp verb which failed at getNotFoundError (/build/myaccount/node_modules/which/which.js:13:12)
#14 102.4 npm ERR! gyp verb which failed at F (/build/myaccount/node_modules/which/which.js:68:19)
#14 102.4 npm ERR! gyp verb which failed at E (/build/myaccount/node_modules/which/which.js:80:29)
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/which/which.js:89:16
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/isexe/index.js:42:5
#14 102.4 npm ERR! gyp verb which failed at /build/myaccount/node_modules/isexe/mode.js:8:5
#14 102.4 npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:198:21) {
#14 102.4 npm ERR! gyp verb which failed code: 'ENOENT'
#14 102.4 npm ERR! gyp verb which failed }
#14 102.4 npm ERR! gyp ERR! configure error
#14 102.4 npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
#14 102.4 npm ERR! gyp ERR! stack at PythonFinder.failNoPython (/build/myaccount/node_modules/node-gyp/lib/configure.js:484:19)
#14 102.4 npm ERR! gyp ERR! stack at PythonFinder. (/build/myaccount/node_modules/node-gyp/lib/configure.js:406:16)
#14 102.4 npm ERR! gyp ERR! stack at F (/build/myaccount/node_modules/which/which.js:68:16)
#14 102.4 npm ERR! gyp ERR! stack at E (/build/myaccount/node_modules/which/which.js:80:29)
#14 102.4 npm ERR! gyp ERR! stack at /build/myaccount/node_modules/which/which.js:89:16
#14 102.4 npm ERR! gyp ERR! stack at /build/myaccount/node_modules/isexe/index.js:42:5
#14 102.4 npm ERR! gyp ERR! stack at /build/myaccount/node_modules/isexe/mode.js:8:5
#14 102.4 npm ERR! gyp ERR! stack at FSReqCallback.oncomplete (node:fs:198:21)
#14 102.4 npm ERR! gyp ERR! System Linux 5.10.76-linuxkit
#14 102.4 npm ERR! gyp ERR! command "/usr/local/bin/node" "/build/myaccount/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
#14 102.4 npm ERR! gyp ERR! cwd /build/myaccount/node_modules/node-sass
#14 102.4 npm ERR! gyp ERR! node -v v17.3.0
#14 102.4 npm ERR! gyp ERR! node-gyp -v v3.8.0
#14 102.4 npm ERR! gyp ERR! not ok
#14 102.4 npm ERR! Build failed with error code: 1

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