nightwatch-inspector 1.0.1 package install problem

Created on 14 December 2024, 7 days ago

Problem/Motivation

Hi,

Core 11.1.0-rc1
NodeJS 20

I have the following error when I try to install Core's yarn packages locally:

➤ YN0000: · Yarn 4.1.1
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 538ms
➤ YN0000: ┌ Link step
➤ YN0007: │ @nightwatch/nightwatch-inspector@npm:1.0.1 must be built because it never has been before or the last one failed
➤ YN0007: │ nice-napi@npm:1.0.2 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 2s 681ms
➤ YN0000: · Done in 3s 541ms

But then after it is ok. But on CI I have a slightly different error:

 cd ./app/core
$ corepack enable
$ yarn install
! Corepack is about to download https://repo.yarnpkg.com/4.1.1/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: · Yarn 4.1.1
➤ YN0000: ┌ Resolution step
Resolution step
00:00
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
Fetch step
00:08
➤ YN0000: └ Completed in 8s 154ms
➤ YN0000: ┌ Link step
Link step
00:08
➤ YN0009: @nightwatch/nightwatch-inspector@npm:1.0.1 couldn't be built successfully (exit code 127, logs can be found here: /tmp/xfs-7a4d71e2/build.log)
/tmp/xfs-7a4d71e2/build.log
00:00
➤ YN0000: └ Completed in 7s 686ms
➤ YN0000: · Failed with errors in 16s 230ms

Which is causing the setup task to fail.

nightwatch-inspector 1.0.1 had been introduced in the commit https://git.drupalcode.org/project/drupal/-/commit/5d8c27e7f2a4aa23a723d...

Seems that there is already a PR on nightwatch to update nightwatch-inspector.

But I wonder why I have an error while it is ok on Core.

Proposed resolution

Remaining tasks

🐛 Bug report
Status

Active

Version

11.1 🔥

Component

javascript

Created by

🇫🇷France Grimreaper France 🇫🇷

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Grimreaper
  • 🇬🇧United Kingdom longwave UK

    This is likely to be a compile time issue with your local environment. What does the build.log file referenced in the error say?

  • 🇫🇷France Grimreaper France 🇫🇷

    Hum, I don't think I can access the tmp of this job as it is not in the actifact.

    But thanks to you, I tried to search and I had not figured out before that Yarn console output was collapsed, so opening it I think I found why...:

    command not found: npm
    

    So I will debug my CI docker image...

    Sorry for the wrong bug.

Production build 0.71.5 2024