GithubHelp home page GithubHelp logo

Comments (4)

holger1411 avatar holger1411 commented on August 22, 2024

Hi!
Seems you use an older Parent and/or Child theme combination.

Your website says:
Error: Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)

Later versions of Bootstrap 4 Alpha use this script to reveal or hide something (including the mobile nav).

Please make sure you update your parent theme to 0.5.0.

Than make sure you use the latest package.json file from child theme, available here:
https://github.com/holger1411/understrap-child/blob/master/package.json

Download it into your child theme directory (and overwrite the old one) and than run:
npm install

followed by:
gulp copy-assets

and than recompile your child themes JS file with
gulp scripts

from understrap-child.

jameskrill avatar jameskrill commented on August 22, 2024

It looks like Tether is INSIDE the ./node_modules/bootstrap/node_modules/ folder and gulpfile.js is looking for it in ./node_modules/ in the copy-assets task...

To fix this, you can run npm install tether --save and then gulp copy-assets and gulp scripts as suggested above... should fix it.

Tether is not in the dependencies listed in package.json that you pointed to above... it IS a dependency of Bootstrap, but then you should reference it at ./node_modules/bootstrap/node_modules/tether/

from understrap-child.

holger1411 avatar holger1411 commented on August 22, 2024

if you run "npm install" it will install all dependencies, including the Bootstrap 4 dependencies like Tether.
So normally there should be an /node_modules/theter folder which than could be moved by "gulp copy-assets" to the source folder

from understrap-child.

jameskrill avatar jameskrill commented on August 22, 2024

Hmm... you are right. I just did a fresh clone and npm install and tether is there in node_modules... I wonder what happened the first time.

Thanks!

from understrap-child.

Related Issues (20)

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.