vanderheim / teradps

A web application that allows styled visualizations and archiving of DPS Meter data for Tera Online.
MIT License
4 stars 0 forks source link

Errors with meteor or ?? #1

Open dozych opened 8 years ago

dozych commented 8 years ago
0 info it worked if it ends with ok
1 verbose cli [ '/root/.nvm/v6.4.0/bin/node',
1 verbose cli   '/root/.nvm/v6.4.0/bin/npm',
1 verbose cli   'start' ]
2 info using npm@3.10.3
3 info using node@v6.4.0
4 verbose stack Error: ENOENT: no such file or directory, open '/var/website.com/package.json'
4 verbose stack     at Error (native)
5 verbose cwd /var/website.com
6 error Linux 2.6.32-042stab108.8
7 error argv "/root/.nvm/v6.4.0/bin/node" "/root/.nvm/v6.4.0/bin/npm" "start"
8 error node v6.4.0
9 error npm  v3.10.3
10 error path /var/website.com/package.json
11 error code ENOENT
12 error errno -2
13 error syscall open
14 error enoent ENOENT: no such file or directory, open '/var/website.com/package.json'
15 error enoent ENOENT: no such file or directory, open '/var/website.com/package.json'
15 error enoent This is most likely not a problem with npm itself
15 error enoent and is related to npm not being able to find a file.
16 verbose exit [ -2, true ]

Don't understand wtf with Meteor. I try start him, but after starting he wrote:

root@:~# meteor
[[[[[ /website.com ]]]]]
=> Started proxy.
=> Meteor 1.4.1 is available. Update this project with 'meteor update'.
=> Started MongoDB.
Killednloading 205 packages                  |
vanderheim commented 8 years ago

Just tested it myself, but from what it looks like, you forgot to navigate to the directory you cloned the repo into.

From your log:

root@:~# meteor

It looks like you aren't inside the cloned repo before you run meteor.

You should: Clone repo. Cd into cloned repo directory. Run meteor

dozych commented 8 years ago

no no, i just cleared root directories from log. image

0 info it worked if it ends with ok 1 verbose cli [ '/root/.meteor/packages/meteor-tool/.1.1.10.ltyzjq++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node', 1 verbose cli '/root/.meteor/packages/meteor-tool/.1.1.10.ltyzjq++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm', 1 verbose cli 'install' ] 2 info using npm@1.4.28 3 info using node@v0.10.40 4 error install Couldn't read dependencies 5 error package.json ENOENT, open '/../../site.com/package.json' 5 error package.json This is most likely not a problem with npm itself. 5 error package.json npm can't find a package.json file in your current directory. 6 error System Linux 2.6.32-042stab108.8 7 error command "/root/.meteor/packages/meteor-tool/.1.1.10.ltyzjq++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/root/.meteor/packages/meteor-tool/.1.1.10.ltyzjq++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "install" 8 error cwd /../../site.com 9 error node -v v0.10.40 10 error npm -v 1.4.28 11 error path /../../site.com/package.json 12 error code ENOPACKAGEJSON 13 error errno 34 14 verbose exit [ 34, true ]`

vanderheim commented 8 years ago

Oh ok, are you saying then that it crashes after the Downloading 205 packages | line, or is it just hanging there? If it doesn't crash, it might just be taking awhile to download all the packages required for the app.

dozych commented 8 years ago

hm. im waiting more 20 hours :D with 100mb/s canal. i buy new vds (Debian-8-amd64-Intel(R) Xeon(R) CPU E5-2665 @ 2.40GHz - 1Gb ram ) for testing so to speak from scratch.

dozych commented 8 years ago

I run this app on 1.4.1 meteor :octocat: but i dont understand how make it on SITE.COM, not on SITE.COM:3000 with port/ as I understand it needs to be used as express mod?

vanderheim commented 8 years ago

You will have to look into deploying meteor applications to live servers for that, it's a bit out of the scope of this repo, the repo itself is mainly just for local demoing purposes only. Sorry I can't help you further on that. :(

dozych commented 8 years ago

I need advice. everything seems to work normally, and by analogy with tradps.io application is not open on port 80, the standard 3000 only. I dont understand a little bit, the express framework should be responsible for it or not? I tried to set up proxying through nginx but something doesnt come out.