glamorous-quill-49387
01/08/2020, 3:38 PMacoustic-businessperson-27970
01/09/2020, 12:54 PMmammoth-autumn-37948
01/10/2020, 8:56 AMERROR in ./js/spryker-zed-content-item.js from UglifyJs
Unexpected token: punc ()) [./js/spryker-zed-content-item.js:10663,8]
✘ build failed
in development mode it works fine.
• spryker/oryx 1.40
• spryker/oryx-for-zed 2.5.2
• webpack 4.27.0
• uglifyjs-webpack-plugin ~1.2.4
Has anyone the same problem? I use the b2b-demo-shop version of spryker with original package.json and nodejs version 11.x
Thanks a lot in advancelittle-kitchen-79455
01/10/2020, 12:09 PMstrong-winter-32294
01/14/2020, 8:50 AMaloof-electrician-43662
01/14/2020, 10:44 AMsparse-kangaroo-34355
01/15/2020, 11:00 AMbitter-engineer-82580
01/15/2020, 11:36 AMambitious-hairdresser-16664
01/15/2020, 1:59 PMProduct.product_abstract.unpublish
Basically 2 things are happening:
1 - An error is thrown:
Failed to handle "Product.product_abstract.unpublish" for listener "Spryker\Zed\ProductPageSearch\Communication\Plugin\Event\Listener\ProductPageProductAbstractUnpublishListener". Exception: "Cannot use object of type Orm\Zed\ProductPageSearch\Persistence\SpyProductAbstractPageSearch as array
And this is happening on Spryker side
2 - Even making it work by extending and fixing the bug, the unpublished product is still available…
Is anyone else having something similar?gentle-vegetable-74963
01/16/2020, 12:04 PMspy_category_node_page_search
table there is a data
column and a structured_data
column.
I assume the data
column is used to populate ElasticSearch but I am not clear what the other field is for. Reason to ask is on our project the structured_data
field is becoming very large and affecting performance.
I guess the short question is can we just stop populating that field 🙂mammoth-autumn-37948
01/16/2020, 3:43 PM[info] stack:
gyp verb `which` failed
[info] 'Error: not found: python2\n at getNotFoundError (/data/node_modules/which/which.js:13:12)\n at F (/data/node_modules/which/which.js:68:19)\n at E (/data/node_modules/which/which.js:80:29)\n at /data/node_modules/which/which.js:89:16\n at /data/node_modules/isexe/index.js:42:5\n at /data/node_modules/isexe/mode.js:8:5\n at FSReqWrap.oncomplete (fs.js:154:21)',
gyp verb
[info] `which` failed code: 'ENOENT' }
gyp
[info] verb check python checking for Python executable "python" in the PATH
[info] gyp verb
[info] `which` failed Error: not found: python
gyp verb `which` failed at getNotFoundError (/data/node_modules/which/which.js:13:12)
[info] gyp verb `which` failed
[info] at F (/data/node_modules/which/which.js:68:19)
gyp verb
[info] `which` failed at E (/data/node_modules/which/which.js:80:29)
gyp verb
[info] `which` failed at /data/node_modules/which/which.js:89:16
gyp
[info] verb `which` failed at /data/node_modules/isexe/index.js:42:5
[info] gyp verb `which` failed at /data/node_modules/isexe/mode.js:8:5
[info] gyp verb
[info] `which` failed at FSReqWrap.oncomplete (fs.js:154:21)
gyp
[info] verb `which` failed python { Error: not found: python
gyp
[info] verb `which` failed
[info] at getNotFoundError (/data/node_modules/which/which.js:13:12)
gyp verb
[info] `which` failed at F (/data/node_modules/which/which.js:68:19)
gyp
[info] verb `which` failed at E (/data/node_modules/which/which.js:80:29)
gyp
[info] verb `which` failed at /data/node_modules/which/which.js:89:16
gyp
[info] verb `which` failed at /data/node_modules/isexe/index.js:42:5
gyp
[info] verb `which` failed
[info] at /data/node_modules/isexe/mode.js:8:5
gyp verb
[info] `which` failed at FSReqWrap.oncomplete (fs.js:154:21)
gyp verb
[info] `which` failed stack:
gyp verb
[info] `which` failed 'Error: not found: python\n at getNotFoundError (/data/node_modules/which/which.js:13:12)\n at F (/data/node_modules/which/which.js:68:19)\n at E (/data/node_modules/which/which.js:80:29)\n at /data/node_modules/which/which.js:89:16\n at /data/node_modules/isexe/index.js:42:5\n at /data/node_modules/isexe/mode.js:8:5\n at FSReqWrap.oncomplete (fs.js:154:21)',
gyp verb
[info] `which` failed code: 'ENOENT' }
[info] gyp
[info] ERR!
[info] configure error
[info] gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
[info] gyp ERR! stack at PythonFinder.failNoPython (/data/node_modules/node-gyp/lib/configure.js:484:19)
gyp
[info] ERR! stack at PythonFinder.<anonymous> (/data/node_modules/node-gyp/lib/configure.js:406:16)
[info] gyp ERR! stack at F (/data/node_modules/which/which.js:68:16)
gyp
[info] ERR! stack at E (/data/node_modules/which/which.js:80:29)
[info] gyp ERR! stack at /data/node_modules/which/which.js:89:16
[info] gyp ERR! stack at /data/node_modules/isexe/index.js:42:5
[info] gyp ERR! stack
[info] at /data/node_modules/isexe/mode.js:8:5
gyp ERR! stack
[info] at FSReqWrap.oncomplete (fs.js:154:21)
[info] gyp ERR!
[info] System Linux 4.9.184-linuxkit
[info] gyp ERR! command
[info] "/usr/bin/node" "/data/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR!
[info] cwd /data/node_modules/node-sass
gyp ERR!
[info] node -v v10.14.2
gyp
[info] ERR! node-gyp -v v3.8.0
[info] gyp ERR! not ok
[info] Build failed with error code: 1
[info] npm ERR! code ELIFECYCLE
[info] npm ERR! errno 1
[info] npm ERR! node-sass@4.13.1 postinstall: `node scripts/build.js`
npm
[info] ERR! Exit status 1
[info] npm ERR!
npm
[info] ERR! Failed at the node-sass@4.13.1 postinstall script.
npm
[info] ERR! This is probably not a problem with npm. There is likely additional logging output above.
[info]
npm
[info] ERR! A complete log of this run can be found in:
npm ERR! /home/spryker/.npm/_logs/2020-01-16T15_14_54_704Z-debug.log
@delightful-actor-37108 or someone else any idea?
p.s.: i used latest spryker/docker-sdk release too.mammoth-autumn-37948
01/16/2020, 3:43 PMvendor/bin/console fronten:project:install-dependencies
(only last part of error -> stack)sparse-kangaroo-34355
01/16/2020, 4:31 PMrhythmic-microphone-10950
01/17/2020, 7:36 AMfierce-battery-19636
01/17/2020, 8:31 AMaloof-electrician-43662
01/19/2020, 4:34 PMclean-glass-99425
01/20/2020, 1:12 PMassets/js/pryker-zed-gui-init.js
but it is not inside of the folder. Which module does add that script to the system? I am probably running an older version so it is not copied to the assets folder by the twig function.sparse-kangaroo-34355
01/21/2020, 12:35 PM4x Printer
2x Paper
The output is
1x Printer
1x Printer
1x Printer
1x Printer
1x Paper
1x Paper
Reducing this in PHP is easy - but twig drives me crazy.
Has anyone done this before?ancient-apartment-59274
01/22/2020, 4:55 PMacoustic-motherboard-16553
01/23/2020, 8:17 AMechoing-continent-95761
01/23/2020, 8:52 AMrefined-psychiatrist-31162
01/23/2020, 9:09 AMancient-apartment-59274
01/23/2020, 12:58 PMregions:
EU:
services:
database:
database: eu-docker
username: spryker
password: secret
stores:
DE:
services:
broker:
namespace: de-docker
key_value_store:
namespace: 1
search:
namespace: de_search
AT:
services:
broker:
namespace: at-docker
key_value_store:
namespace: 2
search:
namespace: at_search
Means here: DE and AT are sharing the same db … how should the config looks when i want to have DE and AT using separate databases? Since they are not in different regions, it would make no sense to create different regions for each store … 🤔 Or do i miss something general? Thanks!glamorous-quill-49387
01/23/2020, 2:03 PMancient-apartment-59274
01/23/2020, 5:15 PMaloof-electrician-43662
01/24/2020, 9:55 AMwide-flag-26835
01/24/2020, 10:19 AMAPPLICATION_STORE=US console data:import:antelope
there it still runs the commands in DE-store context . this can be avoided by using the right container with APPLICATION_STORE=US docker/sdk cli
then the commands in there did run in the expected way. maybe you can address this, because this could cause confusionmammoth-autumn-37948
01/24/2020, 10:52 AMTemplate "@WebProfiler/Profiler/toolbar_js.html.twig" is not defined (Spryker\Shared\Twig\TwigFilesystemLoader: Unable to find template "Profiler/toolbar_js.html.twig" (looked into: ).).
I use the latest docker instance. On Yves it works good.
Here the configuration in config_default-docker.php
$config[WebProfilerConstants::IS_WEB_PROFILER_ENABLED]
= $config[WebProfilerWidgetConstants::IS_WEB_PROFILER_ENABLED]
= getenv('SPRYKER_DEBUG_ENABLED') && !getenv('SPRYKER_TESTING_ENABLED');
The WebProfilerApplicationPlugin
is correcty registered under \Pyz\Zed\Application\ApplicationDependencyProvider
.
Maybe someone has the same problem?
Thank u in advance.clean-glass-99425
01/24/2020, 4:25 PMwithAnotherSaleNotificationSettings
, withSaleNotificationSettings
, withAnotherPermissions
and withPermissions
are two times inside of the PHP Class. As all this is autogenerated and we only have one customer.transfer.xml inside of it's verndor folder I currently have no guess why this could happen.rich-camera-19306
01/27/2020, 6:57 AM