Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed the build task #8

Open
macagua opened this issue Jan 15, 2023 · 0 comments
Open

Failed the build task #8

macagua opened this issue Jan 15, 2023 · 0 comments

Comments

@macagua
Copy link

macagua commented Jan 15, 2023

When execute the command make build showed the following command:

docker image build . -t sui-theme-build
Sending build context to Docker daemon  5.615MB
Step 1/5 : FROM node:10
 ---> 28dca6642db8
Step 2/5 : COPY . /indico-sui-theme
 ---> 7bba4f0cbe6a
Step 3/5 : WORKDIR /indico-sui-theme
 ---> Running in cc8b1eace55c
Removing intermediate container cc8b1eace55c
 ---> 5b2edad993a1
Step 4/5 : ENTRYPOINT ["/bin/bash"]
 ---> Running in 9a8027006021
Removing intermediate container 9a8027006021
 ---> 29413ae756a1
Step 5/5 : CMD ["build.sh"]
 ---> Running in ffab7eaac248
Removing intermediate container ffab7eaac248
 ---> cc695175d3d3
Successfully built cc695175d3d3
Successfully tagged sui-theme-build:latest
docker container run \
 -it \
 --rm \
 --name sui-theme-build-container \
 --mount type=bind,src="`pwd`/semantic.css",target=/indico-sui-theme/semantic.css \
 --mount type=bind,src="`pwd`/semantic.js",target=/indico-sui-theme/semantic.js \
 --mount type=bind,src="`pwd`/semantic.min.css",target=/indico-sui-theme/semantic.min.css \
 --mount type=bind,src="`pwd`/semantic.min.js",target=/indico-sui-theme/semantic.min.js \
 sui-theme-build
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN notsup Unsupported engine for del@7.0.0: wanted: {"node":">=14.16"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: del@7.0.0
npm WARN notsup Unsupported engine for gulp-autoprefixer@8.0.0: wanted: {"node":">=12"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: gulp-autoprefixer@8.0.0
npm WARN notsup Unsupported engine for globby@13.1.3: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: globby@13.1.3
npm WARN notsup Unsupported engine for is-path-cwd@3.0.0: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: is-path-cwd@3.0.0
npm WARN notsup Unsupported engine for is-path-inside@4.0.0: wanted: {"node":">=12"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: is-path-inside@4.0.0
npm WARN notsup Unsupported engine for p-map@5.5.0: wanted: {"node":">=12"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: p-map@5.5.0
npm WARN notsup Unsupported engine for slash@4.0.0: wanted: {"node":">=12"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: slash@4.0.0
npm WARN notsup Unsupported engine for slash@4.0.0: wanted: {"node":">=12"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: slash@4.0.0
npm WARN notsup Unsupported engine for aggregate-error@4.0.1: wanted: {"node":">=12"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: aggregate-error@4.0.1
npm WARN notsup Unsupported engine for clean-stack@4.2.0: wanted: {"node":">=12"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: clean-stack@4.2.0
npm WARN notsup Unsupported engine for indent-string@5.0.0: wanted: {"node":">=12"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: indent-string@5.0.0
npm WARN notsup Unsupported engine for escape-string-regexp@5.0.0: wanted: {"node":">=12"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: escape-string-regexp@5.0.0
npm WARN notsup Unsupported engine for glob@8.1.0: wanted: {"node":">=12"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: glob@8.1.0
npm WARN notsup Unsupported engine for nopt@6.0.0: wanted: {"node":"^12.13.0 || ^14.15.0 || >=16.0.0"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: nopt@6.0.0
npm WARN indico-sui-theme@0.0.7 No repository field.

added 690 packages from 400 contributors and audited 692 packages in 21.543s

44 packages are looking for funding
  run `npm fund` for details

found 11 vulnerabilities (2 low, 8 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
/usr/local/bin/gulp -> /usr/local/lib/node_modules/gulp-cli/bin/gulp.js

> es5-ext@0.10.62 postinstall /usr/local/lib/node_modules/gulp-cli/node_modules/es5-ext
>  node -e "try{require('./_postinstall')}catch(e){}" || exit 0

+ gulp-cli@2.3.0
added 254 packages from 165 contributors in 4.389s
/indico-sui-theme/node_modules/del/index.js:1
import {promisify} from 'node:util';
       ^

SyntaxError: Unexpected token {
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/indico-sui-theme/gulpfile.js:4:13)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
make: *** [Makefile:5: build] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant