Giter Site home page Giter Site logo

Comments (7)

drjorgepolanco avatar drjorgepolanco commented on May 19, 2024 14

If somebody is having this issue on Rails, I had the issue trying to install Bootstrap.
This is what worked for me:

from notus-angular.

saulovls avatar saulovls commented on May 19, 2024 10

Guys, please run this line in terminal:

npm install @types/popper.js

This will resolve the problem.

from notus-angular.

gkimpson avatar gkimpson commented on May 19, 2024

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.

AlonSerrano avatar AlonSerrano commented on May 19, 2024

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.

einazare avatar einazare commented on May 19, 2024

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.

einazare avatar einazare commented on May 19, 2024

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.

shubham-selldo avatar shubham-selldo commented on May 19, 2024

If somebody is having this issue on Rails, I had the issue trying to install Bootstrap. This is what worked for me:

Thanks @drjorgepolanco this worked for me with rails 7

from notus-angular.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.