Dependency Version Mismatch -- scss-to-json in npm but not GitHub
See original GitHub issueDependency Version Mismatch
What package(s) are you using?
-
carbon-components: 10.10.1
-
carbon-components-react
Detailed description
In the source code on GitHub there is no dependency called scss-to-json
in the latest release.
Source Code Reference: https://github.com/carbon-design-system/carbon/blob/master/packages/components/package.json#L68
In the code installed via npm
, there is a dependency called scss-to-json
.
This dependency in turn installs node-sass
which becomes the default SCSS compiler if present in node_modules
in an Angular project.
It seems like scss-to-json
shouldn’t have been in the release bundle based on GitHub code. Also generally a bad practice to have npm
code out of sync with git commit history.
Solution
A new release based on the code in GitHub which will remove scss-to-json
and hence node-sass
from my dependency tree.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
dependency mismatch between github and npm · Issue #9175
Yes, there is mismatch, how is that a bug? npm and GitHub are different services and would need some kind of sync, which...
Read more >Dependency version mismatch error: Unable to install this ...
Could not resolve dependency: npm ERR! peer react@"^16.8.6" from material-ui-chip-input@2.0.0-beta.2 npm ERR! node_modules/ ...
Read more >Dependency name mismatches in package.json for git ...
I'm opening this issue because: [ x ] npm is producing an incorrect install ... directory (but not the lockfile), then run npm...
Read more >npm registry version mismatch #369 - sass/node-sass - GitHub
Github package.json says latest version is 0.9.3 with nan 1.2.0 as dependency. ... But npmjs.org tar files have latest version 0.9.3 but with...
Read more >[BUG] Overrides are not updating after running npm install
Is there an existing issue for this? I have searched the existing issues This issue exists in the latest npm version I am...
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
Thanks for the info @joshblack – I’ll wait for the next release which should have that dependency dropped 😃
I think this can be closed now, 10.10.2 contains the PR to remove this dependency.