PokemonGo-Map
PokemonGo-Map copied to clipboard
Please run "grunt build" before starting the server
after running install etc and then I run the runserver.py, it errors out and tells me [ MainThread][ runserver][CRITICAL] Please run "grunt build" before starting the server
I type grunt build and it says "no such file or directory: 'build' "
type grunt in linux
If you're on windows. Go to your main folder and open command prompt (shift right click anywhere in the folder) and select Open Command Prompt Here. then type without the quote "npm install"
That should take care of it.
I was just about to say the same. http://puu.sh/qsvnS/131703f5c8.png
And if we don't have npm?
NPM is required and part of Node.js.
Should hopefully just have to install Node.js for your version of OS and then the NPM Install like stated above.
Again, it would be helpful if this were in a README or in the wiki (which is blank). Where do I get Node.js from?
Os?
I installed Node.js and still nothing. I also tried. npm install npm -g
then i did Grunt build
and got command not found
Found it: https://nodejs.org/en/download/
http://gruntjs.com/
ok that got me this. http://puu.sh/qsvUZ/102f39b540.png
im sorry, im kinda new at this, what folder do i shift + right click in? and what is the exact command to install npm
the main folder that contains the runserver.py
Im going to retry this. https://www.youtube.com/watch?v=RJKAulPCkRI
alright i got the grunt build command to work, but now when i run the whole thing with google maps api and such, i get "exception while downloading map" "search step 1 area download failed"
How you get grunt build to work. Please share.
okay, so first i downloaded the NPM thing from https://nodejs.org/en/download/. Next i did the npm install command, and it ran something and automatically ran grunt build with it. ALSO make sure you are running your cmd as admin
Created pull request #10 to cover at least the Windows users on this thread.
downloaded NPM. Went to runserver.py folder, typed npm install. Nothing. Went to nodejs folder, typed npm install...went through some stuff it all failed. "npm ERR! install Couldn't read dependcies" etc etc, all the way down.
Turns out it wanted some json file in the main NPM folder, not the subfolder, so I just copied it. Did npm install again, it went through quite a bit, then gave me the following:
46953 error Windows_NT 6.1.7601
46954 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
46955 error node v4.4.7
46956 error npm v2.15.8
46957 error code ELIFECYCLE
46958 error [email protected] prepublish: node bin/npm-cli.js prune --prefix=. --no-global && rimraf test/*/*/node_modules && make doc-clean && make -j4 doc
46958 error Exit status 1
46959 error Failed at the [email protected] prepublish script 'node bin/npm-cli.js prune --prefix=. --no-global && rimraf test///node_modules && make doc-clean && make -j4 doc'.
46959 error This is most likely a problem with the npm package,
46959 error not with npm itself.
46959 error Tell the author that this fails on your system:
46959 error node bin/npm-cli.js prune --prefix=. --no-global && rimraf test///node_modules && make doc-clean && make -j4 doc
46959 error You can get information on how to open an issue for this project with:
46959 error npm bugs npm
46959 error Or if that isn't available, you can get their info via:
46959 error
46959 error npm owner ls npm
46959 error There is likely additional logging output above.
46960 verbose exit [ 1, true ]
I'm stuck on running Grunt. If I just run the javascript is says Line:1 Char: 1 Error 'module is undefined' Code: 800A1391 Source: Microsoft JScript runtime error
If I run npm install, I get the above error.
Can someone please help me with this grunt build stuff? I've tried installing the npm, etc, this whole thing seems like just a mess. Even when grunt build works, am I supposed to do it in the folder of this "grunt" thing, or in the folder of the runserver.py, and if its in the latter, do I need to type "grunt build runserver.py" or something?
Had running PGM correctly before Niantic changed the API ... Want to upgrade ...
"sudo pip install --no-cache-dir -r requirements.txt" ... completely OK!
Raspbian "Linux raspberrypi 4.1.13+ #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 armv6l GNU/Linux"
$ sudo 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.