Skip to content

netlify-cli@23.8.0 fails to import edge bootstrap (missing @netlify/edge-functions-bootstrap) #7671

@Gatedd

Description

@Gatedd

Describe the bug

When upgrading from netlify-cli@23.7.3 to 23.8.0, the CLI’s edge bootstrap module can no longer be imported directly.

  • In 23.7.3, importing dist/lib/edge-functions/bootstrap.js imports as expected
  • In 23.8.0, the same import now fails with ERR_MODULE_NOT_FOUND because @netlify/edge-functions-bootstrap is not installed as a dependency of the CLI.

Steps to reproduce

  1. Download attatched file
  2. Run VERSION=23.8.0 ./reproduce.sh to see error
  3. Run VERSION=23.7.3 ./reproduce.sh to verify that it works without the error

reproduce.sh

Configuration

None used

Environment

System:
OS: macOS 15.5
CPU: (8) arm64 Apple M2
Memory: 94.66 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.6.0 - /opt/homebrew/bin/node
npm: 11.5.1 - /opt/homebrew/bin/npm
npmGlobalPackages:
netlify-cli: 23.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugcode to address defects in shipped code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions