Git Product home page Git Product logo

Comments (4)

greym0uth avatar greym0uth commented on May 24, 2024

After a bit of research I found that this could be a problem in the compiling of the project. Maybe something with grunt could be causing this issue. I'm not too familiar with grunt, and I'm not quite sure what in grunt could be causing this issue.

from photo-screen-saver.

RandScullard avatar RandScullard commented on May 24, 2024

It looks like there was a change in TypeScript 2.2 (microsoft/TypeScript#14351) that broke the build. Please try the following:

Edit src/index.html and add this just before the script tag that includes index.js:

<script>
// TypeScript 2.2 requires 'exports' global variable.
var exports = {};
</script>

Re-run grunt and npm start. This fixed it for me -- if it works for you too, I'll commit the change.

from photo-screen-saver.

greym0uth avatar greym0uth commented on May 24, 2024

Yup that worked! Im going to leave it open, not sure if you want to close this until you make the commit. Thanks!

from photo-screen-saver.

RandScullard avatar RandScullard commented on May 24, 2024

Thanks for letting me know about this!

from photo-screen-saver.

Related Issues (6)

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.