GithubHelp home page GithubHelp logo

undefined jquery and _ about taiga-vagrant HOT 6 OPEN

taigaio avatar taigaio commented on June 26, 2024
undefined jquery and _

from taiga-vagrant.

Comments (6)

niwinz avatar niwinz commented on June 26, 2024

This seems that some things was happened with bower install, some dependecies are not properly installed, can you try reprovision again and see if some error is happens?

from taiga-vagrant.

rbobrowicz avatar rbobrowicz commented on June 26, 2024

I tried running vagrant provision and it completes without any errors that I can see, but the issue persists. I still get the undefined jquery and _ errors.

from taiga-vagrant.

rbobrowicz avatar rbobrowicz commented on June 26, 2024

So I had some time to debug this issue. The problem is indeed with bower. It tries to pull dependencies using the git protocol instead of https, the port git wants to use is blocked in my company's firewall. This wasn't clear from the vagrant output but become obvious when I ran bower manually and saw it time out.

I fixed it by running git config --global url."https://".insteadOf git:// to force git to use https.

You might want to consider adding this to your provisioning scripts.

from taiga-vagrant.

niwinz avatar niwinz commented on June 26, 2024

It's ok, I will add that to taiga scripts!

Thanks!

from taiga-vagrant.

sandeel avatar sandeel commented on June 26, 2024

I also had this issue with a college firewall. Solution was to rerun bower and gulp in taiga-front when outside firewall.

from taiga-vagrant.

gildegoma avatar gildegoma commented on June 26, 2024

I also had this issue with a college firewall.

I was also bitten by this beast behind some corporate filters. This would be nice to make vagrant clearly fail and abort on networking errors (e.g. bower or gulp timeouts).

from taiga-vagrant.

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.