Comments (2)
If you add api.use('ddp')
it should work. This issue is probably because Meteor 3 loads packages in parallel when possible: https://github.com/meteor/meteor/blob/release-3.0/docs/source/api/top-level-await.md#module-and-package-execution-order.
socialize:server-time
requires ddp-server
to load first. Even though socialize:server-time
doesn't specify that in its package.js file, most apps would list it in .meteor/packages
after ddp-server
or after another package that uses ddp-server
so it usually works in Meteor 2. Though, it would fail with the same error if it was listed earlier in .meteor/packages
.
Since Meteor 3 uses the dependencies between packages to know when packages can load in parallel, it is more important for packages to list their dependencies instead of relying on the order of packages in .meteor/packages
.
We chose to aggressively parallelize loading packages for Meteor 3 since it could speed up starting the server, and if we made the wrong choice it is easier to remove parallelism than to add it without breaking things. So far the only issue we've found is with packages that use ddp-server
and don't specify that in their package.js
file. I'm not sure if that should be a considered a bug in Meteor 3, or a bug with the package since there are ways the error could be encountered in Meteor 2.
from meteor.
I think we can leave it as is and just have to have this as a major point for upgrading packages.
from meteor.
Related Issues (20)
- `GCDWebServer` missing in `cordova-plugin-meteor-webapp` HOT 4
- [Meteor 3.0] Promise rejection stops process
- Unable to login via Facebook on mobile app Meteor version 2.13.3 HOT 2
- [Meteor 3] Uncaught Promise Rejection when throwing stub error
- Unable to build project, isobuild has error: `EACCES: permission denied, open ...` HOT 2
- Document --release option on meteor publish command
- Meteor 3.0: allow `async` functions to be registered in `Accounts.registerLoginHandler` to become fiber free HOT 3
- Meteor 3 beta.0: Throwing an error inside of a meteor method doesn't throw on the client
- Cordova iOS - Not working with Vue3 HOT 2
- Meteor3 asyncIterator does not exist on Asynchronous cursor
- [ Meteor v3 ] -`Email.sendAsync` fails, also impacting `accounts-password` methods HOT 1
- Meteor 3 changes the default behavior of Meteor.absoluteUrl() HOT 5
- After calling an async method, sync methods no longer work (Cordova only) HOT 1
- Typo in "Why Meteor?" section
- Top-level await does not seem to work in Meteor 3 HOT 2
- Auto Walk always goes to 0,0
- [Meteor 3] Server-only Method displays "Method stub took too long" warning in browser console when using Meteor.callAsync HOT 3
- Underscore 1.6.0 `_.intersection` bug (Meteor package) HOT 1
- Vite config is parsed incorrectly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor.