Giter Club home page Giter Club logo

Comments (3)

dignifiedquire avatar dignifiedquire commented on June 15, 2024

Your description is a little vague, could you list the exact errors, problems you are having?

from aegir.

dignifiedquire avatar dignifiedquire commented on June 15, 2024

Hours of debugging later

  1. [email protected] breaks some tests, including bitswap tests on js-ipfs
  2. git bisect tells me the source of this is in 1d82ce7
  3. Commenting out some code leads me to this line: https://github.com/dignifiedquire/aegir/blob/master/tasks/docs/publish.js#L4 which is just a require('gh-pages') call
  4. Down the rabbit hole we go, commenting out requires in gh-pages/lib/index.js, leads me to this line: https://github.com/tschaub/gh-pages/blob/master/lib/index.js#L8
  5. Looking at gh-pages/lib/git.js leads me to this line https://github.com/tschaub/gh-pages/blob/master/lib/git.js#L6 which requires q-io/fs
  6. The source code of q-io/fs looks harmless, but I track the error down to this require: https://github.com/kriskowal/q-io/blob/v1/fs-mock.js#L7
  7. I land on the repo for collections: https://github.com/montagejs/collections/blob/master/set.js
  8. Turns out collections is modifying globals, including messing with the Array prototype. And that immediately on require 😢
  9. Issues is known but not fixed, or doesn't seem to be planned to be fixed: montagejs/collections#162

from aegir.

dignifiedquire avatar dignifiedquire commented on June 15, 2024

Opened kriskowal/q-io#160 so that this module hopefully won't be used in the future anymore. In the meantime I will look into either PRing a change to gh-pages or alternative modules.

from aegir.

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.