alanning / meteor-velocity-quick-start

Quick start package that will add a few velocity-compatible test frameworks to your app
MIT License
9 stars 0 forks source link

Production app breaks if you do meteor deploy #4

Closed geekyme closed 8 years ago

geekyme commented 10 years ago

Hey there,

So I've managed to run the example leaderboard app correctly on localhost and everything works after I add velocity-quick-start.

The problem comes when I tried to deploy it to *.meteor.com, and it is failing with this errors:

[Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING Failed to load c++ bson extension, using pure JS version
[Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO Jasmine-Unit is loaded
[Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'jasmine'.  Reason: Method not found [404]
[velocity-quick-start] could not generate sample tests for test framework: 'mocha-web-velocity'.  Reason: Method not found [404]
[velocity-quick-start] could not generate sample tests for test framework: 'jasmine-unit'.  Reason: Method not found [404]
[velocity-quick-start] Error reading app's smart.json file: { [Error: ENOENT, no such file or directory '/smart.json']
  errno: 34,
  code: 'ENOENT',
  path: '/smart.json',
  syscall: 'open' }
[Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING
/meteor/dev_bundles/0.3.37/lib/node_modules/fibers/future.js:173
[Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING                       throw(ex);
                              ^
Error: ENOENT, no such file or directory '/smart.json'
    at Object.fs.openSync (fs.js:427:18)
    at Object.fs.readFileSync (fs.js:284:15)
    at _.extend.readSmartJson (packages/velocity-quick-start/quick-start.js:157)
    at _.extend.addPackages (packages/velocity-quick-start/quick-start.js:36)
    at _.extend.exec (packages/velocity-quick-start/quick-start.js:20)
    at Package (packages/velocity-quick-start/main.js:10)
    at packages/velocity-quick-start.js:301:4
    at packages/velocity-quick-start.js:308:3
    at /meteor/containers/5a33d8a0-8667-7625-165d-b2bd0a42337e/bundle/programs/server/boot.js:155:10
    at Array.forEach (native)
[Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] NOTICE Starting application on port 31175
[Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] INFO STATUS starting -> running
[Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING Failed to load c++ bson extension, using pure JS version
[Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO Jasmine-Unit is loaded
[Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'mocha-web-velocity'.  Reason: Method not found [404]
[velocity-quick-start] could not generate sample tests for test framework: 'jasmine-unit'.  Reason: Method not found [404]
[Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'jasmine'.  Reason: Method not found [404]
[Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] Error reading app's smart.json file: { [Error: ENOENT, no such file or directory '/smart.json']
  errno: 34,
  code: 'ENOENT',
  path: '/smart.json',
  syscall: 'open' }
[Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING                       throw(ex);
                              ^
[Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.3.37/lib/node_modules/fibers/future.js:173
[Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING Error: ENOENT, no such file or directory '/smart.json'
    at Object.fs.openSync (fs.js:427:18)
    at Object.fs.readFileSync (fs.js:284:15)
    at _.extend.readSmartJson (packages/velocity-quick-start/quick-start.js:157)
    at _.extend.addPackages (packages/velocity-quick-start/quick-start.js:36)
    at _.extend.exec (packages/velocity-quick-start/quick-start.js:20)
    at Package (packages/velocity-quick-start/main.js:10)
    at packages/velocity-quick-start.js:301:4
    at packages/velocity-quick-start.js:308:3
    at /meteor/containers/5a33d8a0-8667-7625-165d-b2bd0a42337e/bundle/programs/server/boot.js:155:10
    at Array.forEach (native)
[Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Mon Jul 14 2014 09:51:04 GMT+0000 (UTC)] INFO HIT / 220.255.1.158
[Mon Jul 14 2014 09:51:09 GMT+0000 (UTC)] INFO HIT / 220.255.1.158
[Mon Jul 14 2014 09:51:19 GMT+0000 (UTC)] INFO HIT /_GALAXY_ 219.74.232.23
alanning commented 10 years ago

Couple things here:

Actually the velocity-quick-start package can be removed once it has successfully run once. If it's already added the test frameworks and copied the sample tests, there's no more need for it

Will update the readme

On Jul 14, 2014, at 5:58 AM, Shawn Lim notifications@github.com wrote:

Hey there,

So I've managed to run the example leaderboard app correctly on localhost and everything works after I add velocity-quick-start.

The problem comes when I tried to deploy it to *.meteor.com, and it is failing with this errors:

[Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING Failed to load c++ bson extension, using pure JS version [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO Jasmine-Unit is loaded [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'jasmine'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'mocha-web-velocity'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'jasmine-unit'. Reason: Method not found [404] [velocity-quick-start] Error reading app's smart.json file: { [Error: ENOENT, no such file or directory '/smart.json'] errno: 34, code: 'ENOENT', path: '/smart.json', syscall: 'open' } [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.3.37/lib/nodemodules/fibers/future.js:173 [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING throw(ex); ^ Error: ENOENT, no such file or directory '/smart.json' at Object.fs.openSync (fs.js:427:18) at Object.fs.readFileSync (fs.js:284:15) at .extend.readSmartJson (packages/velocity-quick-start/quick-start.js:157) at .extend.addPackages (packages/velocity-quick-start/quick-start.js:36) at .extend.exec (packages/velocity-quick-start/quick-start.js:20) at Package (packages/velocity-quick-start/main.js:10) at packages/velocity-quick-start.js:301:4 at packages/velocity-quick-start.js:308:3 at /meteor/containers/5a33d8a0-8667-7625-165d-b2bd0a42337e/bundle/programs/server/boot.js:155:10 at Array.forEach (native) [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO STATUS running -> waiting [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] ERROR Application crashed with code: 8 [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] NOTICE Starting application on port 31175 [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] INFO STATUS waiting -> starting [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] INFO STATUS starting -> running [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING Failed to load c++ bson extension, using pure JS version [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO Jasmine-Unit is loaded [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'mocha-web-velocity'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'jasmine-unit'. Reason: Method not found [404] [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'jasmine'. Reason: Method not found [404] [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] Error reading app's smart.json file: { [Error: ENOENT, no such file or directory '/smart.json'] errno: 34, code: 'ENOENT', path: '/smart.json', syscall: 'open' } [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING throw(ex); ^ [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.3.37/lib/nodemodules/fibers/future.js:173 [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING Error: ENOENT, no such file or directory '/smart.json' at Object.fs.openSync (fs.js:427:18) at Object.fs.readFileSync (fs.js:284:15) at .extend.readSmartJson (packages/velocity-quick-start/quick-start.js:157) at .extend.addPackages (packages/velocity-quick-start/quick-start.js:36) at .extend.exec (packages/velocity-quick-start/quick-start.js:20) at Package (packages/velocity-quick-start/main.js:10) at packages/velocity-quick-start.js:301:4 at packages/velocity-quick-start.js:308:3 at /meteor/containers/5a33d8a0-8667-7625-165d-b2bd0a42337e/bundle/programs/server/boot.js:155:10 at Array.forEach (native) [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] ERROR Application crashed with code: 8 [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO STATUS running -> waiting [Mon Jul 14 2014 09:51:04 GMT+0000 (UTC)] INFO HIT / 220.255.1.158 [Mon Jul 14 2014 09:51:09 GMT+0000 (UTC)] INFO HIT / 220.255.1.158 [Mon Jul 14 2014 09:51:19 GMT+0000 (UTC)] INFO HIT /GALAXY 219.74.232.23 — Reply to this email directly or view it on GitHub.

geekyme commented 10 years ago

Oh! Ok thanks for the info.

Sent from my iPhone

On 14 Jul, 2014, at 7:14 pm, "Adrian Lanning" notifications@github.com wrote:

Couple things here:

  • quick-start should only run in development
  • you should mrt remove quick-start before bundling

Actually the velocity-quick-start package can be removed once it has successfully run once. If it's already added the test frameworks and copied the sample tests, there's no more need for it

Will update the readme

On Jul 14, 2014, at 5:58 AM, Shawn Lim notifications@github.com wrote:

Hey there,

So I've managed to run the example leaderboard app correctly on localhost and everything works after I add velocity-quick-start.

The problem comes when I tried to deploy it to *.meteor.com, and it is failing with this errors:

[Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING Failed to load c++ bson extension, using pure JS version [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO Jasmine-Unit is loaded [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'jasmine'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'mocha-web-velocity'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'jasmine-unit'. Reason: Method not found [404] [velocity-quick-start] Error reading app's smart.json file: { [Error: ENOENT, no such file or directory '/smart.json'] errno: 34, code: 'ENOENT', path: '/smart.json', syscall: 'open' } [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.3.37/lib/nodemodules/fibers/future.js:173 [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING throw(ex); ^ Error: ENOENT, no such file or directory '/smart.json' at Object.fs.openSync (fs.js:427:18) at Object.fs.readFileSync (fs.js:284:15) at .extend.readSmartJson (packages/velocity-quick-start/quick-start.js:157) at .extend.addPackages (packages/velocity-quick-start/quick-start.js:36) at .extend.exec (packages/velocity-quick-start/quick-start.js:20) at Package (packages/velocity-quick-start/main.js:10) at packages/velocity-quick-start.js:301:4 at packages/velocity-quick-start.js:308:3 at /meteor/containers/5a33d8a0-8667-7625-165d-b2bd0a42337e/bundle/programs/server/boot.js:155:10 at Array.forEach (native) [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO STATUS running -> waiting [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] ERROR Application crashed with code: 8 [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] NOTICE Starting application on port 31175 [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] INFO STATUS waiting -> starting [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] INFO STATUS starting -> running [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING Failed to load c++ bson extension, using pure JS version [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO Jasmine-Unit is loaded [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'mocha-web-velocity'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'jasmine-unit'. Reason: Method not found [404] [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'jasmine'. Reason: Method not found [404] [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] Error reading app's smart.json file: { [Error: ENOENT, no such file or directory '/smart.json'] errno: 34, code: 'ENOENT', path: '/smart.json', syscall: 'open' } [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING throw(ex); ^ [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.3.37/lib/nodemodules/fibers/future.js:173 [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING Error: ENOENT, no such file or directory '/smart.json' at Object.fs.openSync (fs.js:427:18) at Object.fs.readFileSync (fs.js:284:15) at .extend.readSmartJson (packages/velocity-quick-start/quick-start.js:157) at .extend.addPackages (packages/velocity-quick-start/quick-start.js:36) at .extend.exec (packages/velocity-quick-start/quick-start.js:20) at Package (packages/velocity-quick-start/main.js:10) at packages/velocity-quick-start.js:301:4 at packages/velocity-quick-start.js:308:3 at /meteor/containers/5a33d8a0-8667-7625-165d-b2bd0a42337e/bundle/programs/server/boot.js:155:10 at Array.forEach (native) [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] ERROR Application crashed with code: 8 [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO STATUS running -> waiting [Mon Jul 14 2014 09:51:04 GMT+0000 (UTC)] INFO HIT / 220.255.1.158 [Mon Jul 14 2014 09:51:09 GMT+0000 (UTC)] INFO HIT / 220.255.1.158 [Mon Jul 14 2014 09:51:19 GMT+0000 (UTC)] INFO HIT /GALAXY 219.74.232.23 — Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub.

alanning commented 10 years ago

Just to be clear, this is definitely a bug in the quick-start and it's great that you reported it. :-)

The dev vs prod thing is a fix we can do today.

Re: removing the package, we had tried to get quick-start to remove itself but it was causing meteor some heartache (expected package wasn't there anymore) so we are waiting for the new package system to see if they can provide some support for our use case.

Till then we'll just ask people to remove it themselves once it's installed its stuff.

On Jul 14, 2014, at 8:06 AM, Shawn Lim notifications@github.com wrote:

Oh! Ok thanks for the info.

Sent from my iPhone

On 14 Jul, 2014, at 7:14 pm, "Adrian Lanning" notifications@github.com wrote:

Couple things here:

  • quick-start should only run in development
  • you should mrt remove quick-start before bundling

Actually the velocity-quick-start package can be removed once it has successfully run once. If it's already added the test frameworks and copied the sample tests, there's no more need for it

Will update the readme

On Jul 14, 2014, at 5:58 AM, Shawn Lim notifications@github.com wrote:

Hey there,

So I've managed to run the example leaderboard app correctly on localhost and everything works after I add velocity-quick-start.

The problem comes when I tried to deploy it to *.meteor.com, and it is failing with this errors:

[Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING Failed to load c++ bson extension, using pure JS version [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO Jasmine-Unit is loaded [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'jasmine'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'mocha-web-velocity'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'jasmine-unit'. Reason: Method not found [404] [velocity-quick-start] Error reading app's smart.json file: { [Error: ENOENT, no such file or directory '/smart.json'] errno: 34, code: 'ENOENT', path: '/smart.json', syscall: 'open' } [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.3.37/lib/nodemodules/fibers/future.js:173 [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING throw(ex); ^ Error: ENOENT, no such file or directory '/smart.json' at Object.fs.openSync (fs.js:427:18) at Object.fs.readFileSync (fs.js:284:15) at .extend.readSmartJson (packages/velocity-quick-start/quick-start.js:157) at .extend.addPackages (packages/velocity-quick-start/quick-start.js:36) at .extend.exec (packages/velocity-quick-start/quick-start.js:20) at Package (packages/velocity-quick-start/main.js:10) at packages/velocity-quick-start.js:301:4 at packages/velocity-quick-start.js:308:3 at /meteor/containers/5a33d8a0-8667-7625-165d-b2bd0a42337e/bundle/programs/server/boot.js:155:10 at Array.forEach (native) [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO STATUS running -> waiting [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] ERROR Application crashed with code: 8 [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] NOTICE Starting application on port 31175 [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] INFO STATUS waiting -> starting [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] INFO STATUS starting -> running [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING Failed to load c++ bson extension, using pure JS version [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO Jasmine-Unit is loaded [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'mocha-web-velocity'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'jasmine-unit'. Reason: Method not found [404] [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'jasmine'. Reason: Method not found [404] [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] Error reading app's smart.json file: { [Error: ENOENT, no such file or directory '/smart.json'] errno: 34, code: 'ENOENT', path: '/smart.json', syscall: 'open' } [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING throw(ex); ^ [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.3.37/lib/nodemodules/fibers/future.js:173 [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING Error: ENOENT, no such file or directory '/smart.json' at Object.fs.openSync (fs.js:427:18) at Object.fs.readFileSync (fs.js:284:15) at .extend.readSmartJson (packages/velocity-quick-start/quick-start.js:157) at .extend.addPackages (packages/velocity-quick-start/quick-start.js:36) at .extend.exec (packages/velocity-quick-start/quick-start.js:20) at Package (packages/velocity-quick-start/main.js:10) at packages/velocity-quick-start.js:301:4 at packages/velocity-quick-start.js:308:3 at /meteor/containers/5a33d8a0-8667-7625-165d-b2bd0a42337e/bundle/programs/server/boot.js:155:10 at Array.forEach (native) [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] ERROR Application crashed with code: 8 [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO STATUS running -> waiting [Mon Jul 14 2014 09:51:04 GMT+0000 (UTC)] INFO HIT / 220.255.1.158 [Mon Jul 14 2014 09:51:09 GMT+0000 (UTC)] INFO HIT / 220.255.1.158 [Mon Jul 14 2014 09:51:19 GMT+0000 (UTC)] INFO HIT /GALAXY 219.74.232.23 — Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub.

geekyme commented 10 years ago

Thx Adrian. Yeah I don't mind removing it myself. It is not too hard:) I rather you guys spend the time on other more pressing issues.

Sent from my iPhone

On 14 Jul, 2014, at 9:39 pm, "Adrian Lanning" notifications@github.com wrote:

Just to be clear, this is definitely a bug in the quick-start and it's great that you reported it. :-)

The dev vs prod thing is a fix we can do today.

Re: removing the package, we had tried to get quick-start to remove itself but it was causing meteor some heartache (expected package wasn't there anymore) so we are waiting for the new package system to see if they can provide some support for our use case.

Till then we'll just ask people to remove it themselves once it's installed its stuff.

On Jul 14, 2014, at 8:06 AM, Shawn Lim notifications@github.com wrote:

Oh! Ok thanks for the info.

Sent from my iPhone

On 14 Jul, 2014, at 7:14 pm, "Adrian Lanning" notifications@github.com wrote:

Couple things here:

  • quick-start should only run in development
  • you should mrt remove quick-start before bundling

Actually the velocity-quick-start package can be removed once it has successfully run once. If it's already added the test frameworks and copied the sample tests, there's no more need for it

Will update the readme

On Jul 14, 2014, at 5:58 AM, Shawn Lim notifications@github.com wrote:

Hey there,

So I've managed to run the example leaderboard app correctly on localhost and everything works after I add velocity-quick-start.

The problem comes when I tried to deploy it to *.meteor.com, and it is failing with this errors:

[Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING Failed to load c++ bson extension, using pure JS version [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO Jasmine-Unit is loaded [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'jasmine'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'mocha-web-velocity'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'jasmine-unit'. Reason: Method not found [404] [velocity-quick-start] Error reading app's smart.json file: { [Error: ENOENT, no such file or directory '/smart.json'] errno: 34, code: 'ENOENT', path: '/smart.json', syscall: 'open' } [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.3.37/lib/nodemodules/fibers/future.js:173 [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] WARNING throw(ex); ^ Error: ENOENT, no such file or directory '/smart.json' at Object.fs.openSync (fs.js:427:18) at Object.fs.readFileSync (fs.js:284:15) at .extend.readSmartJson (packages/velocity-quick-start/quick-start.js:157) at .extend.addPackages (packages/velocity-quick-start/quick-start.js:36) at .extend.exec (packages/velocity-quick-start/quick-start.js:20) at Package (packages/velocity-quick-start/main.js:10) at packages/velocity-quick-start.js:301:4 at packages/velocity-quick-start.js:308:3 at /meteor/containers/5a33d8a0-8667-7625-165d-b2bd0a42337e/bundle/programs/server/boot.js:155:10 at Array.forEach (native) [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] INFO STATUS running -> waiting [Mon Jul 14 2014 09:50:04 GMT+0000 (UTC)] ERROR Application crashed with code: 8 [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] NOTICE Starting application on port 31175 [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] INFO STATUS waiting -> starting [Mon Jul 14 2014 09:50:59 GMT+0000 (UTC)] INFO STATUS starting -> running [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING Failed to load c++ bson extension, using pure JS version [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO Jasmine-Unit is loaded [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'mocha-web-velocity'. Reason: Method not found [404] [velocity-quick-start] could not generate sample tests for test framework: 'jasmine-unit'. Reason: Method not found [404] [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] could not generate sample tests for test framework: 'jasmine'. Reason: Method not found [404] [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO [velocity-quick-start] Error reading app's smart.json file: { [Error: ENOENT, no such file or directory '/smart.json'] errno: 34, code: 'ENOENT', path: '/smart.json', syscall: 'open' } [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING throw(ex); ^ [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.3.37/lib/nodemodules/fibers/future.js:173 [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] WARNING Error: ENOENT, no such file or directory '/smart.json' at Object.fs.openSync (fs.js:427:18) at Object.fs.readFileSync (fs.js:284:15) at .extend.readSmartJson (packages/velocity-quick-start/quick-start.js:157) at .extend.addPackages (packages/velocity-quick-start/quick-start.js:36) at .extend.exec (packages/velocity-quick-start/quick-start.js:20) at Package (packages/velocity-quick-start/main.js:10) at packages/velocity-quick-start.js:301:4 at packages/velocity-quick-start.js:308:3 at /meteor/containers/5a33d8a0-8667-7625-165d-b2bd0a42337e/bundle/programs/server/boot.js:155:10 at Array.forEach (native) [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] ERROR Application crashed with code: 8 [Mon Jul 14 2014 09:51:00 GMT+0000 (UTC)] INFO STATUS running -> waiting [Mon Jul 14 2014 09:51:04 GMT+0000 (UTC)] INFO HIT / 220.255.1.158 [Mon Jul 14 2014 09:51:09 GMT+0000 (UTC)] INFO HIT / 220.255.1.158 [Mon Jul 14 2014 09:51:19 GMT+0000 (UTC)] INFO HIT /GALAXY 219.74.232.23 — Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub.

geekyme commented 10 years ago

I've just removed the quick-start package from my repository and re-deployed. Seems to work now.

http://shawn.meteor.com/

However am I supposed to be seeing that velocity test status button at the top right corner?

alanning commented 10 years ago

Nice that it doesn't cause errors anymore. That means that the test frameworks are doing the right thing and not running their stuff in prod.

There is an open issue on the velocity-html-report regarding having that not display itself in prod: https://github.com/rdickert/velocity-html-reporter/issues/4

Solution for now is to just, mrt remove velocity-html-reporter but this is definitely something we should fix. (PR's welcome, btw) ;-)

On Mon, Jul 14, 2014 at 11:09 AM, Shawn Lim notifications@github.com wrote:

I've just removed the quick-start package from my repository and re-deployed. Seems to work now.

http://shawn.meteor.com/

However am I supposed to be seeing that velocity test status button at the top right corner?

— Reply to this email directly or view it on GitHub https://github.com/alanning/meteor-velocity-quick-start/issues/4#issuecomment-48911940 .

geekyme commented 10 years ago

ok got it. I'll close this issue then and monitor the progress for the html-report. Thanks for the support @alanning

alanning commented 10 years ago

I'd like to keep this open as a reminder to fix this. We should add a check for "development environment" and not execute anything if that's not true.

hansaliyad1 commented 8 years ago

I am struggling with same problem. I am trying to deploy rocket-chat application for my organization and it is giving me same error but I am still not sure from where I can find velocity-html-reporter. Can you help me @alanning ?

hansaliyad1 commented 8 years ago
[Sat Oct 10 2015 02:13:43 GMT+0000 (UTC)] INFO STATUS waiting -> killed
[Sat Oct 10 2015 02:13:43 GMT+0000 (UTC)] INFO STATUS killed -> sleeping
[Sat Oct 10 2015 02:20:31 GMT+0000 (UTC)] NOTICE Starting application on port 12496
[Sat Oct 10 2015 02:20:31 GMT+0000 (UTC)] INFO STATUS null -> starting
[Sat Oct 10 2015 02:20:32 GMT+0000 (UTC)] INFO STATUS starting -> running
[Sat Oct 10 2015 02:20:39 GMT+0000 (UTC)] INFO { [MongoError: text search not enabled] stack: [Getter] }
[Sat Oct 10 2015 02:20:40 GMT+0000 (UTC)] INFO ufs: created tmpDir /tmp/ufs
[Sat Oct 10 2015 02:20:41 GMT+0000 (UTC)] WARNING
/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:278
throw(ex);
^
[Sat Oct 10 2015 02:20:41 GMT+0000 (UTC)] WARNING MongoError: Mod on _id not allowed
at Object.Future.wait (/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:398:15)
at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
at [object Object].MongoConnection.(anonymous function) [as update] (packages/mongo/mongo_driver.js:736:1)
at OptimizedApply (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:271:1)
at Object.ret.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2881:1)
at Object.fields (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:403:1)
at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:111:1)
at [object Object].Mongo.Collection.(anonymous function) (packages/mongo/collection.js:586:1)
at [object Object].Mongo.Collection.(anonymous function) [as update]
(packages/dispatch_run-as-user/packages/dispatch_run-as-user.js:240:1)
at [object Object].Mongo.Collection.upsert (packages/mongo/collection.js:620:1)
- - - - -
at Object.toError
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:636:22
at Server.Base._callHandler
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
[Sat Oct 10 2015 02:20:41 GMT+0000 (UTC)] INFO STATUS running -> starting
[Sat Oct 10 2015 02:20:41 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Sat Oct 10 2015 02:20:41 GMT+0000 (UTC)] NOTICE Starting application on port 12496
[Sat Oct 10 2015 02:20:41 GMT+0000 (UTC)] INFO STATUS starting -> running
[Sat Oct 10 2015 02:20:42 GMT+0000 (UTC)] INFO { [MongoError: text search not enabled] stack: [Getter] }
[Sat Oct 10 2015 02:20:43 GMT+0000 (UTC)] INFO ufs: created tmpDir /tmp/ufs
[Sat Oct 10 2015 02:20:44 GMT+0000 (UTC)] WARNING
/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:278
throw(ex);
^
[Sat Oct 10 2015 02:20:44 GMT+0000 (UTC)] WARNING MongoError: Mod on _id not allowed
at Object.Future.wait (/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:398:15)
at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
at [object Object].MongoConnection.(anonymous function) [as update] (packages/mongo/mongo_driver.js:736:1)
at OptimizedApply (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:271:1)
at Object.ret.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2881:1)
at Object.fields (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:403:1)
at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:111:1)
at [object Object].Mongo.Collection.(anonymous function) (packages/mongo/collection.js:586:1)
at [object Object].Mongo.Collection.(anonymous function) [as update]
(packages/dispatch_run-as-user/packages/dispatch_run-as-user.js:240:1)
at [object Object].Mongo.Collection.upsert (packages/mongo/collection.js:620:1)
- - - - -
at Object.toError
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:636:22
at Server.Base._callHandler
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
[Sat Oct 10 2015 02:20:44 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Sat Oct 10 2015 02:20:44 GMT+0000 (UTC)] INFO STATUS running -> starting
[Sat Oct 10 2015 02:20:44 GMT+0000 (UTC)] NOTICE Starting application on port 12496
[Sat Oct 10 2015 02:20:44 GMT+0000 (UTC)] INFO STATUS starting -> running
[Sat Oct 10 2015 02:20:45 GMT+0000 (UTC)] INFO { [MongoError: text search not enabled] stack: [Getter] }
[Sat Oct 10 2015 02:20:46 GMT+0000 (UTC)] INFO HIT / 72.49.186.167
[Sat Oct 10 2015 02:20:47 GMT+0000 (UTC)] INFO ufs: created tmpDir /tmp/ufs
[Sat Oct 10 2015 02:20:47 GMT+0000 (UTC)] WARNING
/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:278
throw(ex);
^
[Sat Oct 10 2015 02:20:47 GMT+0000 (UTC)] WARNING MongoError: Mod on _id not allowed
at Object.Future.wait (/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:398:15)
at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
at [object Object].MongoConnection.(anonymous function) [as update] (packages/mongo/mongo_driver.js:736:1)
at OptimizedApply (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:271:1)
at Object.ret.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2881:1)
at Object.fields (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:403:1)
at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:111:1)
at [object Object].Mongo.Collection.(anonymous function) (packages/mongo/collection.js:586:1)
at [object Object].Mongo.Collection.(anonymous function) [as update]
(packages/dispatch_run-as-user/packages/dispatch_run-as-user.js:240:1)
at [object Object].Mongo.Collection.upsert (packages/mongo/collection.js:620:1)
- - - - -
at Object.toError
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:636:22
at Server.Base._callHandler
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
[Sat Oct 10 2015 02:20:47 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Sat Oct 10 2015 02:20:47 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Sat Oct 10 2015 02:20:47 GMT+0000 (UTC)] INFO HIT /favicon.ico 72.49.186.167
[Sat Oct 10 2015 02:20:57 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Sat Oct 10 2015 02:20:57 GMT+0000 (UTC)] NOTICE Starting application on port 12496
[Sat Oct 10 2015 02:20:57 GMT+0000 (UTC)] INFO STATUS starting -> running
[Sat Oct 10 2015 02:21:03 GMT+0000 (UTC)] INFO { [MongoError: text search not enabled] stack: [Getter] }
[Sat Oct 10 2015 02:21:05 GMT+0000 (UTC)] INFO ufs: created tmpDir /tmp/ufs
[Sat Oct 10 2015 02:21:05 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:278
[Sat Oct 10 2015 02:21:05 GMT+0000 (UTC)] WARNING ^
[Sat Oct 10 2015 02:21:05 GMT+0000 (UTC)] WARNING                         throw(ex);
[Sat Oct 10 2015 02:21:05 GMT+0000 (UTC)] WARNING MongoError: Mod on _id not allowed
at Object.Future.wait (/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:398:15)
at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
at [object Object].MongoConnection.(anonymous function) [as update] (packages/mongo/mongo_driver.js:736:1)
at OptimizedApply (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:271:1)
at Object.ret.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2881:1)
at Object.fields (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:403:1)
at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:111:1)
at [object Object].Mongo.Collection.(anonymous function) (packages/mongo/collection.js:586:1)
at [object Object].Mongo.Collection.(anonymous function) [as update]
(packages/dispatch_run-as-user/packages/dispatch_run-as-user.js:240:1)
at [object Object].Mongo.Collection.upsert (packages/mongo/collection.js:620:1)
- - - - -
at Object.toError
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:636:22
at Server.Base._callHandler
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
[Sat Oct 10 2015 02:21:05 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Sat Oct 10 2015 02:21:05 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Sat Oct 10 2015 02:21:14 GMT+0000 (UTC)] INFO HIT / 72.49.186.167
[Sat Oct 10 2015 02:21:20 GMT+0000 (UTC)] INFO HIT / 72.49.186.167
[Sat Oct 10 2015 02:21:20 GMT+0000 (UTC)] INFO HIT /favicon.ico 72.49.186.167
[Sat Oct 10 2015 02:21:26 GMT+0000 (UTC)] INFO HIT /favicon.ico 72.49.186.167
[Sat Oct 10 2015 02:21:27 GMT+0000 (UTC)] NOTICE Starting application on port 12496
[Sat Oct 10 2015 02:21:27 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Sat Oct 10 2015 02:21:27 GMT+0000 (UTC)] INFO STATUS starting -> running
[Sat Oct 10 2015 02:21:28 GMT+0000 (UTC)] INFO { [MongoError: text search not enabled] stack: [Getter] }
[Sat Oct 10 2015 02:21:30 GMT+0000 (UTC)] INFO ufs: created tmpDir /tmp/ufs
[Sat Oct 10 2015 02:21:30 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:278
[Sat Oct 10 2015 02:21:30 GMT+0000 (UTC)] WARNING                         throw(ex);
^
[Sat Oct 10 2015 02:21:30 GMT+0000 (UTC)] WARNING MongoError: Mod on _id not allowed
at Object.Future.wait (/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:398:15)
at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
at [object Object].MongoConnection.(anonymous function) [as update] (packages/mongo/mongo_driver.js:736:1)
at OptimizedApply (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:271:1)
at Object.ret.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2881:1)
at Object.fields (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:403:1)
at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:111:1)
at [object Object].Mongo.Collection.(anonymous function) (packages/mongo/collection.js:586:1)
at [object Object].Mongo.Collection.(anonymous function) [as update]
(packages/dispatch_run-as-user/packages/dispatch_run-as-user.js:240:1)
at [object Object].Mongo.Collection.upsert (packages/mongo/collection.js:620:1)
- - - - -
at Object.toError
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:636:22
at Server.Base._callHandler
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
[Sat Oct 10 2015 02:21:30 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Sat Oct 10 2015 02:21:30 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Sat Oct 10 2015 02:22:45 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Sat Oct 10 2015 02:22:45 GMT+0000 (UTC)] NOTICE Starting application on port 12496
[Sat Oct 10 2015 02:22:45 GMT+0000 (UTC)] INFO STATUS starting -> running
[Sat Oct 10 2015 02:22:46 GMT+0000 (UTC)] INFO { [MongoError: text search not enabled] stack: [Getter] }
[Sat Oct 10 2015 02:22:47 GMT+0000 (UTC)] INFO ufs: created tmpDir /tmp/ufs
[Sat Oct 10 2015 02:22:48 GMT+0000 (UTC)] WARNING 
/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:278
throw(ex);
^
MongoError: Mod on _id not allowed
at Object.Future.wait (/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:398:15)
at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
at [object Object].MongoConnection.(anonymous function) [as update] (packages/mongo/mongo_driver.js:736:1)
at OptimizedApply (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:271:1)
at Object.ret.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2881:1)
at Object.fields (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:403:1)
at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:111:1)
at [object Object].Mongo.Collection.(anonymous function) (packages/mongo/collection.js:586:1)
at [object Object].Mongo.Collection.(anonymous function) [as update]
(packages/dispatch_run-as-user/packages/dispatch_run-as-user.js:240:1)
at [object Object].Mongo.Collection.upsert (packages/mongo/collection.js:620:1)
- - - - -
at Object.toError
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:636:22
at Server.Base._callHandler
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
[Sat Oct 10 2015 02:22:48 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Sat Oct 10 2015 02:22:48 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Sat Oct 10 2015 02:25:01 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Sat Oct 10 2015 02:25:01 GMT+0000 (UTC)] NOTICE Starting application on port 12496
[Sat Oct 10 2015 02:25:01 GMT+0000 (UTC)] INFO STATUS starting -> running
[Sat Oct 10 2015 02:25:08 GMT+0000 (UTC)] INFO { [MongoError: text search not enabled] stack: [Getter] }
[Sat Oct 10 2015 02:25:09 GMT+0000 (UTC)] INFO ufs: created tmpDir /tmp/ufs
[Sat Oct 10 2015 02:25:09 GMT+0000 (UTC)] WARNING
/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:278
throw(ex);
^
[Sat Oct 10 2015 02:25:09 GMT+0000 (UTC)] WARNING MongoError: Mod on _id not allowed
at Object.Future.wait (/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:398:15)
at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
at [object Object].MongoConnection.(anonymous function) [as update] (packages/mongo/mongo_driver.js:736:1)
at OptimizedApply (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:271:1)
at Object.ret.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2881:1)
at Object.fields (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:403:1)
at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:111:1)
at [object Object].Mongo.Collection.(anonymous function) (packages/mongo/collection.js:586:1)
at [object Object].Mongo.Collection.(anonymous function) [as update]
(packages/dispatch_run-as-user/packages/dispatch_run-as-user.js:240:1)
at [object Object].Mongo.Collection.upsert (packages/mongo/collection.js:620:1)
- - - - -
at Object.toError
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:636:22
at Server.Base._callHandler
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
[Sat Oct 10 2015 02:25:09 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Sat Oct 10 2015 02:25:09 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Sat Oct 10 2015 02:30:45 GMT+0000 (UTC)] NOTICE Starting application on port 12496
[Sat Oct 10 2015 02:30:45 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Sat Oct 10 2015 02:30:45 GMT+0000 (UTC)] INFO STATUS starting -> running
[Sat Oct 10 2015 02:30:46 GMT+0000 (UTC)] INFO { [MongoError: text search not enabled] stack: [Getter] }
[Sat Oct 10 2015 02:30:47 GMT+0000 (UTC)] INFO ufs: created tmpDir /tmp/ufs
[Sat Oct 10 2015 02:30:47 GMT+0000 (UTC)] WARNING 
/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:278
throw(ex);
^
MongoError: Mod on _id not allowed
at Object.Future.wait (/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:398:15)
at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
at [object Object].MongoConnection.(anonymous function) [as update] (packages/mongo/mongo_driver.js:736:1)
at OptimizedApply (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:271:1)
at Object.ret.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2881:1)
at Object.fields (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:403:1)
at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:111:1)
at [object Object].Mongo.Collection.(anonymous function) (packages/mongo/collection.js:586:1)
at [object Object].Mongo.Collection.(anonymous function) [as update]
(packages/dispatch_run-as-user/packages/dispatch_run-as-user.js:240:1)
at [object Object].Mongo.Collection.upsert (packages/mongo/collection.js:620:1)
- - - - -
at Object.toError
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:636:22
at Server.Base._callHandler
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
[Sat Oct 10 2015 02:30:48 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Sat Oct 10 2015 02:30:48 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Sat Oct 10 2015 02:42:09 GMT+0000 (UTC)] NOTICE Starting application on port 12496
[Sat Oct 10 2015 02:42:09 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Sat Oct 10 2015 02:42:09 GMT+0000 (UTC)] INFO STATUS starting -> running
[Sat Oct 10 2015 02:42:10 GMT+0000 (UTC)] INFO { [MongoError: text search not enabled] stack: [Getter] }
[Sat Oct 10 2015 02:42:12 GMT+0000 (UTC)] INFO ufs: created tmpDir /tmp/ufs
[Sat Oct 10 2015 02:42:12 GMT+0000 (UTC)] WARNING                         throw(ex);
^
[Sat Oct 10 2015 02:42:12 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:278
[Sat Oct 10 2015 02:42:12 GMT+0000 (UTC)] WARNING MongoError: Mod on _id not allowed
at Object.Future.wait (/meteor/dev_bundles/0.5.14/lib/node_modules/fibers/future.js:398:15)
at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
at [object Object].MongoConnection.(anonymous function) [as update] (packages/mongo/mongo_driver.js:736:1)
at OptimizedApply (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:271:1)
at Object.ret.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2881:1)
at Object.fields (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:403:1)
at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks/packages/matb33_collection-hooks.js:111:1)
at [object Object].Mongo.Collection.(anonymous function) (packages/mongo/collection.js:586:1)
at [object Object].Mongo.Collection.(anonymous function) [as update]
(packages/dispatch_run-as-user/packages/dispatch_run-as-user.js:240:1)
at [object Object].Mongo.Collection.upsert (packages/mongo/collection.js:620:1)
- - - - -
at Object.toError
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:636:22
at Server.Base._callHandler
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at
/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous>
(/meteor/containers/7fcbb9b8-d4d2-a2ea-85dd-9f52447cea30/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
[Sat Oct 10 2015 02:42:12 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Sat Oct 10 2015 02:42:12 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Sat Oct 10 2015 02:45:39 GMT+0000 (UTC)] INFO HIT / 72.49.186.167
[Sat Oct 10 2015 02:45:45 GMT+0000 (UTC)] INFO HIT / 72.49.186.167
[Sat Oct 10 2015 02:45:45 GMT+0000 (UTC)] INFO HIT /favicon.ico 72.49.186.167
[Sat Oct 10 2015 02:45:51 GMT+0000 (UTC)] INFO HIT /favicon.ico 72.49.186.167
alanning commented 8 years ago

@hansaliyad1, it looks like the actual error is: "MongoError: Mod on _id not allowed".

I don't think your error is related to this package or the Velocity testing framework.

I would guess the error is thrown because you are trying to change the _id field of a record which is apparently not allowed.

Hope that helps

hansaliyad1 commented 8 years ago

Thanks @alanning. Now I am planning to deploy my project on heroku, not on meteor. I am facing no problem in heroku so hope it works.