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
Related
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 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.
I'm getting the following error after newly upgrading to Meteor 0.9.0.1 and updating my package.js file to match documentation on packages
W20140903-17:30:20.305(-4)? (STDERR) /Users/admin/.meteor/packages/meteor-tool/.1.0.26.p03e91++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173
W20140903-17:30:20.305(-4)? (STDERR) throw(ex);
W20140903-17:30:20.306(-4)? (STDERR) ^
W20140903-17:30:20.308(-4)? (STDERR) TypeError: Object #<Object> has no method 'describe'
W20140903-17:30:20.308(-4)? (STDERR) at app/zeroasterisk:throttle/package.js:1:44
W20140903-17:30:20.308(-4)? (STDERR) at app/zeroasterisk:throttle/package.js:22:3
W20140903-17:30:20.309(-4)? (STDERR) at /Development/Meteor/Meteor-Throttle-Example/.meteor/local/build/programs/server/boot.js:161:10
W20140903-17:30:20.309(-4)? (STDERR) at Array.forEach (native)
W20140903-17:30:20.309(-4)? (STDERR) at Function._.each._.forEach (/Users/admin/.meteor/packages/meteor-tool/.1.0.26.p03e91++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
W20140903-17:30:20.309(-4)? (STDERR) at /Development/Meteor/Meteor-Throttle-Example/.meteor/local/build/programs/server/boot.js:82:5
=> Exited with code: 8
$ meteor --version
Meteor 0.9.0.1
$ meteor list
standard-app-packages 1.0.0 Include a standard set of Meteor packages in y...
autopublish 1.0.0 Publish the entire database to all clients
insecure 1.0.0 Allow all database writes by default
bootstrap-3 0.0.0 Provides bootstrap 3.
showdown 1.0.0 Markdown-to-HTML processor
underscore 1.0.0 Collection of small helpers: _.map, _.each, ...
package-version-parser 1.0.6 Parses Meteor Smart Package version string
zeroasterisk:throttle 0.2.1 A secure means of limiting interactions (email...
I can't figure out what I'm doing wrong... can you?
I just had the same issue. The problem here is that you have the package in the root app folder app/zeroasterisk:throttle when it should be app/packages/zeroasterisk:throttle. Put your package inside the packages folder and it'll be solved.
you can to try read the official guide for the packages migration. In this guide explains how to fix broken packages. The url is
https://hackpad.com/Migrating-Packages-zN0we9sIjkH
Thanks for the suggestions -- as it turns out, it must have been some other Package. I created a new Meteor app and added my Package and it worked fine :/
So I don't know the exact cause, perhaps something overwriting the Package object, but anyway getting around it was easy enough.
I was having an issue that was preventing me from deploying my app. The reason was that I had a packages directory defined in my client folder (app/client/packages). This should however be in the main directory of the project (app/packages). After I removed package folder in the client folder the application was able to deploy without a problem.
I had a Package.describe() method call that was throwing an error which helped me track down this problem.
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/.