I have downloaded flat-ui from official website. Then I copy pased dist folder in root directory of the application.
I have created basic meteor app using meteor create app_name
I am trying to implement the login form given on demo page of flat-ui.
http://designmodo.github.io/Flat-UI/
Login page is at the end of the page.
As far as know meteor can iterate through all the folder in the root directory and add css files.(correct me if I am wrong). Also I get error like
W20150210-01:58:23.516(5.5)? (STDERR)
W20150210-01:58:23.519(5.5)? (STDERR) /home/ajinkya/.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
W20150210-01:58:23.519(5.5)? (STDERR) throw(ex);
W20150210-01:58:23.520(5.5)? (STDERR) ^
W20150210-01:58:23.520(5.5)? (STDERR) ReferenceError: document is not defined
W20150210-01:58:23.521(5.5)? (STDERR) at app/dist/js/vendor/html5shiv.js:322:9
W20150210-01:58:23.521(5.5)? (STDERR) at app/dist/js/vendor/html5shiv.js:324:3
W20150210-01:58:23.521(5.5)? (STDERR) at /home/ajinkya/projects/umang/.meteor/local/build/programs/server/boot.js:175:10
W20150210-01:58:23.522(5.5)? (STDERR) at Array.forEach (native)
W20150210-01:58:23.522(5.5)? (STDERR) at Function._.each._.forEach (/home/ajinkya/.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)
W20150210-01:58:23.522(5.5)? (STDERR) at /home/ajinkya/projects/umang/.meteor/local/build/programs/server/boot.js:86:5
=> Exited with code: 8
So I tried removing js folder. After that error went but when I tried that login form example there was no icons in input box.
Please help me with this. I think its maybe folder structure that is causing the issue.
Related
Having this error:
W20180804-11:57:23.254(1)? (STDERR) Error: Cannot find module '#babel/runtime/helpers/builtin/interopRequireDefault'
W20180804-11:57:23.254(1)? (STDERR) at Function.Module._resolveFilename (module.js:547:15)
W20180804-11:57:23.254(1)? (STDERR) at Function.resolve (internal/module.js:18:19)
W20180804-11:57:23.254(1)? (STDERR) at Object.require (/home/inu/workspace/meteor/lff3/.meteor/local/build/programs/server/boot.js:288:32)
W20180804-11:57:23.254(1)? (STDERR) at makeInstallerOptions.fallback (packages/modules-runtime.js:653:18)
W20180804-11:57:23.254(1)? (STDERR) at require (packages/modules-runtime.js:244:16)
W20180804-11:57:23.255(1)? (STDERR) at livedata_connection.js (/home/inu/workspace/meteor/lff3/.meteor/local/build/programs/server/packages/ddp-client.js:147:30)
W20180804-11:57:23.255(1)? (STDERR) at fileEvaluate (packages/modules-runtime.js:339:7)
W20180804-11:57:23.255(1)? (STDERR) at require (packages/modules-runtime.js:238:16)
W20180804-11:57:23.255(1)? (STDERR) at namespace.js (packages/ddp-client/common/namespace.js:1:300)
W20180804-11:57:23.255(1)? (STDERR) at fileEvaluate (packages/modules-runtime.js:339:7)
Already tried installing latest babel runtime with no success.
meteor npm install #babel/runtime#latest
This has been traced in the forums as an incompatibility with the latest version of #babel/runtime.
Change the corresponding line in the package.json file
"dependencies": {
"#babel/runtime": "7.0.0-beta.55",
and then do
meteor npm install
Am using "react-native": "0.57.1"
I come across it today and I running
"$ npm add #babel/runtime"
fixed it
I came across the same error when I installed version 7.0.0-beta.56. I figured it was a development bug, since it was not more than 2 hours since they had released this new version. So I followed up and saw that the builtin/ folder did not exist, (this folder should be inside the helpers/ folder) and the files that the builtin/ folder should contain were at the same level, that is, in the helpers/ folder, so the easiest solution I found was to create builtin/ folder inside helpers/ folder and move or copy the contents of the helpers/folder inside helpers/builtin/.
I hope that this will be helpful for those who want to continue with this version.
This is the only solution for now . Because meteor (1.7.0.3) creates app with
"#babel/runtime": "^7.0.0-beta.51"
So, We have to update the version.
npm i babel#latest should work but its not working right now, it's showing the same error as before, so for now this is the solution.
I encountered the above problem and I solved it simply by running the following command;
meteor npm install --save #babel/runtime#latest
I have an existing Meteor app that appears to have crashed today. I re-ran meteor in terminal and it proceeds to run meteor but it’s not picking up correct db we are using in mongodb. When I run
MONGO_URL=mongodb://dbuser:dbpass#127.0.0.1/db meteor run it proceeds to build the application but then exits with a code:8. Then it just loops back to creating the application again and selecting package versions. Then when I visit our URL in the browser for the site, I’m getting the following error:
“It looks like you are trying to access MongoDB over HTTP on the native driver port.”
Not sure how to get this app back up and running so any help/suggestions would be appreciated. So short story is we had this running yesterday but then it crashed and now I can’t get the app running again. The db is intact and the collection we use is present in the db. The app code for meteor is all in place. I’m just having problems starting up the app again. The app is hosted in AWS CentOS server running Apache.
Detailed error that I'm seeing when trying to run the app:
/dev_bundle/server-lib/node_modules/fibers/future.js:245
W20171114-03:34:08.618(0)? (STDERR) throw(ex);
W20171114-03:34:08.618(0)? (STDERR) ^
W20171114-03:34:08.618(0)? (STDERR) TypeError: Object #<Object> has no method 'describe'
W20171114-03:34:08.618(0)? (STDERR) at app/server/packages/npm-container/package.js:4:9
W20171114-03:34:08.619(0)? (STDERR) at app/server/packages/npm-container/package.js:25:3
W20171114-03:34:08.619(0)? (STDERR) at /var/www/mongo-parcc-user/parcc-meteor/.meteor/local/build/programs/server/boot.js:222:10
W20171114-03:34:08.619(0)? (STDERR) at Array.forEach (native)
W20171114-03:34:08.619(0)? (STDERR) at Function._.each._.forEach (/root/.meteor/packages/meteor-tool/.1.1.3.115udz9++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20171114-03:34:08.619(0)? (STDERR) at /var/www/mongo-parcc-user/parcc-meteor/.meteor/local/build/programs/server/boot.js:117:5
=> Exited with code: 8
I have been using Meteor for years and have version 1.1 on my Mac. I have created a new directory, typed meteor update and checked that meteor --version gives Meteor 1.5.
Following the tutorial, I typed meteor create simple-todos, cd into it, and typed meteor.
But meteor crashes - see the error below. How can I get the tutorial running? I'd still like to be able to run my older Meteor 1.1 app too.
=> Started proxy.
=> Started MongoDB.
W20170605-21:34:04.700(10)? (STDERR) /Users/.../.meteor/packages/meteor-tool/.1.5.0.3kmr7i++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20170605-21:34:04.801(10)? (STDERR) throw(ex);
W20170605-21:34:04.801(10)? (STDERR) ^
W20170605-21:34:04.803(10)? (STDERR)
W20170605-21:34:04.803(10)? (STDERR) TypeError: Cannot read property 'sanitizeForInObject' of undefined
W20170605-21:34:04.804(10)? (STDERR) at [object Object].LocalCollection.insert (packages/minimongo/minimongo.js:569:3)
W20170605-21:34:04.805(10)? (STDERR) at [object Object].insert (packages/mongo/collection.js:524:37)
W20170605-21:34:04.805(10)? (STDERR) at updateVersions (packages/autoupdate.js:133:20)
W20170605-21:34:04.806(10)? (STDERR) at packages/autoupdate.js:197:3
W20170605-21:34:04.806(10)? (STDERR) at Function.time (/Users/.../Javascript/meteor/simple-todos/.meteor/local/build/programs/server/profile.js:309:28)
W20170605-21:34:04.807(10)? (STDERR) at /Users/.../Javascript/meteor/simple-todos/.meteor/local/build/programs/server/boot.js:347:13
W20170605-21:34:04.807(10)? (STDERR) at /Users/.../Javascript/meteor/simple-todos/.meteor/local/build/programs/server/boot.js:388:5
W20170605-21:34:04.808(10)? (STDERR) at Function.run (/Users/.../Javascript/meteor/simple-todos/.meteor/local/build/programs/server/profile.js:510:12)
W20170605-21:34:04.809(10)? (STDERR) at /Users/.../Javascript/meteor/simple-todos/.meteor/local/build/programs/server/boot.js:386:11
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.
I just had to re-install Meteor as described on https://www.meteor.com/install, and then it all worked fine. I could even run Meteor version 1.1 in one directory and version 1.6 in another.
I have created a meteor app and cloned houston. I run meteor from the path app/houston, the following error appears.
TypeError: Object #<Object> has no method 'describe'
W20150316-16:02:33.273(5.5)? (STDERR) at app/houston/package.js:3:9
W20150316-16:02:33.273(5.5)? (STDERR) at app/houston/package.js:76:3
W20150316-16:02:33.273(5.5)? (STDERR) at /home/garima.wadhera/houston_app/.meteor/local/build/programs/server/boot.js:205:10
W20150316-16:02:33.273(5.5)? (STDERR) at Array.forEach (native)
W20150316-16:02:33.274(5.5)? (STDERR) at Function._.each._.forEach (/home/admin/.meteor/packages/meteor-tool/.1.0.41.yumiah++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)
W20150316-16:02:33.274(5.5)? (STDERR) at /home/garima.wadhera/houston_app/.meteor/local/build/programs/server/boot.js:116:5
=> Exited with code: 8
=> Your application is crashing. Waiting for file change.
Where Am I making a mistake? Please guide.
For reference: houston code
The houston package at https://github.com/gterrono/houston is a meteor package not a meteor project. It runs if you add it as a package in an existing meteor project.
You have to add the package to another meteor project.
meteor create project
cd project
meteor add houston:admin
Then you can load it up at /admin on your web browser.
If you want to edit the code create a directory called packages clone the package into that and meteor remove houston:admin (if you added it above) and add it back with meteor add houston:admin (will add the local one)
I want to use Box2D-Web with Meteorjs on both client and server side. I used this in nodejs. There was a small configuration that exports Box2D variable, and it was working with nodejs. The additional configuration was
exports.Box2D = Box2D;
at the bottom of the libary.
But I couldn't load it in meteor. I put the Box2D-web under lib directory in my project. But it gives an error and I still don't see what the problem is.
Here is what meteor saying;
W20140106-00:15:03.627(2)? (STDERR) /Users/ahmetdal/workspace/realhaxtmp/.meteor/local/build/programs/server/boot.js:186
W20140106-00:15:03.692(2)? (STDERR) }).run();
W20140106-00:15:03.692(2)? (STDERR) ^
W20140106-00:15:03.692(2)? (STDERR) TypeError: Cannot call method 'write' of undefined
W20140106-00:15:03.693(2)? (STDERR) at Console.log (console.js:53:16)
W20140106-00:15:03.694(2)? (STDERR) at Object.Meteor._debug (packages/meteor/debug.js:41)
W20140106-00:15:03.694(2)? (STDERR) at _.extend.publish (packages/livedata/livedata_server.js:1166)
W20140106-00:15:03.694(2)? (STDERR) at app/server/publications.js:7:12
W20140106-00:15:03.694(2)? (STDERR) at /Users/ahmetdal/workspace/realhaxtmp/.meteor/local/build/programs/server/boot.js:159:61
W20140106-00:15:03.694(2)? (STDERR) at Array.forEach (native)
W20140106-00:15:03.694(2)? (STDERR) at Function._.each._.forEach (/Users/ahmetdal/.meteor/tools/09b63f1ed5/lib/node_modules/underscore/underscore.js:79:11)
W20140106-00:15:03.695(2)? (STDERR) at /Users/ahmetdal/workspace/realhaxtmp/.meteor/local/build/programs/server/boot.js:159:5
There is not error about the Box2D-Web library. I tried to find any alternative meaning for the error but, I could not find anything either.
This error is being occurred when I put the library under lib folder under project root.
I did not put all code of library here. Because it really consists of too many lines of codes.
What additional configration in library can I do to apply it to Meteorjs?
Thank you!
Placing Javascript files like the Box2D-Web library in the lib folder in the root of your project will cause the code to be run on both the client and the server. The error occurs when the library gets run on the server.
To fix this, just place the library file into /client/lib/.