[GH-ISSUE #648] Yarn opencollective install error #350

Closed
opened 2026-03-03 14:37:44 +03:00 by kerem · 4 comments
Owner

Originally created by @maicol07 on GitHub (Nov 20, 2019).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/648

Hi,
when I install flag-icon-css with Yarn I get this error:

error D:\Maicol\Documents\Progetti\Web\scheduled_exams\vendor\web-assets\flag-icon-css: Command failed.
Exit code: 1
Command: opencollective-postinstall || true
Arguments:
Directory: D:\Maicol\Documents\Progetti\Web\scheduled_exams\vendor\web-assets\flag-icon-css
Output:
"opencollective-postinstall" is not recognized as an internal or external command,
an executable app or file batch.
"true" is not recognized as an internal or external command,
an executable app or file batch.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

How can I solve this?
Thanks

Originally created by @maicol07 on GitHub (Nov 20, 2019). Original GitHub issue: https://github.com/lipis/flag-icons/issues/648 Hi, when I install flag-icon-css with Yarn I get this error: ``` error D:\Maicol\Documents\Progetti\Web\scheduled_exams\vendor\web-assets\flag-icon-css: Command failed. Exit code: 1 Command: opencollective-postinstall || true Arguments: Directory: D:\Maicol\Documents\Progetti\Web\scheduled_exams\vendor\web-assets\flag-icon-css Output: "opencollective-postinstall" is not recognized as an internal or external command, an executable app or file batch. "true" is not recognized as an internal or external command, an executable app or file batch. info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. ``` How can I solve this? Thanks
kerem closed this issue 2026-03-03 14:37:45 +03:00
Author
Owner

@maicol07 commented on GitHub (Nov 25, 2019):

UPDATE: To temporarly fix this you can install with npm opencollective-postinstall globally:
npm install opencollective-postinstall --global
And then running yarn there are no more errors

<!-- gh-comment-id:558130040 --> @maicol07 commented on GitHub (Nov 25, 2019): **UPDATE**: To temporarly fix this you can install with npm `opencollective-postinstall` globally: `npm install opencollective-postinstall --global` And then running yarn there are no more errors
Author
Owner

@lipis commented on GitHub (Nov 25, 2019):

I'll take a look at it and maybe remove the open collective altogether..

<!-- gh-comment-id:558253002 --> @lipis commented on GitHub (Nov 25, 2019): I'll take a look at it and maybe remove the open collective altogether..
Author
Owner

@SamueleCaprioli97 commented on GitHub (Feb 4, 2020):

Any news about this issue? Still exist in 3.4.5

<!-- gh-comment-id:581789458 --> @SamueleCaprioli97 commented on GitHub (Feb 4, 2020): Any news about this issue? Still exist in 3.4.5
Author
Owner

@lipis commented on GitHub (Feb 4, 2020):

Fixed.

<!-- gh-comment-id:581986620 --> @lipis commented on GitHub (Feb 4, 2020): Fixed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#350
No description provided.