Closed stevekuznetsov closed 7 months ago
Currently broken in the bundler somewhere with the SVG integration:
Failed to construct transformer: Error: Cannot find module 'metro-react-native-babel-transformer' Require stack: - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/react-native-svg-transformer/index.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/metro-config/build/transform-worker/metro-transform-worker.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/metro-config/build/transform-worker/transform-worker.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/DeltaBundler/getTransformCacheKey.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/DeltaBundler/Transformer.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/Bundler.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/IncrementalBundler.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/Server.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/commands/dependencies.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/index.flow.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/index.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/server/metro/runServer-fork.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/server/metro/instantiateMetro.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/server/metro/MetroBundlerDevServer.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/server/DevServerManager.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/startAsync.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/index.js - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/bin/cli - /home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/expo/bin/cli at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) at Function.Module._load (node:internal/modules/cjs/loader:985:27) at Module.require (node:internal/modules/cjs/loader:1235:19) at require (node:internal/modules/helpers:176:18) at Object.<anonymous> (/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/react-native-svg-transformer/index.js:3:29) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Module.load (node:internal/modules/cjs/loader:1207:32) at Function.Module._load (node:internal/modules/cjs/loader:1023:12) at Module.require (node:internal/modules/cjs/loader:1235:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/react-native-svg-transformer/index.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/metro-config/build/transform-worker/metro-transform-worker.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/metro-config/build/transform-worker/transform-worker.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/DeltaBundler/getTransformCacheKey.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/DeltaBundler/Transformer.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/Bundler.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/IncrementalBundler.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/Server.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/commands/dependencies.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/index.flow.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/index.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/server/metro/runServer-fork.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/server/metro/instantiateMetro.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/server/metro/MetroBundlerDevServer.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/server/DevServerManager.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/startAsync.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/src/start/index.js', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/@expo/cli/build/bin/cli', '/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/expo/bin/cli' ] } iOS Bundling failed 12ms (node_modules/expo/AppEntry.js) error: TypeError: Cannot read properties of undefined (reading 'transformFile') at Bundler.transformFile (/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/Bundler.js:60:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.transform (/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/lib/transformHelpers.js:150:12) at transform (/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/DeltaBundler/Graph.js:256:26) at visit (/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/DeltaBundler/buildSubgraph.js:103:29) at async Promise.all (index 0) at buildSubgraph (/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/DeltaBundler/buildSubgraph.js:127:3) at Graph._buildDelta (/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/DeltaBundler/Graph.js:249:22) at Graph.initialTraverseDependencies (/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/DeltaBundler/Graph.js:227:19) at DeltaCalculator._getChangedDependencies (/home/stevekuznetsov/code/nwacus/avy/src/github.com/nwacus/avy/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:221:25)
Fixes #663
Obviated by #674
Currently broken in the bundler somewhere with the SVG integration: