Weekly Update, April 16, 2025 – Faster Bundle Times with 3.3-beta.0! 🚀

Mmm, seems like there’s an issue with top-level await in browser-policy-content package. Oddly, it doesn’t fall back to Babel automatically.

What happens if you try this config?

"meteor": {
    "modernWebArchsOnly": true,
    "modernTranspiler": {
       "excludePackages": ["browser-policy-content"]
    },
    "mainModule": {
      "client": "client/main.js",
      "server": "server/main.js"
    }
  },

This is just a quick test. I’ll check into it, it should support top-level await (TLA) since we keep reify on SWC compilation, and webapp package, which also uses TLA works well with SWC.


Update: I reproduced the issue and confirm the config above solves it.

However, I found the proper fix in SWC’s code transpilation. It will be included in the upcoming 3.3-beta.1. At that time, you could remove the “excludePackages” config.

Thanks for the report. These are essential for stable delivery. :pray:

5 Likes

[UPDATE]
SOLVED: Error when observing the cursor: TypeError: this.documents?.clear is not a function

4 Likes
1 Like

2 Likes

I’ve been using 3.3-beta.0 this weekend. The biggest thing that is annoying me during development is it doesn’t seem to know how to get to the code like the old bundler. Everything is anon both client and serverside.

  "meteor": {
    "modernWebArchsOnly": true,
    "modernTranspiler": true,
    "mainModule": {
      "client": "client/main.js",
      "server": "server/main.js"
    },
    "testModule": "tests/main.js"
  },

This also makes using debugger impossible.

2 Likes

Thanks for testing. This time it’s a common use case we haven’t test so much yet, debugging.

I believe the issue is related to how we link the source map data with the file metadata in SWC. I will review this use case, as it likely misses the proper configuration.


Update: Solved it!

3 Likes

This might not be related to this discussion, but I’m having trouble running 3.3.0-beta.0 at all.

When I upgrade I start to get this error while building. (Even after I go back to non-modern transpiler)

/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/runners/run-app.js:380
        throw e;
        ^

SyntaxError: Unexpected token (144:30)
    at Parser.pp$4.raise (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:3656:15)
    at Parser.pp$9.unexpected (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:776:10)
    at Parser.pp$5.parseExprAtomDefault (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2996:10)
    at Parser.pp$5.parseExprAtom (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2991:19)
    at Parser.pp$5.parseExprSubscripts (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2775:21)
    at Parser.pp$5.parseMaybeUnary (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2733:19)
    at Parser.pp$5.parseExprOps (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2661:21)
    at Parser.pp$5.parseMaybeConditional (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2644:21)
    at Parser.pp$5.parseMaybeAssign (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2611:21)
    at Parser.pp$7.parseMaybeDefault (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2166:23)
    at Parser.pp$5.parsePropertyValue (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:3360:27)
    at Parser.pp$5.parseProperty (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:3310:10)
    at Parser.pp$5.parseObj (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:3265:23)
    at Parser.pp$5.parseExprAtom (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2967:19)
    at Parser.pp$5.parseExprSubscripts (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2775:21)
    at Parser.pp$5.parseMaybeUnary (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2733:19)
    at Parser.pp$5.parseExprOps (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2661:21)
    at Parser.pp$5.parseMaybeConditional (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2644:21)
    at Parser.pp$5.parseMaybeAssign (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2611:21)
    at Parser.pp$5.parseParenAndDistinguishExpression (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:3120:30)
    at Parser.pp$5.parseExprAtom (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2950:43)
    at Parser.pp$5.parseExprSubscripts (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2775:21)
    at Parser.pp$5.parseMaybeUnary (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2733:19)
    at Parser.pp$5.parseExprOps (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2661:21)
    at Parser.pp$5.parseMaybeConditional (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2644:21)
    at Parser.pp$5.parseMaybeAssign (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2611:21)
    at Parser.pp$5.parseExprList (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:3524:20)
    at Parser.pp$5.parseSubscript (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2845:27)
    at Parser.pp$5.parseSubscripts (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2794:26)
    at Parser.pp$5.parseExprSubscripts (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2778:23)
    at Parser.pp$5.parseMaybeUnary (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2733:19)
    at Parser.pp$5.parseExprOps (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2661:21)
    at Parser.pp$5.parseMaybeConditional (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2644:21)
    at Parser.pp$5.parseMaybeAssign (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:2611:21)
    at Parser.pp$8.parseVar (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:1331:26)
    at Parser.pp$8.parseVarStatement (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:1195:10)
    at Parser.pp$8.parseStatement (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:931:19)
    at Parser.pp$8.parseTopLevel (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:833:23)
    at Parser.parse (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/acorn/dist/acorn.js:602:17)
    at parse (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/@meteorjs/reify/lib/parsers/acorn.js:18:17)
    at exports.compile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/@meteorjs/reify/lib/compiler.js:61:47)
    at wrap.makeCacheKey (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:90:16)
    at recomputeNewValue (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/optimism/src/entry.ts:198:31)
    at Slot.withValue (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/@wry/context/lib/context.esm.js:69:29)
    at reallyRecompute (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/optimism/src/entry.ts:181:19)
    at Entry.recompute (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/optimism/src/entry.ts:91:9)
    at optimistic (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/optimism/src/index.ts:150:25)
    at DefaultHandlers.js (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:158:12)
    at ImportScanner.readModule (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1279:23)
    at ImportScanner.readDepFile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1323:11)
    at ImportScanner.scanFile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1149:17)
    at ImportScanner.scanFile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1144:9)
    at ImportScanner.scanFile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1144:9)
    at ImportScanner.scanFile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1144:9)
    at ImportScanner.scanFile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1144:9)
    at ImportScanner.scanFile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1144:9)
    at ImportScanner.scanFile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1144:9)
    at ImportScanner.scanFile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1144:9)
    at ImportScanner.scanFile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1144:9)
    at ImportScanner.scanFile (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:1144:9)
    at ImportScanner.scanImports (/Users/username/.meteor/packages/meteor-tool/.3.3.0-beta.0.iuklqmjxf8++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/isobuild/tools/isobuild/import-scanner.ts:741:9)
    at Function.computeJsOutputFilesMap (/tools/isobuild/compiler-plugin.js:1404:9)
    at ClientTarget._emitResources (/tools/isobuild/bundler.js:1166:30)
    at /tools/isobuild/bundler.js:861:7
    at Object.enterJob (/tools/utils/buildmessage.js:387:12)
    at ClientTarget.make (/tools/isobuild/bundler.js:849:5)
    at /tools/isobuild/bundler.js:3299:7
    at /tools/isobuild/bundler.js:3458:25
    at Object.capture (/tools/utils/buildmessage.js:282:5)
    at bundle (/tools/isobuild/bundler.js:3280:18)
    at bundleApp (/tools/runners/run-app.js:585:26)
    at AppRunner._runOnce (/tools/runners/run-app.js:630:35)
    at AppRunner._runApp (/tools/runners/run-app.js:952:23) {
  pos: 3578,
  loc: Position { line: 144, column: 30 },
  raisedAt: 3579
}

