phusion / passenger

A fast and robust web server and application server for Ruby, Python and Node.js
https://www.phusionpassenger.com/
MIT License
5.01k stars 547 forks source link

meteor error with passenger #1449

Open xurwxj opened 9 years ago

xurwxj commented 9 years ago

we got a error with passenger on meteor app:

App 11522 stdout: I20150322-21:55:33.168(8)? Exception from task: Error: ENOENT, open '../web.browser/head.html'
App 11522 stdout: I20150322-21:55:33.170(8)?     at Object.Future.wait (/Users/victor/.meteor/packages/meteor-tool/.1.0.44.1d3casd++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:398:15)
App 11522 stdout: I20150322-21:55:33.170(8)?     at packages/meteor/helpers.js:119:1
App 11522 stdout: I20150322-21:55:33.170(8)?     at readUtf8FileSync (packages/boilerplate-generator/boilerplate-generator.js:6:1)
App 11522 stdout: I20150322-21:55:33.170(8)?     at packages/boilerplate-generator/boilerplate-generator.js:81:1
App 11522 stdout: I20150322-21:55:33.171(8)?     at Array.forEach (native)
App 11522 stdout: I20150322-21:55:33.171(8)?     at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
App 11522 stdout: I20150322-21:55:33.171(8)?     at [object Object].Boilerplate._generateBoilerplateFromManifestAndSource (packages/boilerplate-generator/boilerplate-generator.js:63:1)
App 11522 stdout: I20150322-21:55:33.171(8)?     at new Boilerplate (packages/boilerplate-generator/boilerplate-generator.js:16:1)
App 11522 stdout: I20150322-21:55:33.172(8)?     at Object.WebAppInternals.generateBoilerplateInstance (packages/webapp/webapp_server.js:285:1)
App 11522 stdout: I20150322-21:55:33.172(8)?     at packages/webapp/webapp_server.js:553:1
App 11522 stdout: I20150322-21:55:33.172(8)?     - - - - -

passenger run as:

passenger start --port 8000 --min-instances 2 --sticky-sessions

same app runs no error with meteor's run command.

env: meteor: 1.0.4.2 Phusion Passenger version 4.0.59 osx 10.10 node: v0.12.0

FooBarWidget commented 9 years ago

Maybe this is related to the working directory. Where did you invoke 'passenger start', and where is 'web.browser/head.html' located?

xurwxj commented 9 years ago

i run 'passenger start' directly under project directory which no problem with meteor's run command.

FooBarWidget commented 9 years ago

But where is your project direct located? What is its path? What is the full path to web.browser/head.html?

xurwxj commented 9 years ago

project directory: /Users/victor/WebstormProjects/3dker run with above directory.

get error

FooBarWidget commented 9 years ago

What is the full path to web.browser/head.html?

xurwxj commented 9 years ago

/Users/victor/WebstormProjects/3dker/.meteor/local/build/programs/web.browser/head.html

xurwxj commented 9 years ago

happen when client modified to refreshing under development envir.