Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node install fails on PNotify #419

Open
michael-sattler opened this issue Aug 18, 2023 · 2 comments
Open

Node install fails on PNotify #419

michael-sattler opened this issue Aug 18, 2023 · 2 comments

Comments

@michael-sattler
Copy link

michael-sattler commented Aug 18, 2023

Running npm install --save pnotify for a Node app that lists Pnotify as a dependency throws these warnings:

ERESOLVE overriding peer dependency
npm WARN While resolving: @pnotify/[email protected]
npm WARN Found: [email protected]
npm WARN node_modules/pnotify/node_modules/bootstrap
npm WARN   peer bootstrap@"^3.4.1" from @pnotify/[email protected]
npm WARN   node_modules/pnotify/node_modules/@pnotify/bootstrap3
npm WARN     @pnotify/bootstrap3@"5.2.0" from [email protected]
npm WARN     node_modules/pnotify
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer bootstrap@"^4.4.1" from @pnotify/[email protected]
npm WARN node_modules/pnotify/node_modules/@pnotify/bootstrap4
npm WARN   @pnotify/bootstrap4@"5.2.0" from [email protected]
npm WARN   node_modules/pnotify
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/bootstrap
npm WARN   peer bootstrap@"^4.4.1" from @pnotify/[email protected]
npm WARN   node_modules/pnotify/node_modules/@pnotify/bootstrap4
npm WARN     @pnotify/bootstrap4@"5.2.0" from [email protected]
npm WARN     node_modules/pnotify

Then running npm start throws this:

ERROR in ./src/Helpers/Functions.js 5:0-46
Module not found: Error: Can't resolve 'pnotify/dist/es/PNotify' in '<node app root>]/src/Helpers'

... same error with /PNotifyStyleMaterial.js and PNotifyButtons

I tried installing with npm install pnotify -legacy-peer-deps ... same error.
I tried npm install --force ... same error.
I tried manually installing all three missing files from https://unpkg.com/browse/[email protected]/ (highest version for which I could find raw files) ... same error.
I tried npm install webpack --save-dev (which I think uses pnotify) ... same error.
Did a full reinstall from the app root...

rm -rf node_modules/
npm cache clean --force
npm install

... same error

How do I resolve that dependency glitch so I can get my app to run? (npm version: 8.11)

@interceptor
Copy link

On first look this project looks very nice and a lot of work went into it. But I am worried that it is no longer maintained...

@gotofil
Copy link

gotofil commented Jul 3, 2024

Not holding out hope, might as well use something else

#415 (comment)

#415 (comment)

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

No branches or pull requests

3 participants