Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

How can I haddle on a deprecated error? #4

Closed
sole-dev opened this issue Jun 17, 2021 · 4 comments
Closed

How can I haddle on a deprecated error? #4

sole-dev opened this issue Jun 17, 2021 · 4 comments

Comments

@sole-dev
Copy link

I installed urix by npm, but it warned, npm warn deprecated urix@0.1.0. How can I solve it?

@lydell
Copy link
Owner

lydell commented Jun 17, 2021

Hi! In the deprecation message there is also a link. Did you follow it and read what’s there?

@sole-dev
Copy link
Author

I saw the deprecated message, but I can't understand the message. I am curious about installing the urix package alone, without packages like source-map-resolve. Could you explain me about it in detail?

@lydell
Copy link
Owner

lydell commented Jun 18, 2021

Thanks! When a package is deprecated, it means that the author does not think it should be used anymore. I don’t like this package. In lydell/source-map-resolve#9 I learned that converting Windows paths isn’t as easy as this module makes it look. So I recommend doing it some other way. For starters, you could copy the ~5 lines of code of this module into your code instead of installing this package.

@sole-dev
Copy link
Author

Thanks for your help! I should have to find out a new way for my project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants