Giter Site home page Giter Site logo

Comments (3)

springmeyer avatar springmeyer commented on July 17, 2024

node v6 did not work for me. I saw:


~/projects/tilemill[node-v6]$ ./index.js 
The "sys" module is now called "util". It should have a similar interface.

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
SyntaxError: Invalid flags supplied to RegExp constructor 'is'
    at new RegExp (unknown source)
    at Object.browserAugmentation (/Users/dane/projects/tilemill/node_modules/bones/node_modules/jquery/node_modules/jsdom/lib/jsdom/browser/index.js:345:1)
    at Object.jsdom (/Users/dane/projects/tilemill/node_modules/bones/node_modules/jquery/node_modules/jsdom/lib/jsdom.js:11:26)
    at create (/Users/dane/projects/tilemill/node_modules/bones/node_modules/jquery/dist/node-jquery.js:5:39)
    at /Users/dane/projects/tilemill/node_modules/bones/node_modules/jquery/dist/node-jquery.js:8333:18
    at Object.<anonymous> (/Users/dane/projects/tilemill/node_modules/bones/node_modules/jquery/dist/node-jquery.js:8337:1)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)
    at Function._load (module.js:310:12)

which I could work around by installing at the top level a more recent version of jsdom

from bones.

springmeyer avatar springmeyer commented on July 17, 2024

these are the versions I installed before bones that allowed things to work: https://github.com/mapbox/tilemill/blob/node-v6/package.json#L24-25

from bones.

springmeyer avatar springmeyer commented on July 17, 2024

closing, new ticket to trac things at #47

from bones.

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.