Meteor 3.0-rc.0 is out!

We have a new release: meteor 3.0-rc.0

We have been working hard to finish this release for Meteor 3, and it’s finally here, our first Release Candidate! :tada: :rocket:

Here are the things we brought:

How to test it?

Existing projects:

meteor update --release 3.0-rc.0
meteor reset #Resets local DB and project to a fresh state

Starting a project:

meteor create app-name --release 3.0-rc.0

Your help testing this version by creating a new app or migrating your current one will be extremely helpful!

Please give us your feedback, and if you find any issues, you can create a post here or open an issue on GitHub.

27 Likes

Getting an error when after updating to version 3 from beta.7

                        
I20240419-14:12:38.287(-7)? error on boot.js TypeError: next.runImage.call is not a function
I20240419-14:12:38.306(-7)?     at processNext (packages/core-runtime.js:127:30)
I20240419-14:12:38.306(-7)?     at Object.queue (packages/core-runtime.js:111:3)
I20240419-14:12:38.306(-7)?     at packages/meteor-base.js:1:47
I20240419-14:12:38.306(-7)?     at /tools/static-assets/server/boot.js:432:36
I20240419-14:12:38.307(-7)?     at /tools/static-assets/server/boot.js:503:13
I20240419-14:12:38.307(-7)?     at AsyncLocalStorage.run (node:async_hooks:346:14)
I20240419-14:12:38.307(-7)?     at /tools/static-assets/server/boot.js:502:37
I20240419-14:12:38.307(-7)?     at Function.run (.meteor/local/build/programs/server/tools/tool-env/profile.ts:315:14)
I20240419-14:12:38.307(-7)?     at startServerProcess (/tools/static-assets/server/boot.js:501:17)
I20240419-14:12:38.307(-7)?     at Object.<anonymous> (/tools/static-assets/server/boot.js:508:2)
I20240419-14:12:38.308(-7)? TypeError: next.runImage.call is not a function
I20240419-14:12:38.308(-7)?     at processNext (packages/core-runtime.js:127:30)
I20240419-14:12:38.308(-7)?     at Object.queue (packages/core-runtime.js:111:3)
I20240419-14:12:38.308(-7)?     at packages/meteor-base.js:1:47
I20240419-14:12:38.308(-7)?     at /tools/static-assets/server/boot.js:432:36
I20240419-14:12:38.308(-7)?     at /tools/static-assets/server/boot.js:503:13
I20240419-14:12:38.308(-7)?     at AsyncLocalStorage.run (node:async_hooks:346:14)
I20240419-14:12:38.308(-7)?     at /tools/static-assets/server/boot.js:502:37
I20240419-14:12:38.309(-7)?     at Function.run (.meteor/local/build/programs/server/tools/tool-env/profile.ts:315:14)
I20240419-14:12:38.309(-7)?     at startServerProcess (/tools/static-assets/server/boot.js:501:17)
I20240419-14:12:38.309(-7)?     at Object.<anonymous> (/tools/static-assets/server/boot.js:508:2)

Run a meteor reset and try again. This should fix it!

2 Likes

Ok thanks! For people like me who don’t like to do meteor reset because I have stuff in my local db

It just needs rm -rf .meteor/local/bundler-cache

7 Likes

Is it rm -rf .meteor/local/bundler-cache, right?

You are right, fixed in my message to not confuse people

1 Like

Hi I updated meteor to meteor-3-0-rc-0. Its not working there is issues. Previous version was METEOR@3.0-beta.6 which was running fine. As soon as I updated to meteor 3.0-rc.0 there is problem. Any help to fix issues will be appreciated.

did you do this: Meteor 3.0-rc.0 is out! - #6 by nachocodoner

or a meteor reset?

Hi,

I have the same and I did a meteor reset before.

On beta7, all was OK.

meteor reset should be enough, unless you don’t want to lose your mongodb data from the local meteor setup, then rm -rf .meteor/local/bundler-cache is appropiate.

However, I like to outline here that we are aware on a solution that would have avoided this annoying issue and to have to reset. We will include on the next RC. Check out this issue: [3.0] error on boot.js TypeError: next.runImage.call is not a function Β· Issue #13104 Β· meteor/meteor Β· GitHub

2 Likes

a meteor reset does not solve the issue.

It seems not to be the same error.
Also, I am using meteor-vite/vite-bundler

