peer-dependencies Questions

3

How can I list out all currently required peer dependencies in my project? I've tried searching, but I only find a bunch of custom packages to check peer dependencies. I already know they're curre...
Tewfik asked 12/8, 2019 at 7:57

5

I am trying to run npm install @react-navigation/native @react-navigation/native-stack but end up receiving these errors when doing so: npm WARN ERESOLVE overriding peer dependency npm ERR! code ER...
Stopple asked 15/6, 2022 at 12:11

2

Solved

I try to exclude the package react-virtualized from the peer dependency checking of NPM 7. I know I could separately install that package with npm install react-virtualized --legacy-peer-deps ...bu...
Holmgren asked 19/8, 2021 at 13:17

2

When running npm i in one of my projects I get the follow error: npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! react@"^17.0.2" from the root project npm ERR!...
Largent asked 17/5, 2022 at 8:19

2

Solved

I am maintaining an NPM package (lets say it as package-A) that relies on an another NPM package(package-B) to function. Therefore, I am in need to add that package as peer-dependency into the pack...
Filiform asked 11/6, 2021 at 9:18

1

Solved

I am participating in building a webapp that used to use node-sass. We migrated to sass in the meantime but we have still node-sass in our package-lock.json. I want to fix that. In the beginning, w...
Jacki asked 21/8, 2022 at 11:8

4

I am running into the following problem when trying to develop a React component library using styled-components. For the purpose of this example, let's assume we have two repos, app and core and...
Stoeber asked 4/3, 2019 at 21:25

0

I have a library that uses npm packages that I want as peer dependencies where the app would have to install them (eg. axios, react, react-dom). The goal is to avoid having libraries add to overall...
Rene asked 25/6, 2022 at 2:0

4

I download a project and it has no package-lock.json file.When I run npm install , there is conflict. The error message: root@fb3391c63c7f:/app/avatar/avatar-h5# npm install --registry=https://regi...
Levins asked 18/1, 2021 at 23:21

3

Solved

I have an NPM package that offers two things: Core functionality in form of React hooks and UI components that use these core functionalities. My idea originally was to make two packages, one for t...
Benoni asked 20/7, 2021 at 8:56

0

I'm trying to build a project that uses yarn workspaces. And here's what I want to accomplish in my setup: > root > packages > client package.json - graphql > server package.json ...
Skilken asked 17/2, 2021 at 13:50

2

Solved

I have a monorepo that has many micro-services in it. There are some library-type functions / classes that I want to make available to any micro-service that needs it. However, if that library pack...
Brazzaville asked 11/6, 2018 at 23:23

1

Solved

Does anyone have a technique for getting npm install to completely fail when peerDependency version mismatches are present? We frequently hit issues where peerDependency warnings go unheeded by dev...

1

I have a fairly standard lerna monorepo that will look like this: packages/ main/ - This is the main deployable application, it depends on both dep and react-dep dep/ - Just some pure functions...
Iives asked 28/5, 2020 at 1:43

3

I'm trying to remove unused packages from the package.json files for a few projects but I'm running into issues with peer dependencies. There are some tools, such as depcheck, which try to list all...
Astrict asked 24/9, 2019 at 14:41

3

Solved

I am new to npm and angular projects, and I am using [email protected] in my package.json. When I do npm install, I get the following error - [email protected] requires a peer of [email...
Bifoliate asked 2/5, 2018 at 18:7

2

Solved

I am new to understand peerDependencies, and I have read the following references seeking as to how to test an npm module contains peerDependencies within its package.json: Peer Dependencies Unde...
Naturalism asked 18/1, 2019 at 0:52

2

I tried to migrate Angular 6 application to angular 7 application and have got the following warning messsage npm WARN @ngrx/[email protected] requires a peer of @angular/core@^6.0.0 but none...
Irrelevant asked 24/10, 2018 at 22:20
1

© 2022 - 2024 — McMap. All rights reserved.