1

Tried to use meteor build to build node bundle. However, when I did node main.js the terminal didn't print out anything. My meteor version is 1.0.3.1. Detailed steps are listed below.

~/misc$ meteor create foo
foo: created.     

To run your new app:                          
  cd foo                                      
  meteor

~/misc$ cd foo/
~/misc/foo$ meteor build ~/misc/meteor_build2/ --directory
~/misc/foo$ cd ../meteor_build2
~/misc/meteor_build2$ cd bundle/programs/server/
~/misc/meteor_build2/bundle/programs/server$ npm install
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data

> [email protected] install /home/chihchengliang/misc/meteor_build2/bundle/programs/server/node_modules/fibers
> node ./build.js

`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
[email protected] node_modules/underscore

[email protected] node_modules/semver

[email protected] node_modules/fibers

[email protected] node_modules/eachline
└── [email protected]

[email protected] node_modules/source-map-support
└── [email protected] ([email protected])

[email protected] node_modules/chalk
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected])

~/misc/meteor_build2/bundle/programs$ cd ..
~/misc/meteor_build2/bundle$ ROOT_URL=http://example.com/ node main.js 

And then I got only a flashing pointer, no any other response.

user2754799
  • 104
  • 1
  • 4

1 Answers1

0

Run it with ROOT_URL=http://localhost PORT=3000 as per @user2754799 comment above.

I had the same issue and almost did not check this question since it had no answers.

hcvst
  • 2,665
  • 2
  • 22
  • 25