I'm trying to use the Meteor package 'modules.js' and I'm getting the error 'Unexpected token >' which is referring to the arrow function below. I'm really confused by this because the rest of my code uses es6. Any thoughts?
In modules.js
W20160812-14:17:54.153(2)? (STDERR
W20160812-14:17:54.154(2)? (STDERR) packages\modules.js:238
W20160812-14:17:54.154(2)? (STDERR) res.on('data', (chunk) => buffer += chunk.toString('utf8'));
W20160812-14:17:54.155(2)? (STDERR) SyntaxError: Unexpected token >
W20160812-14:17:54.155(2)? (STDERR) at C:\Users\User\Websites\App.meteor\local\build\programs\server\boot.js:278:30
W20160812-14:17:54.155(2)? (STDERR) at Array.forEach (native)
W20160812-14:17:54.156(2)? (STDERR) at Function..each..forEach (C:\Users\User\AppData\Local.meteor\packages\meteor-tool\1.3.0_3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20160812-14:17:54.156(2)? (STDERR) at C:\Users\User\Websites\App.meteor\local\build\programs\server\boot.js:133:5
Related
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.
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
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.
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
}
Ijust updgraded Meteor to the latest version and now when I run my app I get this error
TypeError: Object [object Object] has no method 'reove'
W20140109-22:53:08.415(-5)? (STDERR) at server/config.coffee:4:34
W20140109-22:53:08.416(-5)? (STDERR) at
app/server/config.coffee.js:29:3 W20140109-22:53:08.416(-5)? (STDERR)
at
/Volumes/Dev/Development/projects/pipevine/shingle/.meteor/local/build/programs/server/boot.js:155:10
W20140109-22:53:08.416(-5)? (STDERR) at Array.forEach (native)
W20140109-22:53:08.417(-5)? (STDERR) at Function..each..forEach
(/Volumes/Dev/Users/harjitsingh/.meteor/tools/09b63f1ed5/lib/node_modules/underscore/underscore.js:79:11)
W20140109-22:53:08.417(-5)? (STDERR) at
/Volumes/Dev/Development/projects/pipevine/shingle/.meteor/local/build/programs/server/boot.js:82:5
I think you misspelled 'remove' in 'server/config.coffee' on line 4.