Skip to content

Support global npm installs again #8465

Description

@s2b

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem?

#8251 effectively broke global installs of npm packages because npm seems to create symlinks in /usr/local/bin. It would be great if this could be resolved.

Describe your solution

Maybe it's possible to configure an alternative path for npm -g and put that path into $PATH?

Describe alternatives

No response

Additional context

The following commands no longer work in my CI job:

ddev exec npm i -g pnpm
ddev exec npm i -g bun

I've verified this locally by installing the latest development version of DDEV.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions