Giter Site home page Giter Site logo

Comments (9)

magcrider avatar magcrider commented on June 10, 2024 1

Same here!

Do you know what was the last versión working good ?

from retinajs.

lenardchristopher avatar lenardchristopher commented on June 10, 2024

Same

from retinajs.

migueldemoura avatar migueldemoura commented on June 10, 2024

Temp fix: add var exports={}; to retina.js

from retinajs.

anderskristo avatar anderskristo commented on June 10, 2024

@migueldemoura temp fix makes it work for now.

Seems like it's the same problem as this: http://stackoverflow.com/questions/33294705/gulp-babel-exports-is-not-defined

from retinajs.

migueldemoura avatar migueldemoura commented on June 10, 2024

This is a duplicate of #264

from retinajs.

TsuNut avatar TsuNut commented on June 10, 2024

Same here. BTW where do you add migueldemoura's fix in the retina.js file? Tried at the end did not work. Sorry don't know JS. :S

from retinajs.

anderskristo avatar anderskristo commented on June 10, 2024

@TsuNut add it above:

Object.defineProperty(exports, "__esModule", { value: true });

on line 11 in the retina.js file

from retinajs.

TsuNut avatar TsuNut commented on June 10, 2024

@anderskristo

Thanks! However, I included the fix on line 11 as per instructed. No change. Reverted to 2.0.0, still no change. Wonder if using Gulp and/or concatenating has something to do with my issue?

from retinajs.

nbelley avatar nbelley commented on June 10, 2024

Beware, adding exports as a variable will make all of your other scripts think you're using node.js, if you're not, many other scripts will fail!

from retinajs.

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.