Peer dependency issue for elm 0.19.1-1
See original GitHub issueElm 0.19.1 is out. Installing elm@latest (=elm 0.19.1-1) causes elm-webpack-loader to report:
npm WARN elm-webpack-loader@6.0.0 requires a peer of elm@0.19.0-no-deps || ^0.19.1 but none is installed. You must install peer dependencies yourself.
Alternative: run npm upgrade
. But, that tries to install elm@0.19.1 (without the -1). This throws an error in the install script:
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'path', 'string');
^
I’m stuck. Seems to me elm-webpack-loader (still?) has a dependency issue?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Help test the new npm elm package! - Request Feedback
Changed: Binaries are downloaded by npm instead of custom code in the elm package. No more dependencies or deprecation warnings!
Read more >[Fixed] NPM conflicting peer dependency error
Getting NPM conflicting peer dependency errors? This post will go over ways to fix this!
Read more >npm WARN ... requires a peer of ... but none is installed ...
So you cannot install peer dependencies automatically with npm 3 and upwards. Updated Solution: Use following for each peer dependency to ...
Read more >elm-upgrade
Start using elm-upgrade in your project by running `npm i elm-upgrade`. ... elm-upgrade can also upgrade dependencies of your Elm 0.19 ...
Read more >How to solve peer dependencies error after updating all ...
Tried updating npm , then did a bunch of commands from the Github issues & Stackoverflow. Then I tried npm cache clean --force...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t. Tried out a couple of things but didn’t have much luck 😕
Sure. A peer dependency should only give you a warning that you need to install something yourself. We don’t actually depend on elm being installed by npm, just that it exists. Us definining it as a peer dependency is just a way of telling our users that it should be of a certain version, but we’ll try running it anyways.