ngx-scrollbar | Custom overlay-scrollbars with native scrolling mechanism | iOS library
kandi X-RAY | ngx-scrollbar Summary
kandi X-RAY | ngx-scrollbar Summary
Custom overlay-scrollbars with native scrolling mechanism
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ngx-scrollbar
ngx-scrollbar Key Features
ngx-scrollbar Examples and Code Snippets
Community Discussions
Trending Discussions on ngx-scrollbar
QUESTION
I get this error when I try to upgrade to Angular 8.
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: comprehensivedashboard@0.0.0
npm ERR! Found: @angular/animations@7.2.6
npm ERR! node_modules/@angular/animations
npm ERR! @angular/animations@"~8.2.14" from the root project
npm ERR! peer @angular/animations@">=7.0.0" from @angular/material@7.3.3
npm ERR! node_modules/@angular/material
npm ERR! @angular/material@"~8.2.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! @angular/animations@"~8.2.14" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @angular/core@8.2.14
npm ERR! node_modules/@angular/core
npm ERR! peer @angular/core@"8.2.14" from @angular/animations@8.2.14
npm ERR! node_modules/@angular/animations
npm ERR! @angular/animations@"~8.2.14" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\vakkinen\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR!
C:\Users\vakkinen\AppData\Local\npm-cache_logs\2021-10-05T12_19_50_257Z-debug.log
So decided to create a brand new Angular8 app and see what the package.json file looks like. That file is attached below. Then I added all the packages I need to this brand new empty project one at a time. The application build succeeded and I was able to run the application. So I copied and pasted all the dependencies and devDependencies to the old project package.json. That project still fails npm i
because of the same error above. So I tried to clone the repo into a new directory and replaced the contents of the package.json with the contents of the package.json from the brand new empty project, still the same error. What am I doing wrong ?
ANSWER
Answered 2021-Oct-05 at 12:32There should be a file called package-lock in the same folder as the package file. Delete it and the error should go away. The package-lock file contains all dependencies of your dependencies and their versions. Deleting it doesn’t affect your project since it’s regenerated on npm install.
QUESTION
We have updated our app to the latest Angular 12 (ngrx 12, router latest, etc)...
Update finished pretty well, the app is building and is running good, except one thing...
node_modules
imports are broken, resulting in all common Angular pipes, directives being not found:
ANSWER
Answered 2021-Aug-03 at 14:03Must be a problem with lazy-compiled Ivy packages; similar issue is fixed in 2021.1.2. Please consider upgrading WebStorm to the latest version
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ngx-scrollbar
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page