Giter Club home page Giter Club logo

Comments (5)

devongovett avatar devongovett commented on July 21, 2024

Looks like a weird npm issue to me. running npm info source-map on my machine lists many more versions than your output indicates. Perhaps npm itself is somehow out of date?

from aurora.js.

Canta avatar Canta commented on July 21, 2024

Thanks.

Indeed, on mine it also shows versions up to 0.1.19.

Trying "npm install [email protected]" says that the problem is in my node version. source-map requires 0.8, and i have 0.6.12.

So... checking around i've found this: https://bugs.launchpad.net/ubuntu/+source/nodejs/+bug/1103044
It says that Ubuntu 12.04 has an outdated version of the nodejs package, and gives the link to an updated repo.

It now gives me some new errors. I'll post later if finally fix it.

from aurora.js.

Canta avatar Canta commented on July 21, 2024

Well... no luck so far.

I've updated Node to 0.10, and finally installed Importer 0.6.
The "new error" mentioned before was a timeout when trying to install the "dryice" package. I cloned the gist repo, and linked dryice using npm. That way importer was installed fine.

But i still get the same error message when trying to compilie aurora:

user@box:~/Documents/aurora.js/repo$ importer src/aurora.coffee aurora.js
/usr/local/lib/node_modules/importer/js/cmd.js:20
      throw err;
            ^
Error: Parse error on line 8: Unexpected '::' /home/user/Documents/aurora.js/repo/src/devices/webkit.coffee

from aurora.js.

devongovett avatar devongovett commented on July 21, 2024

I'm assuming you have the latest version of CoffeeScript installed? I can't reproduce the issue.

It would be good to figure out what the issue is, but if you can't here's a freshly built copy you can use.

from aurora.js.

Canta avatar Canta commented on July 21, 2024

Thank you very much Devon. I really need that new build.

A minute ago i finally found the problem.
CoffeeScript is 1.6.2, latest version available. Still the same problem.
After checking that, i checked this:

user@box:~/Documents/aurora.js/repo$ whereis importer
importer: /usr/bin/importer /usr/bin/X11/importer /usr/local/bin/importer

The one installed inside X11 was the right one. I guess the other two are there from previous node versions, and the updated node repo for ubuntu has X11 as installation directory.

Good to know. I should probably warn about this in the Ubuntu community.

I'll close the issue now. Thanks for the help :)

from aurora.js.

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.