-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error trying to generate the CreativeStyle theme #8
Comments
Hello @nandopsilva! |
Hello @krzksz ! Thank you for your support. tried several times to generate teme-creativeshop by removing I tried a new installation of Magento and the same error occurs. Tried using
but without success... Below my versions of mpn and yarn
Thank you again! Best Regards, |
Hello @krzksz ! I tried reinstalling nodejs and yarn on another server and the outputs are always the same. `[theme-creativeshop]# sudo yarn install && yarn build
Done in 42.45s. [13:08:40] 'build' errored after 1.56 s Any trick to make it work? Thank you again! Best Regards, |
Hey Fernando! Could you provide me your Node.js, NPM and Yarn versions that you are using? Also this one looks simillar to your issue: imagemin/imagemin-gifsicle#37 |
Hello @krzksz ! The requested versions follow. node -vv12.16.1 npm -v6.13.4 yarn -v1.22.4 I will try the pointed solution. Thank you again! |
Hello @krzksz ! Thank you for pointing the way. After restoring a backup of the node_modules folder from a previous installation, I was able to successfully generate the theme. I believe that the new versions of the modules in the mpn repository have some bugs, mainly with imagemin/imagemin-gifsicle. I suggest uploading the node_modules folder that you use for the theme-creativeshop repository. Thank you for your help. Best Regards, |
Hello @nandopsilva, |
Hi @krzksz, I have tried the latter but both autoconf and automake are already installed on my machine - though I'm getting the same error. I have tried renaming the node_modules directory and installing it again but to no avail. |
Hello @krzksz , I checked that the [email protected] module binaries are no longer available for linux. Therefore, it is not possible to generate the Creativeshop Theme. I tried it manually, but the images on the frontend don't load. Is there an alternative to the [email protected] plugin? Kind regards, |
I installing gifsicle@^4 and theme generation works fine. Fix here - #38 Problem with images is related to php version (if you used php 7.4) and is in content-contructor-frontend repository |
Hello @Bashev! Thanks for the tip. I installed gifsicle@4 and it worked for me. The error can be closed. Thank you very much! Kind Regards, |
Hello!
Error trying to generate the CreativeStyle theme. See below:
`# yarn install
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@creativestyle/magesuite-frontend-builder > [email protected]" has incorrect peer dependency "tslint@^5.0.0".
warning "@creativestyle/magesuite-frontend-builder > tslint-eslint-rules-recommended > [email protected]" has incorrect peer dependency "tslint@^5.0.0".
[4/4] Building fresh packages...
[-/7] ⠂ waiting...
[2/7] ⠂ gifsicle
[-/7] ⠂ waiting...
[-/7] ⠂ waiting...
warning Error running install script for optional dependency: "/magento/vendor/creativestyle/theme-creativeshop/node_modules/gifsicle: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: /magento/vendor/creativestyle/theme-creativeshop/node_modules/gifsicle
Output:
⚠ Response code 404 (Not Found)
⚠ gifsicle pre-build test failed
ℹ compiling from source
✖ Error: Command failed: /bin/sh -c ./configure --disable-gifview --disable-gifdiff --prefix="/magento/vendor/creativestyle/theme-creativeshop/node_modules/gifsicle/vendor" --bindir="/magento/vendor/creativestyle/theme-creativeshop/node_modules/gifsicle/vendor"
/bin/sh: ./configure: Permission denied
Done in 37.03s.
`
after
`yarn build
yarn run v1.22.4
$ gulp build --env production
[19:30:05] gulp-imagemin: Couldn't load default plugin "gifsicle"
[19:30:06] Using gulpfile /magento/vendor/creativestyle/theme-creativeshop/gulpfile.js
[19:30:06] Starting 'build'...
[19:30:06] Starting 'clean'...
[19:30:06] Finished 'clean' after 38 ms
[19:30:06] Starting 'collectViewXml'...
[19:30:06] Finished 'collectViewXml' after 59 ms
[19:30:06] Starting 'buildWebpack'...
[19:30:06] Starting 'copyHtml'...
[19:30:06] Starting 'copyScripts'...
[19:30:06] Starting 'copyImages'...
[19:30:06] Starting 'copyUnchanged'...
[19:30:08] 'copyImages' errored after 1.64 s
[19:30:08] TypeError in plugin "gulp-imagemin"
Message:
fn is not a function
Details:
fileName: /magento/vendor/creativestyle/theme-creativeshop/src/preview.png
domainEmitter: [object Object]
domainThrown: false
[19:30:08] 'build' errored after 1.74 s
[19:30:08] The following tasks did not complete: buildWebpack, copyHtml, copyScripts, copyUnchanged
[19:30:08] Did you forget to signal async completion?
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`
The text was updated successfully, but these errors were encountered: