Giter VIP home page Giter VIP logo

Comments (8)

dustinlarimer avatar dustinlarimer commented on August 25, 2024

@xpollen8 this has been happening on a few of our JS repos.. try wiping out node_modules, updating package.json with these diffs, and re-installing: keen/keen-js@5d126f9

from explorer.

xpollen8 avatar xpollen8 commented on August 25, 2024

The above diff is significantly different from the HEAD version of packages.json. just applying these additions fo HEAD doesn't significantly improve the situation..

If I start with the full packages.json shown in the diff, then gulp complains of about a dozen missing gulp-X dependencies. After adding those dependencies then has 'gulp' finally choking inside client/js/app/app.js with:

events.js:72
throw er; // Unhandled 'error' event
^
Error: Parsing file /home/ubuntu/dash/client/js/app/app.js: Unexpected token (63:4)

from explorer.

dustinlarimer avatar dustinlarimer commented on August 25, 2024

@xpollen8 sorry for the confusing comment – that diff is from a different project, but the common dependencies for this project just need to be updated similarly to resolve the peerinvalid error. Try explicitly setting and installing phantomjs @ 1.9.17. I believe that should do the trick, but please let me know if that's not the case!

from explorer.

xpollen8 avatar xpollen8 commented on August 25, 2024

no go. a clean install with phantomjs @ 1.9.17 yields:


untitled

from explorer.

dustinlarimer avatar dustinlarimer commented on August 25, 2024

@xpollen8 try wiping your node_modules directory again and updating these dependency versions:

  "gulp-mocha-phantomjs": "0.8.1",
  "mocha-phantomjs": "^3.6.0",
  "phantomjs": "1.9.7-15"

from explorer.

xpollen8 avatar xpollen8 commented on August 25, 2024

closer. now into app errors (sorry to be being such a pain!)

untitled



from explorer.

dustinlarimer avatar dustinlarimer commented on August 25, 2024

No worries – however, that appears to be a different issue :)

That file is named REST.js, but I'm wondering why this error doesn't occur on my machine. Try renaming the file (lowercase) and let me know if this resolves the issue.

from explorer.

xpollen8 avatar xpollen8 commented on August 25, 2024

ta-da. that did it

from explorer.

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.