W20240424-15:00:42.906(2)? (STDERR) --[Error Stack]----------------------------------------------------------------------
W20240424-15:00:42.906(2)? (STDERR)       at parseMeteorPackage (file:///project/node_modules/meteor-vite/dist/bin/worker.mjs:801:11)
W20240424-15:00:42.906(2)? (STDERR)       at async _MeteorPackage.parse (file:///project/node_modules/meteor-vite/dist/bin/worker.mjs:1360:35)
W20240424-15:00:42.907(2)? (STDERR)       at async Context.load (file:///project/node_modules/meteor-vite/dist/bin/worker.mjs:1778:29)
W20240424-15:00:42.907(2)? (STDERR)       at async Object.load (file:///project/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44323:32)
W20240424-15:00:42.907(2)? (STDERR)       at async loadAndTransform (file:///project/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:54954:24)
W20240424-15:00:42.907(2)? (STDERR)       at async viteTransformMiddleware (file:///project/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:64430:32)
W20240424-15:02:33.710(2)? (STDERR) 3:02:33 PM [vite] Internal server error: 
W20240424-15:02:33.711(2)? (STDERR)  ERROR  Could not extract name from package in: .meteor/local/build/programs/web.browser/packages/meteor.js
W20240424-15:02:33.711(2)? (STDERR) undefined
W20240424-15:02:33.711(2)? (STDERR)

Could you create a reproduction of this?

You can use this one:

do:

meteor update --release 3.0-rc.0
meteor reset
meteor run

open your browser to http://localhost:3000 and the problem will happen

I’ve got this message. What’s the preferred way to bump all the Meteor packages to the latest versions?

% meteor update --release 3.0-rc.0
=> Errors while initializing project:

While selecting package versions:
error: Conflict: Constraint webapp@1.5.0 is not satisfied by webapp 2.0.0-rc300.0.
Constraints on package β€œwebapp”:

  • webapp@2.0.0-rc300.0 ← top level
  • webapp@~2.0.0-rc300.0 ← top level
  • webapp@2.0.0-rc300.0 ← meteor-base 1.5.2-rc300.0
  • webapp@2.0.0-rc300.0 ← routepolicy 1.1.2-rc300.0 ← ddp-server 3.0.0-rc300.0 ← ddp 1.4.2-rc300.0 ← accounts-base 3.0.0-rc300.0 ← accounts-2fa 3.0.0-rc300.0
  • webapp@2.0.0-rc300.0 ← routepolicy 1.1.2-rc300.0 ← ddp-server 3.0.0-rc300.0 ← ddp 1.4.2-rc300.0 ← accounts-password 3.0.0-rc300.0
  • webapp@2.0.0-rc300.0 ← routepolicy 1.1.2-rc300.0 ← oauth 3.0.0-rc300.0 ← oauth2 1.3.3-rc300.0
  • webapp@2.0.0-rc300.0 ← routepolicy 1.1.2-rc300.0 ← webapp 2.0.0-rc300.0
  • webapp@2.0.0-rc300.0 ← ddp-server 3.0.0-rc300.0 ← ddp 1.4.2-rc300.0 ← accounts-base 3.0.0-rc300.0 ← accounts-2fa 3.0.0-rc300.0
  • webapp@2.0.0-rc300.0 ← ddp-server 3.0.0-rc300.0 ← ddp 1.4.2-rc300.0 ← accounts-password 3.0.0-rc300.0
  • webapp@2.0.0-rc300.0 ← autoupdate 2.0.0-rc300.0 ← hot-code-push 1.0.5-rc300.0 ← hot-module-replacement 0.5.4-rc300.0
  • webapp@2.0.0-rc300.0 ← mongo 2.0.0-rc300.0
  • webapp@1.13.0 || 2.0.0-alpha300.19 ← mdg:seo 3.5.1
  • webapp@2.0.0-rc300.0 ← oauth 3.0.0-rc300.0 ← oauth2 1.3.3-rc300.0
  • webapp@1.5.0 ← staringatlights:inject-data 2.3.0

Update

Aha… meteor update… hmmm… I ran that to update to 3.0-rc.0, but possibly it needs to be run a second time for the packages.

Update #2

After running meteor update for the packages, I’m still getting this message:

% meteor update --release 3.0-rc.0
=> Errors while initializing project:         
                                              
While selecting package versions:
error: Conflict: Constraint webapp@1.5.0 is not satisfied by webapp 2.0.0-rc300.0.
Constraints on package "webapp":
* webapp@2.0.0-rc300.0 <- top level
* webapp@~2.0.0-rc300.0 <- top level
* webapp@2.0.0-rc300.0 <- meteor-base 1.5.2-rc300.0
* webapp@2.0.0-rc300.0 <- routepolicy 1.1.2-rc300.0 <- ddp-server 3.0.0-rc300.0 <- ddp 1.4.2-rc300.0 <- accounts-base 3.0.0-rc300.0 <- accounts-2fa 3.0.0-rc300.0
* webapp@2.0.0-rc300.0 <- routepolicy 1.1.2-rc300.0 <- ddp-server 3.0.0-rc300.0 <- ddp 1.4.2-rc300.0 <- accounts-password 3.0.0-rc300.0
* webapp@2.0.0-rc300.0 <- routepolicy 1.1.2-rc300.0 <- oauth 3.0.0-rc300.0 <- oauth2 1.3.3-rc300.0
* webapp@2.0.0-rc300.0 <- routepolicy 1.1.2-rc300.0 <- webapp 2.0.0-rc300.0
* webapp@2.0.0-rc300.0 <- ddp-server 3.0.0-rc300.0 <- ddp 1.4.2-rc300.0 <- accounts-base 3.0.0-rc300.0 <- accounts-2fa 3.0.0-rc300.0
* webapp@2.0.0-rc300.0 <- ddp-server 3.0.0-rc300.0 <- ddp 1.4.2-rc300.0 <- accounts-password 3.0.0-rc300.0
* webapp@2.0.0-rc300.0 <- autoupdate 2.0.0-rc300.0 <- hot-code-push 1.0.5-rc300.0 <- hot-module-replacement 0.5.4-rc300.0
* webapp@2.0.0-rc300.0 <- mongo 2.0.0-rc300.0
* webapp@1.13.0 || 2.0.0-alpha300.19 <- mdg:seo 3.5.1
* webapp@2.0.0-rc300.0 <- oauth 3.0.0-rc300.0 <- oauth2 1.3.3-rc300.0
* webapp@1.5.0 <- staringatlights:inject-data 2.3.0

I tried rm -rf .meteor/local/bundler-cache. Is there an easy way to recover your mongo db data after running meteor reset? Otherwise I can do a mongo export / import.

Running meteor reset did not yet resolve the anomaly.

% meteor reset
Project reset.                                

% meteor update --release 3.0-rc.0
=> Errors while initializing project:         
                                              
While selecting package versions:
error: Conflict: Constraint webapp@1.5.0 is not satisfied by webapp 2.0.0-rc300.0.
Constraints on package "webapp":
* webapp@2.0.0-rc300.0 <- top level
* webapp@~2.0.0-rc300.0 <- top level
* webapp@2.0.0-rc300.0 <- meteor-base 1.5.2-rc300.0
* webapp@2.0.0-rc300.0 <- routepolicy 1.1.2-rc300.0 <- ddp-server 3.0.0-rc300.0 <- ddp 1.4.2-rc300.0 <- accounts-base 3.0.0-rc300.0 <- accounts-2fa 3.0.0-rc300.0
* webapp@2.0.0-rc300.0 <- routepolicy 1.1.2-rc300.0 <- ddp-server 3.0.0-rc300.0 <- ddp 1.4.2-rc300.0 <- accounts-password 3.0.0-rc300.0
* webapp@2.0.0-rc300.0 <- routepolicy 1.1.2-rc300.0 <- oauth 3.0.0-rc300.0 <- oauth2 1.3.3-rc300.0
* webapp@2.0.0-rc300.0 <- routepolicy 1.1.2-rc300.0 <- webapp 2.0.0-rc300.0
* webapp@2.0.0-rc300.0 <- ddp-server 3.0.0-rc300.0 <- ddp 1.4.2-rc300.0 <- accounts-base 3.0.0-rc300.0 <- accounts-2fa 3.0.0-rc300.0
* webapp@2.0.0-rc300.0 <- ddp-server 3.0.0-rc300.0 <- ddp 1.4.2-rc300.0 <- accounts-password 3.0.0-rc300.0
* webapp@2.0.0-rc300.0 <- autoupdate 2.0.0-rc300.0 <- hot-code-push 1.0.5-rc300.0 <- hot-module-replacement 0.5.4-rc300.0
* webapp@2.0.0-rc300.0 <- mongo 2.0.0-rc300.0
* webapp@1.13.0 || 2.0.0-alpha300.19 <- mdg:seo 3.5.1
* webapp@2.0.0-rc300.0 <- oauth 3.0.0-rc300.0 <- oauth2 1.3.3-rc300.0
* webapp@1.5.0 <- staringatlights:inject-data 2.3.0

The issue from the error message:

This is another error.

* webapp@1.5.0 <- staringatlights:inject-data 2.3.0 means that the package staringatlights:inject-data uses webapp@1.5.0, which conflicts with the version webapp@2.0.0-rc300.0.

The package staringatlights:inject-data needs to be updated to be compatible with version 3.