What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi Spryks! I’m wondering if anyone know’s why I can’t run sdk up without getting this error: ```Sec

U02P7B6K2LC
U02P7B6K2LC Posts: 121 🧑🏻‍🚀 - Cadet

Hi Spryks! I’m wondering if anyone know’s why I can’t run sdk up without getting this error:

Section build-static-development                                                                              


Command yves-build-frontend [vendor/bin/console frontend:yves:build] (0.8s)
Command zed-build-frontend [vendor/bin/console frontend:zed:build] (In progress...)
Store: DE | Environment: docker.dev
Install Project dependencies
Store: DE | Environment: docker.dev
Install Yves dependencies
Store: DE | Environment: docker.dev
Install Zed dependencies
Store: DE | Environment: docker.dev
Build Yves frontend
6.14.17
Store: DE | Environment: docker.dev
Build Zed frontend



  spryker-b2c-demo-shop@ zed /data

Comments

  • U02P7B6K2LC
    U02P7B6K2LC Posts: 121 🧑🏻‍🚀 - Cadet

    Getting this when we run

    npm install

    npm ERR! code 1
    npm ERR! path /Users/user/dev/poc1/node_modules/node-sass
    npm ERR! command failed
    npm ERR! command sh -c node scripts/build.js
    npm ERR! Building: /usr/local/bin/node /Users/user/dev/poc1/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp verb cli [
    npm ERR! gyp verb cli   '/usr/local/bin/node',
    npm ERR! gyp verb cli   '/Users/user/dev/poc1/node_modules/node-gyp/bin/node-gyp.js',
    npm ERR! gyp verb cli   'rebuild',
    npm ERR! gyp verb cli   '--verbose',
    npm ERR! gyp verb cli   '--libsass_ext=',
    npm ERR! gyp verb cli   '--libsass_cflags=',
    npm ERR! gyp verb cli   '--libsass_ldflags=',
    npm ERR! gyp verb cli   '--libsass_library='
    npm ERR! gyp verb cli ]
    npm ERR! gyp info using node-gyp@3.8.0
    npm ERR! gyp info using node@16.16.0 | darwin | arm64
    npm ERR! gyp verb command rebuild []
    npm ERR! gyp verb command clean []
    npm ERR! gyp verb clean removing "build" directory
    npm ERR! gyp verb command configure []
    npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
    npm ERR! gyp verb `which` failed Error: not found: python2
    npm ERR! gyp verb `which` failed     at getNotFoundError (/Users/user/dev/poc1/node_modules/which/which.js:13:12)
    npm ERR! gyp verb `which` failed     at F (/Users/user/dev/poc1/node_modules/which/which.js:68:19)
    npm ERR! gyp verb `which` failed     at E (/Users/user/dev/poc1/node_modules/which/which.js:80:29)
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/which/which.js:89:16
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/isexe/index.js:42:5
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/isexe/mode.js:8:5
    npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21)
    npm ERR! gyp verb `which` failed  python2 Error: not found: python2
    npm ERR! gyp verb `which` failed     at getNotFoundError (/Users/user/dev/poc1/node_modules/which/which.js:13:12)
    npm ERR! gyp verb `which` failed     at F (/Users/user/dev/poc1/node_modules/which/which.js:68:19)
    npm ERR! gyp verb `which` failed     at E (/Users/user/dev/poc1/node_modules/which/which.js:80:29)
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/which/which.js:89:16
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/isexe/index.js:42:5
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/isexe/mode.js:8:5
    npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21) {
    npm ERR! gyp verb `which` failed   code: 'ENOENT'
    npm ERR! gyp verb `which` failed }
    npm ERR! gyp verb check python checking for Python executable "python" in the PATH
    npm ERR! gyp verb `which` failed Error: not found: python
    npm ERR! gyp verb `which` failed     at getNotFoundError (/Users/user/dev/poc1/node_modules/which/which.js:13:12)
    npm ERR! gyp verb `which` failed     at F (/Users/user/dev/poc1/node_modules/which/which.js:68:19)
    npm ERR! gyp verb `which` failed     at E (/Users/user/dev/poc1/node_modules/which/which.js:80:29)
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/which/which.js:89:16
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/isexe/index.js:42:5
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/isexe/mode.js:8:5
    npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21)
    npm ERR! gyp verb `which` failed  python Error: not found: python
    npm ERR! gyp verb `which` failed     at getNotFoundError (/Users/user/dev/poc1/node_modules/which/which.js:13:12)
    npm ERR! gyp verb `which` failed     at F (/Users/user/dev/poc1/node_modules/which/which.js:68:19)
    npm ERR! gyp verb `which` failed     at E (/Users/user/dev/poc1/node_modules/which/which.js:80:29)
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/which/which.js:89:16
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/isexe/index.js:42:5
    npm ERR! gyp verb `which` failed     at /Users/user/dev/poc1/node_modules/isexe/mode.js:8:5
    npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21) {
    npm ERR! gyp verb `which` failed   code: 'ENOENT'
    npm ERR! gyp verb `which` failed }
    npm ERR! gyp ERR! configure error 
    npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
    npm ERR! gyp ERR! stack     at PythonFinder.failNoPython (/Users/user/dev/poc1/node_modules/node-gyp/lib/configure.js:484:19)
    npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (/Users/user/dev/poc1/node_modules/node-gyp/lib/configure.js:406:16)
    npm ERR! gyp ERR! stack     at F (/Users/user/dev/poc1/node_modules/which/which.js:68:16)
    npm ERR! gyp ERR! stack     at E (/Users/user/dev/poc1/node_modules/which/which.js:80:29)
    npm ERR! gyp ERR! stack     at /Users/user/dev/poc1/node_modules/which/which.js:89:16
    npm ERR! gyp ERR! stack     at /Users/user/dev/poc1/node_modules/isexe/index.js:42:5
    npm ERR! gyp ERR! stack     at /Users/user/dev/poc1/node_modules/isexe/mode.js:8:5
    npm ERR! gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:198:21)
    npm ERR! gyp ERR! System Darwin 22.0.0
    npm ERR! gyp ERR! command "/usr/local/bin/node" "/Users/user/dev/poc1/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
    npm ERR! gyp ERR! cwd /Users/user/dev/poc1/node_modules/node-sass
    npm ERR! gyp ERR! node -v v16.16.0
    npm ERR! gyp ERR! node-gyp -v v3.8.0
    npm ERR! gyp ERR! not ok 
    npm ERR! Build failed with error code: 1
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /Users/user/.npm/_logs/2022-09-13T14_39_16_565Z-debug-0.log 
    
  • U019JM2HE7N
    U019JM2HE7N Posts: 61 🧑🏻‍🚀 - Cadet

    Hey, seems like you are using not the latest version of oryx-for-zed, which is using 'sass' instead of 'node-sass'. 'node-sass' (LibSass) is deprecated and depends on several packages:
    • Python v3.7, v3.8, v3.9, or v3.10
    make
    • A proper C/C++ compiler toolchain, like GCC