running old meteor app on new version - meteor

I have implemented some time ago small app in meteor framework. It was in time when meteor was in alpha stage.
Now trying to run that app on my local with new meteor and have following issue.
W20150103-00:59:21.595(1)? (STDERR)
W20150103-00:59:21.665(1)? (STDERR) /home/priv/.meteor/packages/meteor-tool/.1.0.38.ieqxkv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:173
W20150103-00:59:21.666(1)? (STDERR) throw(ex);
W20150103-00:59:21.666(1)? (STDERR) ^
W20150103-00:59:21.666(1)? (STDERR) TypeError: Object # has no method 'methods'
W20150103-00:59:21.666(1)? (STDERR) at Accounts.urls (packages/accounts-base/accounts_server.js:422:1)
W20150103-00:59:21.666(1)? (STDERR) at /home/priv/Apps/musicapp/.meteor/local/build/programs/server/packages/accounts-base.js:1614:4
W20150103-00:59:21.667(1)? (STDERR) at /home/priv/Apps/musicapp/.meteor/local/build/programs/server/packages/accounts-base.js:1657:3
W20150103-00:59:21.667(1)? (STDERR) at /home/priv/Apps/musicapp/.meteor/local/build/programs/server/boot.js:175:10
W20150103-00:59:21.667(1)? (STDERR) at Array.forEach (native)
W20150103-00:59:21.667(1)? (STDERR) at Function..each..forEach (/home/priv/.meteor/packages/meteor-tool/.1.0.38.ieqxkv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20150103-00:59:21.667(1)? (STDERR) at /home/priv/Apps/musicapp/.meteor/local/build/programs/server/boot.js:86:5
=> Exited with code: 8
W20150103-00:59:23.876(1)? (STDERR)
The problem seems to be in accounts-base package but not sure how to solve that.
Thank you for your help.

Related

I am Getting error while building meteor App

Build environment
Windows 8: command Shell ( running in admin mode )
Meteor
meteor --version
Meteor 1.7.0.3
Node
node -v
v10.15.1
Npm
npm -v
5.3.0
Erorr while build:
W20190205-13:02:24.727(5.5)? (STDERR) D:\murali\new OHIF\Viewers-master\Viewers-
master\OHIFViewer\node_modules\fibers\fibers.js:90
W20190205-13:02:24.771(5.5)? (STDERR) return f
n.apply(this, arguments);
W20190205-13:02:24.771(5.5)? (STDERR)
^
W20190205-13:02:24.772(5.5)? (STDERR)
W20190205-13:02:24.772(5.5)? (STDERR) Error: Cannot find module "fibers/future"
W20190205-13:02:24.772(5.5)? (STDERR) at Object.require (D:\murali\new OHIF\
Viewers-master\Viewers-master\OHIFViewer\.meteor\local\build\programs\server\boo
t.js:295:24)
W20190205-13:02:24.772(5.5)? (STDERR) at packages\meteor.js:261:20
W20190205-13:02:24.773(5.5)? (STDERR) at packages\meteor.js:431:4
W20190205-13:02:24.773(5.5)? (STDERR) at packages\meteor.js:1578:3
W20190205-13:02:24.773(5.5)? (STDERR) at D:\murali\new OHIF\Viewers-master\V
iewers-master\OHIFViewer\.meteor\local\build\programs\server\boot.js:411:36
W20190205-13:02:24.773(5.5)? (STDERR) at Array.forEach (<anonymous>)
W20190205-13:02:24.774(5.5)? (STDERR) at D:\murali\new OHIF\Viewers-master\V
iewers-master\OHIFViewer\.meteor\local\build\programs\server\boot.js:220:19
W20190205-13:02:24.775(5.5)? (STDERR) at D:\murali\new OHIF\Viewers-master\V
iewers-master\OHIFViewer\.meteor\local\build\programs\server\boot.js:471:5
W20190205-13:02:24.775(5.5)? (STDERR) at Function.run (D:\murali\new OHIF\Vi
ewers-master\Viewers-master\OHIFViewer\.meteor\local\build\programs\server\profi
le.js:510:12)
W20190205-13:02:24.775(5.5)? (STDERR) at D:\murali\new OHIF\Viewers-master\V
iewers-master\OHIFViewer\.meteor\local\build\programs\server\boot.js:470:11
=> Exited with code: 1
W20190205-13:02:34.215(5.5)? (STDERR) D:\murali\new OHIF\Viewers-master\Viewers-
master\OHIFViewer\node_modules\fibers\fibers.js:90
W20190205-13:02:34.215(5.5)? (STDERR) return fn.apply(this, arguments);
------------------

Meteor redis-oplog with accounts-meld error

So I just added redis-oplog to my project
https://github.com/cult-of-coders/redis-oplog
meteor add cultofcoders:redis-oplog
meteor add disable-oplog
With its default settings
And I get this error
W20180226-10:52:11.373(4)? (STDERR) Error: use "new" to construct a Mongo.Collection
W20180226-10:52:11.374(4)? (STDERR) at new Mongo.Collection (packages/mongo/collection.js:30:11)
W20180226-10:52:11.374(4)? (STDERR) at packages/splendido_accounts-meld.js:116:15
W20180226-10:52:11.374(4)? (STDERR) at packages/splendido_accounts-meld.js:702:4
W20180226-10:52:11.374(4)? (STDERR) at packages/splendido_accounts-meld.js:751:4
W20180226-10:52:11.374(4)? (STDERR) at packages/splendido_accounts-meld.js:764:3
W20180226-10:52:11.374(4)? (STDERR) at infos.forEach.info (/Users/hayksafaryan/projects/b2c/.meteor/local/build/programs/server/boot.js:414:13)
W20180226-10:52:11.374(4)? (STDERR) at Array.forEach (<anonymous>)
W20180226-10:52:11.375(4)? (STDERR) at /Users/hayksafaryan/projects/b2c/.meteor/local/build/programs/server/boot.js:413:9
W20180226-10:52:11.375(4)? (STDERR) at /Users/hayksafaryan/projects/b2c/.meteor/local/build/programs/server/boot.js:463:5
W20180226-10:52:11.375(4)? (STDERR) at Function.run (/Users/hayksafaryan/projects/b2c/.meteor/local/build/programs/server/profile.js:510:12)
=> Exited with code: 1
There seems to be some conflicts with this package
https://github.com/splendido/meteor-accounts-meld
Did anybody encounter this before?
Just in case you haven't fixed this yet, did you edit .meteor/packages and move cultofcoders:redis-oplog to the top? Redis-oplog needs to be loaded before anything else that uses collections.

Error while implementing Autoform in meteor

I received the following error while implementing the tested code of autoform. The clone runs fine. I have installed the package: aldeed. Where is the mistake?
Error: Invalid definition for firstName field.
W20150407-15:40:16.988(5.5)? (STDERR) at packages/aldeed:simple-schema/simple-schema.js:62:1
W20150407-15:40:16.988(5.5)? (STDERR) at Function._.each._.forEach (packages/underscore/underscore.js:113:1)
W20150407-15:40:16.988(5.5)? (STDERR) at [object Object].SimpleSchema (packages/aldeed:simple-schema/simple-schema.js:59:1)
W20150407-15:40:16.988(5.5)? (STDERR) at app/common/1_schemas.js:5:18
W20150407-15:40:16.988(5.5)? (STDERR) at app/common/1_schemas.js:123:3
W20150407-15:40:16.988(5.5)? (STDERR) at /home/garima.wadhera/autoform/.meteor/local/build/programs/server/boot.js:222:10
W20150407-15:40:16.989(5.5)? (STDERR) at Array.forEach (native)
W20150407-15:40:16.989(5.5)? (STDERR) at Function._.each._.forEach (/root/.meteor/packages/meteor-tool/.1.1.2.2ai5r5++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20150407-15:40:16.989(5.5)? (STDERR) at /home/garima.wadhera/autoform/.meteor/local/build/programs/server/boot.js:117:5

Meteor - errors after upgrading

Hi received the following error after upgrading to latest version:
W20150112-12:30:33.785(-5)? (STDERR)
W20150112-12:30:33.788(-5)? (STDERR) /Users/chazmee/.meteor/packages/meteor-tool/.1.0.37.1c4ifox++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:173
W20150112-12:30:33.788(-5)? (STDERR) throw(ex);
W20150112-12:30:33.788(-5)? (STDERR) ^
W20150112-12:30:33.789(-5)? (STDERR) ReferenceError: Router is not defined
W20150112-12:30:33.789(-5)? (STDERR) at app/lib/router.js:1:36
W20150112-12:30:33.789(-5)? (STDERR) at app/lib/router.js:69:3
W20150112-12:30:33.789(-5)? (STDERR) at /Users/chazmee/placelist/.meteor/local/build/programs/server/boot.js:175:10
W20150112-12:30:33.789(-5)? (STDERR) at Array.forEach (native)
W20150112-12:30:33.790(-5)? (STDERR) at Function..each..forEach (/Users/chazmee/.meteor/packages/meteor-tool/.1.0.37.1c4ifox++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20150112-12:30:33.790(-5)? (STDERR) at /Users/chazmee/placelist/.meteor/local/build/programs/server/boot.js:86:5
=> Exited with code: 8
Based on the error, it looks like you have a Router declaration, but it isn't defined. I would recommend installing iron router:
meteor add iron:router
Then reload your app.

Trying to run Meteor after updating to 0.9.4 on ubuntu getting errors like TypeError: Cannot call method 'add' of undefined

I am new-bee to meteor, i am struggling to run this.
kanna#kanna-VPCEB3QFX:~/Desktop/testhtml5/testhtml5/testHTML$ sudo meteor
[sudo] password for kanna:`enter code here`
[[[[[ ~/Desktop/testrschtml5/rschtml5/testHTML ]]]]]
=> Started proxy.
=> Started MongoDB.
W20141017-13:19:19.659(5.5)? (STDERR)
W20141017-13:19:19.737(5.5)? (STDERR) /home/kanna/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173
W20141017-13:19:19.738(5.5)? (STDERR) throw(ex);
W20141017-13:19:19.739(5.5)? (STDERR) ^
W20141017-13:19:19.739(5.5)? (STDERR) TypeError: Cannot call method 'add' of undefined
W20141017-13:19:19.739(5.5)? (STDERR) at app/server/route.js:8:15
W20141017-13:19:19.740(5.5)? (STDERR) at app/server/route.js:930:3
W20141017-13:19:19.740(5.5)? (STDERR) at /home/kanna/Desktop/testhtml5/testhtml5/testHTML/.meteor/local/build/programs/server/boot.js:168:10
W20141017-13:19:19.740(5.5)? (STDERR) at Array.forEach (native)
W20141017-13:19:19.741(5.5)? (STDERR) at Function..each..forEach (/home/kanna/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
W20141017-13:19:19.741(5.5)? (STDERR) at /home/kanna/Desktop/rschtml5/rschtml5/testhtml5/.meteor/local/build/programs/server/boot.js:82:5
=> Exited with code: 8
The code for route.js is
Meteor.Router.add({
'/output/login': function () {
/some thing here
}

Resources