PokemonGo-DesktopMap icon indicating copy to clipboard operation
PokemonGo-DesktopMap copied to clipboard

Please Run "Grunt Build" before starting the server Error

Open Shda0w opened this issue 10 years ago • 12 comments

Hello All,

I think im pretty close to getting this running but when i try to execute the runserver.py command i get the error "Please run "grunt build" before starting the server.

Did i miss a step? How do i fix this?

Thanks!

Shda0w avatar Aug 07 '16 04:08 Shda0w

Grunt is some sort of other library or API. I didn't fully read this, but it's the exact same issue. Good luck: https://github.com/scottstamp/PokemonGo-Map/issues/8

crkellen avatar Aug 07 '16 04:08 crkellen

run 'npm install' and that should run grunt build I can confirm that version 0.1.6 with the map replaced with the new 'github.com/PokemonGoMap/PokemonGo-Map' does work.

srikanth-kadiyala avatar Aug 07 '16 05:08 srikanth-kadiyala

@srikad8 Do you have a tutorial or set of instructions somewhere that explains how to set that up?

crkellen avatar Aug 07 '16 05:08 crkellen

@crkellen The new official upstream repo is https://github.com/PokemonGoMap/PokemonGo-Map The old instructions to get that running are here: https://jonaharagon.github.io/PoGoMapWiki/#!installation.md

I should clarify I got this working on linux, I am not sure what files need to be replaced for windows and osx. In linux, I replaced the old map in resources/app/map with the newer map. If you feel lost following these instructions just wait wait for an official release, @mchristopher will probably release an updated version.

srikanth-kadiyala avatar Aug 07 '16 05:08 srikanth-kadiyala

Hey all thanks for the quick responses i was able to run the 'npm install' command!

But now when i run the runserver.py command i tells me "It seems 'pgoapi' is not installed. You must run pip install -r requirements.txt again'. Which i have done and it ends with Successfully installed pgoapi -1.1.6 but then when i run the runserver.py command i get the same error message.

Any ideas?

Shda0w avatar Aug 07 '16 05:08 Shda0w

@srikad8 npm install grunt is bringing up sudo: npm: command not found

Please help!

blackhattristar avatar Aug 07 '16 06:08 blackhattristar

I was able to get it up and running!!!! turns out my last issue was because i had 64bit python installed not 32bit THANKS EVERYONE!

Shda0w avatar Aug 07 '16 06:08 Shda0w

Issue Solved-

LuckyYou avatar Aug 07 '16 06:08 LuckyYou

@blackhattristar what os are you using?

srikanth-kadiyala avatar Aug 07 '16 06:08 srikanth-kadiyala

@srikad8 I got it working on my DO Droplet. Not mac terminal though. All good! Thanks for the help!

blackhattristar avatar Aug 07 '16 07:08 blackhattristar

So is the problem that one has 64 bit python installed instead of 32? npm install grunt worked for me, but then typing "grunt build" doesn't do anything. am I supposed to type that in a particular directory? (windows)

lungbubble avatar Aug 08 '16 01:08 lungbubble

Had running PGM before API changed on my RaspberryPi : "Linux raspberrypi 4.1.13+ #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 armv6l GNU/Linux"

pip install --no-cache-dir -r requirements.txt ... completly OK xxhash ... Installed

$ npm install -g grunt-cli                    npm http GET https://registry.npmjs.org/grunt-cli

npm ERR! Error: failed to fetch from registry: grunt-cli
npm ERR!     at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR!     at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR!     at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
npm ERR!     at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR!     at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)
npm ERR!     at Request.emit (events.js:88:20)
npm ERR!     at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12)
npm ERR!     at ClientRequest.g (events.js:156:14)
npm ERR!     at ClientRequest.emit (events.js:67:17)
npm ERR!     at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1256:7)
npm ERR! You may report this log at:
npm ERR!     <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR!     reportbug --attach /home/pi/bin/PokemonGo-Map/npm-debug.log npm
npm ERR!
npm ERR! System Linux 4.1.13+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "grunt-cli"
npm ERR! cwd /home/pi/bin/PokemonGo-Map
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: grunt-cli
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/bin/PokemonGo-Map/npm-debug.log
npm not ok

elvquant avatar Aug 08 '16 09:08 elvquant