cli icon indicating copy to clipboard operation
cli copied to clipboard

[BUG] Local path encoding

Open michal-laskowski opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

This issue exists in the latest npm version

  • [X] I am using the latest npm

Current Behavior

I want to import a local package, but there is a # in the path.

In dependencies i got: "my-awesome-package": "file"./#only-awesome-packages/package1"

The path is not recognized correctly and everything before the # character is truncated . If I replace # with% 23 everything works fine

Expected Behavior

I should be able to use the great sign #

Steps To Reproduce

No response

Environment

  • npm:8.19.2

michal-laskowski avatar Sep 14 '22 00:09 michal-laskowski