Skip to:
Content

BuddyPress.org

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#9236 closed defect (bug) (fixed)

Remove `version` from `docker

Reported by: narenin Owned by: espellcaste
Priority: normal Milestone: 15.0.0
Component: Core Version:
Severity: normal Keywords: has-patch
Cc:

Description

I am getting given error while I am trying to run npm run wp-env start this is happening because the attribute version is obsolete in docker.

Here is the error details I am getting.

✖ Error while running docker compose command.
time="2024-09-23T15:05:50+05:30" level=warning msg="/root/wp-env/a502412824aa7c25523a9547de4c394b/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"

Attachments (1)

Screenshot from 2024-09-23 15-35-17.png (55.7 KB ) - added by narenin 2 years ago.
Erro Screenshot

Download all attachments as: .zip

Change History (9)

@narenin
2 years ago

Erro Screenshot

This ticket was mentioned in PR #377 on buddypress/buddypress by @narenin.


2 years ago
#1

  • Keywords has-patch added

Trac ticket: https://buddypress.trac.wordpress.org/ticket/9236

The version is already removed in env package in latest version so updating the same version in package.json

https://github.com/WordPress/gutenberg/pull/63099

@narenin commented on PR #377:


2 years ago
#2

@boonebgorges @imath could you please review this.

@imath commented on PR #377:


2 years ago
#3

Hi @narenin I just launched the Unit tests, if they give good results I'll commit your PR.

@narenin commented on PR #377:


2 years ago
#4

@imath Thanks for review this PR, as I can check now the unit test give good results.

renatonascalves commented on PR #377:


2 years ago
#5

@imath Just a reminder that we don't use wp-env in the github actions anymore.

This ticket was mentioned in Slack in #buddypress by espellcaste. View the logs.


2 years ago

#7 @espellcaste
2 years ago

  • Owner set to espellcaste
  • Resolutionfixed
  • Status newclosed

In 14030:

Update the npm @wordpress/env package to version ^10.8..

This update fixes an issue while trying to run npm run wp-env start, where the version attribute is not longer available in docker.

Props imath, narenin, and espellcaste.

Fixes #9236
Closes https://github.com/buddypress/buddypress/pull/377

#8 @espellcaste
2 years ago

  • Milestone Awaiting Review15.0.0
Note: See TracTickets for help on using tickets.