Skip to:
Content

BuddyPress.org

Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#9236 closed defect (bug) (fixed)

Remove `version` from `docker

Reported by: narenin's profile narenin Owned by: espellcaste's profile espellcaste
Milestone: 15.0.0 Priority: normal
Severity: normal Version:
Component: Core 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 5 months ago.
Erro Screenshot

Download all attachments as: .zip

Change History (9)

@narenin
5 months ago

Erro Screenshot

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


5 months 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:


5 months ago
#2

@boonebgorges @imath could you please review this.

@imath commented on PR #377:


5 months 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:


5 months ago
#4

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

renatonascalves commented on PR #377:


5 months 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.


5 months ago

#7 @espellcaste
5 months ago

  • Owner set to espellcaste
  • Resolution set to fixed
  • Status changed from new to closed

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
5 months ago

  • Milestone changed from Awaiting Review to 15.0.0
Note: See TracTickets for help on using tickets.