Skip to content

cannot import @angular/cdk in safari #2083

Description

@linubik

Describe the bug

In an angular 21 app, I cannot add dependency to @angular/cdk": "^21.1.0
It works fine in google chrome, but not in safari
when i add this dependency, and run "npm i", i get this error
npm error code ERR_INVALID_PROTOCOL
npm error Protocol "https:" not supported. Expected "http:"

Link to the blitz that caused the error

https://stackblitz.com/edit/stackblitz-starters-8rrbxtbr

Steps to reproduce

create an angular 21 application in stackblitz
add dependency to angular/cdk
try run 'npm i'

Expected behavior

Expected behavior is to run the app

Parity with Local

Screenshots

No response

Platform

  • OS: macOS
  • Browser: Safari

Additional context

Works in google chrome

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions