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

I got a error on the postinstall #3057

Closed
1 of 3 tasks
danielgroen opened this issue Apr 25, 2019 · 5 comments
Closed
1 of 3 tasks

I got a error on the postinstall #3057

danielgroen opened this issue Apr 25, 2019 · 5 comments
Labels

Comments

@danielgroen
Copy link

danielgroen commented Apr 25, 2019

npm WARN VVSEC_jacket@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.8 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! swiper@4.5.0 postinstall: `node -e "console.log('\u001b[35m\u001b[1mLove Swiper? Support Vladimir\'s work by donating or pledging on patreon:\u001b[22m\u001b[39m\n > \u001b[32mhttps://patreon.com/vladimirkharlampidi\u001b[0m\n')"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the swiper@4.5.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/o1.ftp/.npm/_logs/2019-04-25T16_54_04_903Z-debug.log

This is a (multiple allowed):

  • bug
  • enhancement
  • feature-discussion (RFC)
@sghoweri
Copy link
Contributor

sghoweri commented Oct 5, 2019

Same — getting this exact same error when trying to install Swiper v4.5 or v5.0.4 when using Yarn v2.

@eklingen
Copy link
Contributor

eklingen commented Nov 26, 2019

Same here. Swiper cannot be added via Yarn v2, unless all postinstall scripts are ignored. Revelant error log:

# This file contains the result of Yarn building a package (swiper@npm:5.2.1)
# Script name: postinstall

[eval]:1
console.log('u001b[35mu001b[1mLove Swiper? Support Vladimir's work by donating or pledging on patreon:u001b[22mu001b[39mn > u001b[32mhttps://patreon.com/vladimirkharlampidiu001b[0mn')
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SyntaxError: missing ) after argument list
    at new Script (vm.js:84:7)
    at createScript (vm.js:258:10)
    at Object.runInThisContext (vm.js:306:10)
    at Object.<anonymous> ([eval]-wrapper:9:26)
    at Module._compile (internal/modules/cjs/loader.js:1121:30)
    at evalScript (internal/process/execution.js:80:25)
    at internal/main/eval_string.js:23:3

@HeadFox
Copy link
Contributor

HeadFox commented Nov 29, 2019

PR open --> #3355 (Merged)

@nolimits4web

@stale
Copy link

stale bot commented May 27, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 27, 2020
@stale
Copy link

stale bot commented Jul 26, 2020

This issue has been automatically closed due to inactivity. If this issue is still actual, please, create the new one.

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

No branches or pull requests

4 participants