PokemonGoers / PokeData

In this project you will scrape as much data as you can get about the *actual* sightings of Pokemons. As it turns out, players all around the world started reporting sightings of Pokemons and are logging them into a central repository (i.e. a database). We want to get this data so we can train our machine learning models. You will of course need to come up with other data sources not only for sightings but also for other relevant details that can be used later on as features for our machine learning algorithm (see Project B). Additional features could be air temperature during the given timestamp of sighting, location close to water, buildings or parks. Consult with Pokemon Go expert if you have such around you and come up with as many features as possible that describe a place, time and name of a sighted Pokemon. Another feature that you will implement is a twitter listener: You will use the twitter streaming API (https://dev.twitter.com/streaming/public) to listen on a specific topic (for example, the #foundPokemon hashtag). When a new tweet with that hashtag is written, an event will be fired in your application checking the details of the tweet, e.g. location, user, time stamp. Additionally, you will try to parse formatted text from the tweets to construct a new “seen” record that consequently will be added to the database. Some of the attributes of the record will be the Pokemon's name, location and the time stamp. Additional data sources (here is one: https://pkmngowiki.com/wiki/Pok%C3%A9mon) will also need to be integrated to give us more information about Pokemons e.g. what they are, what’s their relationship, what they can transform into, which attacks they can perform etc.
Apache License 2.0
9 stars 6 forks source link

npm run build throws error #122

Closed phdowling closed 8 years ago

phdowling commented 8 years ago

See here:

Philipps-Air:PokeData dowling$ npm run build

> pokemongo-api@0.0.1 build /Users/dowling/Development/js-seminar/PokeData
> NODE_ENV=production node scripts/build.js

/Users/dowling/Development/js-seminar/PokeData/scripts/build.js:24
        const builder = require(__base + 'app/controllers/filler/' + collectio
        ^^^^^
SyntaxError: Use of const in strict mode.
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v0.12.4
npm ERR! npm  v3.9.5
npm ERR! code ELIFECYCLE
npm ERR! pokemongo-api@0.0.1 build: `NODE_ENV=production node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the pokemongo-api@0.0.1 build script 'NODE_ENV=production node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pokemongo-api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     NODE_ENV=production node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs pokemongo-api
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls pokemongo-api
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/dowling/Development/js-seminar/PokeData/npm-debug.log
phdowling commented 8 years ago

Note that this was a fresh clone, after running npm install. Is this a bug, or should I be installing differently?

phdowling commented 8 years ago

Had to update my node installation, nevermind. Closing.