Comments (7)
If somebody is having this issue on Rails, I had the issue trying to install Bootstrap.
This is what worked for me:
- yarn add [email protected]
- yarn add jquery
- yarn add @popperjs/core
from notus-angular.
Guys, please run this line in terminal:
npm install @types/popper.js
This will resolve the problem.
from notus-angular.
I am having the exact same issue running the following
Mac OS Big Sur
Node - 14.15.1
NPM 6.14.8
Have run the npm install:clean command and just loaded up this in browser (get a white screen) whilst I get the same error in several places
.e.g
src/app/components/dropdowns/user-dropdown/user-dropdown.component.ts:2:20 - error TS2307: Cannot find module 'popper.js' or its corresponding type declarations.
from notus-angular.
Please use
import { createPopper } from '@popperjs/core';
and change
createPoppper() { createPopper(this.btnDropdownRef.nativeElement, this.popper, { placement: "bottom-end", }); this.btnDropdownRef.nativeElement.parentNode.insertBefore( this.popper, this.btnDropdownRef.nativeElement.nextSibling ); }
Popper v1 is deprecated
from notus-angular.
Hello guys,
Sorry for this late reply, Github did not notify me about this issue.
Glad that a solution was found. We'll make an update in about 2 months to the project and solve this as well.
Best,
Manu
from notus-angular.
Hello there, @drjorgepolanco ,
Thank you for sharing this with us.
It is a bit weird that you are adding Bootstrap
on a Tailwind CSS
project.
I think you should delete node_modules
and package-lock.json
and yarn-lock.json
if you have any, and try installing the product with npm
instead of yarn
.
Best,
Manu
from notus-angular.
If somebody is having this issue on Rails, I had the issue trying to install Bootstrap. This is what worked for me:
- yarn add [email protected]
- yarn add jquery
- yarn add @popperjs/core
Thanks @drjorgepolanco this worked for me with rails 7
from notus-angular.
Related Issues (10)
- npm start is slow after upgrade from Angular 10 to 11 when purge is enable for tailwind HOT 1
- [Feature Request] npm start is slow after upgrade from Angular 10 to 11 when purge is enable for tailwind HOT 1
- Autenticación del usuario en TMDB.
- [Bug] wefdsf
- Autenticación del usuario en TMDB.
- [Feature Request] Angular Update
- DOC HOT 1
- Dropdown menu not closing when user navigates away / off focus HOT 1
- [Feature] Dropdown menu not closing when user navigates away / off focus HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notus-angular.