Any clue on how to get over this error?

3.2 works just fine, and I tried nuking my .meteor folder and trying again just to see if some file had gotten messed up

Edit: Played around a bit and discovered it was related to how I was dealing with react-native-web
I have a package @jonasmerlin/react-native-markdown-display that uses react-native

For babel I symlinked that package and then in babel I had this to map it:

        {
           "root":[
              "./"
           ],
           "alias":{
              "^react-native$":"./node_modules/react-native-web",

That worked just fine for babel, and as far as I can tell I am able to do the mapping itself just fine.

But for some reason some part of 3.3 doesn’t care about my import alias anymore and will crash, whether that file is getting transpilled or not and when it tried to load react-native it crashes.
I have to have react-native for some typing stuff

What seems to have worked for now is to instead do this within the package.json
“react-native”: “npm:react-native-web@^0.20.0”,

I don’t quite know what other problems this will create yet, but it seems to at least finish building

I think I have gotten a bit farther but I am getting hung up with using .swcrc baseUrl

I am trying to do something like this:

{
  "jsc": {
    "baseUrl": "./",

    "paths": {
      "@shared/*": ["common/*"],

ANd I get this error

 ↳ Error: failed to handle: base_dir(`./`) must be absolute. Please ensure that `jsc.baseUrl` is specified correctly. This cannot be deduced by SWC itself because SWC is a transpiler and it does not try to resolve project details. In other words, SWC does not know which directory should be used as a base directory. It can be deduced if `.swcrc` is used, but if not, there are many candidates. e.g. the directory containing `package.json`, or the current working directory. Because of that, the caller (typically the developer of the JavaScript package) should specify it. If you see this error, please report an issue to the package author.

I am assuming this has to do with how meteor is loading the .swcrc since swc doesn’t believe this setting is coming from my .swcrc it doesn’t know how to resolve the baseUrl and since I need this code to be shareable I can’t put in an absolute path like it asks.

Maybe we need to special handle the baseUrl?

Also side note, it doesn’t seem that meteor is watching .swcrc so I have to keep killing the app and reloading when I change this

2 Likes

↳ Error: failed to handle: base_dir(./) must be absolute.

@schlaegerz: Interesting use case. I expected that apps using aliases would need to migrate their aliases to work with the SWC approach.

You’re heading in the right direction. We’ve enabled support for custom .swcrc files to control SWC compilation, and there seems you can describe your aliases. I see the error you’re getting, but I’m not too familiar with your specific setup. Would you mind preparing a minimal app in a GitHub repository that reproduces the issue? That would help me look straight into it and check if anything is missing on our side to support your setup.

Likely I need to add baseUrl: path.resolve(__dirname, yourValueInSwcrcFile) as part of the core, but having the reproduction would help to make the verifications.

If I get it sometime the next days, I should have time to work on it and include the fix in the next beta.


Update: Fixed it!

I was able to reproduce it in a simple project just by adding an alias. If there’s any specific scenario you’re unsure about, feel free to share a minimal repo and I can double-check it for you.

Thank you for your report, this fix will be included in the upcoming 3.3-beta.1.

3 Likes

I’ll try again after the next beta and see what what happens. I know my project has a lot of funkiness to it so in general its just hard to pin down exactly what could be breaking. It also appears there is a decent amount of caching that makes it extra hard to debug. Is there a good way to purge the swc cache, or make it ignore the cache?

I think the cache needs to be purged when .swcrc changes

meteor reset or rm -rf .meteor/local should clear the SWC cache. The next meteor run will trigger a cold compilation.

I think the cache needs to be purged when .swcrc changes

Yes, as well.


If you want more insight into cache hits, you can use the following verbose mode:

"meteor": {
  "modernWebArchsOnly": true,
  "modernTranspiler": {
     "verbose": true
  }
}

This ensures you get more insights on the SWC transpilation process. including seeing any Babel fallback if exists.

Regarding debugging, we have a fix for debuggable stack traces coming in the next beta, which should make any necessary migration easier.

2 Likes

@nachocodoner react-meteor-data@4.0.0-beta.0 is now fully compatible with React 19 and has been successfully running in production. It’s currently powering an application with 100k+ daily users (on Meteor 3.2 + React 19). :smile:

9 Likes

This is great! I haven’t had a chance to run our react-packages tests across multiple React versions yet to confirm on my end.

It’s good to see that with your contributions and your app, everything works in React 19.

I’ll be sure to mention this in our next beta update.

Thanks :pray:

2 Likes

New beta seems to solve all of these problems.

I do have one more thing that is for sure specific to our setup, but there seem to be some regressions.

We have a setup where we have multiple different servers that share the same code base but based on a BABEL_ENV we switch exactly what code is loaded with babel module resolve

"env":
     "USER": {
         "plugins":[[
            "module-resolver",
            {
                "alias":{
                  "@admin-router": "./client/router/adminRouterEmpty",
                  "@server-includes": "./server/bundles/server_includes_user",
                  "@main-router": "./client/router/webRoutes"
               }
            },
            "env"
         ]]
      },
      "ADMIN": {
         "plugins":[[
            "module-resolver",
            { "alias":{
                  "@admin-router": "./client/router/adminRouter",
                  "@server-includes": "./server/bundles/server_includes",
                  "@main-router": "./client/router/webRoutes"
               }
            },
            "env"
         ]]
      },

I am able to get this to still work for us by creating a couple files that I keep in babel so that we can choose to still do babel for these

 "excludeApp": [
          "babelImportWrapper.ts"
        ]

THen we run it with sharing the mongo but a different local directory
i.e.:
METEOR_LOCAL_DIR=.meteor/local2

So that we can keep bundles/caches separate.

THe problem seems to be that now if I try to run two of these servers some things start to conflict with this new bundling and it ranomly crashes or fails to update.

So question, is there a way to set the CACHE directory so that we can continue to have multiple of these running. Also if you happen to know how to change swc based on an environment variable that would help us too, but from my research I don’t think that’s possible.

Edit: Tried it again, and the one crash seems to not be recurring, so must have been something random, I’ll open a bug if I can ever actually repro it, but if there is a way to specify a swc per ENV variable that would also be great, but I know that this is a super specific ask so I won’t really be expecting it

Actually I just realized it was silently not using swc for any of my typescript file.

Is there a setup step I missed? Looking at the typescript package it seems like it’s explicitly listed as a babel compiler

We’ve added support in Meteor 3.3-beta.1 for specifying aliases in your custom .swcrc, since many projects need that. We don’t yet support loading .swcrc via an environment variable (like Babel’s env feature), but I’m looking into allowing a swcrc.config.js file so you can adjust settings dynamically (for example, based on an env var).

I’ll review the new SWC support code to ensure it respects METEOR_LOCAL_DIR. I haven’t used that env var much myself, but since we do support it, missing accounting on them are likely causing the issue.


I really appreciate all the testing and feedback on SWC changes. We can’t anticipate every Meteor setup, so your reports help us cover more cases. Without seeing your exact project, though, it’s hard to guarantee a fix.

I’ll isolate and fix your reports, but other issues may appear later. So, to help me reproduce and address the problem and any following one, could you:

  1. Share a minimal repo reproducing your setup (including Babel config with envs, use of METEOR_LOCAL_DIR, multiple apps if needed and how they interact each other). It can simply render a page with text. With that example I can adapt SWC to your edge case and nail down the fix for 3.3.
  2. Send me the verbose SWC output of your original app by DM (remove any secrets). That will show me why it’s falling back to Babel, likely an alias issue, but I want to confirm if there are other reasons. To enable SWC verbosity, run with:
"meteor": {
  "modern": {
    "transpiler": {
      "verbose": true
    }
  }
}

Docs: Transpiler: SWC - Verbose transpilation process


Update: Added support for swc.config.js and ensured METEOR_LOCAL_DIR is handled correctly. A minimal repo would help verify these changes work with your setup. This will be included in the next 3.3 official version.

Yeah like I said it was hard to repro, but if I do get it again and can figure out what causes it I’ll make a minimal repro repo.

As for the typescript issue where it is not parsing any of my typescript, is that a known thing or should I try to strip everything away see if I can figure out what causes it. None of the example usage of this I have found actually uses typescript yet.

Here is the test app showing that swc is not working on any of the typescript files GitHub - ToyboxZach/MeteorTesetApp


=> Started proxy.                             
=> Started HMR server.                        
[Config] Meteor Config                       \
  {
    mainModule: {
      client: "client/main.tsx",
      server: "server/main.ts"
    },
    testModule: "tests/main.ts",
    modern: {
      transpiler: {
        verbose: true
      }
    }
  }

[Config] SWC Config
  {
    jsc: {
      baseUrl: "~/otherRepos/BlankMeteorApp/simple-todos-react",
      parser: {
        syntax: "typescript",
        jsx: true
      },
      paths: {
        @alias/file: [
          "./client/alias.ts"
        ]
      }
    }
  }

[Config] SWC Legacy Config
  {
    chrome: "55",
    edge: "15",
    firefox: "53",
    node: "8",
    opera: "42",
    safari: "10.1",
    electron: "1.6"
  }

[Transpiler] Used SWC for base64/base64.js                                  (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ejson/ejson.js                                    (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ejson/utils.js                                    (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ejson/stringify.js                                (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for diff-sequence/diff.js                             (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for id-map/id-map.js                                  (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for random/main_client.js                             (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for random/BrowserRandomGenerator.js                  (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for random/AbstractRandomGenerator.js                 (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for random/createAleaGenerator.js                     (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for random/AleaRandomGenerator.js                     (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for random/createRandom.js                            (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for mongo-id/id.js                                    (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ordered-dict/ordered_dict.js                      (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for tracker/tracker.js                                (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for minimongo/minimongo_client.js                     (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for minimongo/minimongo_common.js                     (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for minimongo/local_collection.js                     (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for minimongo/cursor.js                               (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for minimongo/common.js                               (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for minimongo/constants.js                            (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for minimongo/observe_handle.js                       (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for minimongo/matcher.js                              (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for minimongo/sorter.js                               (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for check/match.js                                    (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for check/isPlainObject.js                            (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for retry/retry.js                                    (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for callback-hook/hook.js                             (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-common/namespace.js                           (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-common/heartbeat.js                           (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-common/utils.js                               (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-common/method_invocation.js                   (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-common/random_stream.js                       (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for reload/reload.js                                  (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-client/client/client.js                       (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-client/common/namespace.js                    (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-client/common/livedata_connection.js          (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-client/common/method_invoker.js               (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-client/common/connection_stream_handlers.js   (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-client/common/mongo_id_map.js                 (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-client/common/message_processors.js           (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-client/common/document_processors.js          (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-client/client/client_convenience.js           (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for ddp-client/client/queue_stub_helpers.js           (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for allow-deny/allow-deny.js                          (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for logging/logging.js                                (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for logging/logging_browser.js                        (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for mongo/local_collection_driver.js                  (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for mongo/collection/collection.js                    (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for mongo/mongo_utils.js                              (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for mongo/collection/methods_async.js                 (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for mongo/collection/methods_sync.js                  (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for mongo/collection/methods_index.js                 (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for mongo/collection/collection_utils.js              (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for mongo/collection/methods_replication.js           (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for webapp/webapp_client.js                           (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for autoupdate/autoupdate_client.js                   (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for autoupdate/client_versions.js                     (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for socket-stream-client/browser.js                   (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for socket-stream-client/urls.js                      (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for socket-stream-client/common.js                    (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for socket-stream-client/sockjs-1.6.1-min-.js         (package)                          🟢 Cache hit (web.browser)
[Transpiler] Used SWC for react-meteor-data/index.js                        (package)                          🟢 Cache hit (web.browser)
                                              
Unable to resolve some modules:

  "@alias/file" in ~/otherRepos/BlankMeteorApp/simple-todos-react/client/main.tsx (web.browser)
                                              
If you notice problems related to these missing modules, consider running:
                                              
  meteor npm install --save @alias/file       
                                              
[Transpiler] Used SWC for base64/base64.js                                  (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ejson/ejson.js                                    (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ejson/utils.js                                    (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ejson/stringify.js                                (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for diff-sequence/diff.js                             (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for id-map/id-map.js                                  (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for random/main_server.js                             (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for random/NodeRandomGenerator.js                     (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for random/AbstractRandomGenerator.js                 (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for random/createRandom.js                            (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for random/AleaRandomGenerator.js                     (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for random/createAleaGenerator.js                     (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo-id/id.js                                    (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ordered-dict/ordered_dict.js                      (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for tracker/tracker.js                                (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo-decimal/decimal.js                          (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for minimongo/minimongo_server.js                     (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for minimongo/minimongo_common.js                     (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for minimongo/local_collection.js                     (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for minimongo/cursor.js                               (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for minimongo/common.js                               (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for minimongo/constants.js                            (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for minimongo/observe_handle.js                       (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for minimongo/matcher.js                              (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for minimongo/sorter.js                               (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for check/match.js                                    (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for check/isPlainObject.js                            (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for retry/retry.js                                    (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for callback-hook/hook.js                             (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-common/namespace.js                           (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-common/heartbeat.js                           (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-common/utils.js                               (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-common/method_invocation.js                   (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-common/random_stream.js                       (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for socket-stream-client/server.js                    (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-client/server/server.js                       (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-client/common/namespace.js                    (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-client/common/livedata_connection.js          (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-client/common/method_invoker.js               (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-client/common/connection_stream_handlers.js   (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-client/common/mongo_id_map.js                 (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-client/common/message_processors.js           (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-client/common/document_processors.js          (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for logging/logging.js                                (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for logging/logging_server.js                         (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for routepolicy/main.js                               (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for routepolicy/routepolicy.js                        (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for boilerplate-generator/generator.js                (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for boilerplate-generator/template-web.browser.js     (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for boilerplate-generator/template.js                 (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for boilerplate-generator/template-web.cordova.js     (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for webapp-hashing/webapp-hashing.js                  (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for webapp/webapp_server.js                           (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for webapp/socket_file.js                             (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-server/stream_server.js                       (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-server/livedata_server.js                     (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-server/writefence.js                          (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-server/crossbar.js                            (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ddp-server/server_convenience.js                  (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for allow-deny/allow-deny.js                          (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for binary-heap/binary-heap.js                        (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for binary-heap/max-heap.js                           (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for binary-heap/min-heap.js                           (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for binary-heap/min-max-heap.js                       (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for facts-base/facts_base_server.js                   (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for facts-base/facts_base_common.js                   (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/mongo_driver.js                             (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/mongo_connection.js                         (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/asynchronous_cursor.js                      (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/mongo_common.js                             (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/doc_fetcher.js                              (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/oplog_observe_driver.js                     (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/local_collection_driver.js                  (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/collection/collection.js                    (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/mongo_utils.js                              (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/collection/methods_async.js                 (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/collection/methods_sync.js                  (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/collection/methods_index.js                 (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/collection/collection_utils.js              (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for mongo/collection/methods_replication.js           (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for minifier-css/minifier.js                          (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for shell-server/main.js                              (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for shell-server/shell-server.js                      (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for autoupdate/autoupdate_server.js                   (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for autoupdate/client_versions.js                     (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for socket-stream-client/node.js                      (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for socket-stream-client/common.js                    (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for socket-stream-client/urls.js                      (package)                          🟢 Cache hit (os.osx.x86_64)
[Transpiler] Used SWC for ecmascript/ecmascript.js                          (package)                          🟢 Cache hit (os.osx.x86_64)
=> Started MongoDB.                           
=> Linted your app. No linting errors.        
=> Started your app.                          

=> App running at: http://localhost:3000/
1 Like