Coder Social home page Coder Social logo

Comments (6)

jaebradley avatar jaebradley commented on June 27, 2024

@briansoule certainly an interesting error - do you mind providing your node and npm version?

from uber-cli.

markmark1 avatar markmark1 commented on June 27, 2024

I got the same error too

var INITIALIZED = Symbol();
^
ReferenceError: Symbol is not defined
at Object. (/usr/local/lib/node_modules/uber-cli/node_modules/enumify/lib/enumify.js:14:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/uber-cli/node_modules/uber-client/build/data/Subpath.js:8:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/uber-cli/node_modules/uber-client/build/UberClient.js:22:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/uber-cli/node_modules/uber-client/build/index.js:4:19)
xx@xxs-Macbook-Air-3 ~ $ uber time '820 kipling street palo alto ca 94301'

/usr/local/lib/node_modules/uber-cli/node_modules/enumify/lib/enumify.js:14
var INITIALIZED = Symbol();
^
ReferenceError: Symbol is not defined
at Object. (/usr/local/lib/node_modules/uber-cli/node_modules/enumify/lib/enumify.js:14:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/uber-cli/node_modules/uber-client/build/data/Subpath.js:8:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/uber-cli/node_modules/uber-client/build/UberClient.js:22:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/uber-cli/node_modules/uber-client/build/index.js:4:19)

from uber-cli.

markmark1 avatar markmark1 commented on June 27, 2024

xx@xxs-Macbook-Air-3 ~ $ node --version
v0.10.31
xx@xxs-Macbook-Air-3 ~ $ npm --version
4.2.0
xx@xxs-Macbook-Air-3 ~ $

from uber-cli.

jaebradley avatar jaebradley commented on June 27, 2024

@markmark1 might be related to this issue and more particularly this comment. Basically, it seems that Symbol was added to node v0.12.0.

from uber-cli.

sjs7007 avatar sjs7007 commented on June 27, 2024

@jaebradley Exactly. Faced the same issue and posted fix here. Also pasting the solution here :

Fixed by updating nodejs using instructions listed below from this stackoverflow answer.

  1. Clear NPM's cache:
sudo npm cache clean -f
  1. Install a little helper called 'n'
sudo npm install -g n
  1. Install latest stable Node.js version
sudo n stable

from uber-cli.

jaebradley avatar jaebradley commented on June 27, 2024

@sjs7007 thanks for the helpful instructions both here and in #27. @markmark1 I'm going to close this for now - if still find issues after following @sjs7007 's instructions feel free to reopen.

from uber-cli.

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.