Sunday, June 30, 2024
HomeiOS Developmentios - Expo EAS Construct / Metro Bundler can't discover AppEntry.js in...

ios – Expo EAS Construct / Metro Bundler can’t discover AppEntry.js in a recent macbook repo setup


I simply modified laptop computer and moved setup all of the tooling on the brand new Macbbok M1. I am getting this error which I can’t discover any comparable instances for within the net. When bundling the metro bundler is complaining that it can’t discover AppEntry.js:

+ /decide/homebrew/decide/node@18/bin/node /personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/@expo/cli/construct/bin/cli export:embed --entry-file /var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/expo/AppEntry.js --platform ios --dev false --reset-cache --bundle-output /Customers/bitoiu/Library/Developer/Xcode/DerivedData/LJJ-clzmakckjofbkdarbcbhcwzorxiv/Construct/Intermediates.noindex/ArchiveIntermediates/LJJ/BuildProductsPath/Launch-iphoneos/primary.jsbundle --assets-dest /Customers/bitoiu/Library/Developer/Xcode/DerivedData/LJJ-clzmakckjofbkdarbcbhcwzorxiv/Construct/Intermediates.noindex/ArchiveIntermediates/LJJ/BuildProductsPath/Launch-iphoneos/LJJ.app --minify false
Beginning Metro Bundler
warning: Bundler cache is empty, rebuilding (this will take a minute)
/personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/.:0: error: Unable to resolve module /var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/expo/AppEntry.js from /personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/.: 
Error: Unable to resolve module /var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/expo/AppEntry.js from /personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/.: 

None of those recordsdata exist:
  * ../../../../../../../../../var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/expo/AppEntry.js(.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.mjs|.native.mjs|.mjs|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.cjs|.native.cjs|.cjs|.ios.scss|.native.scss|.scss|.ios.sass|.native.sass|.sass|.ios.css|.native.css|.css)
  * ../../../../../../../../../var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/expo/AppEntry.js/index(.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.mjs|.native.mjs|.mjs|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.cjs|.native.cjs|.cjs|.ios.scss|.native.scss|.scss|.ios.sass|.native.sass|.sass|.ios.css|.native.css|.css)
Error: Unable to resolve module /var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/expo/AppEntry.js from /personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/.: 

None of those recordsdata exist:
  * ../../../../../../../../../var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/expo/AppEntry.js(.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.mjs|.native.mjs|.mjs|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.cjs|.native.cjs|.cjs|.ios.scss|.native.scss|.scss|.ios.sass|.native.sass|.sass|.ios.css|.native.css|.css)
  * ../../../../../../../../../var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/expo/AppEntry.js/index(.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.mjs|.native.mjs|.mjs|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.cjs|.native.cjs|.cjs|.ios.scss|.native.scss|.scss|.ios.sass|.native.sass|.sass|.ios.css|.native.css|.css)
    at ModuleResolver.resolveDependency (/personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:112:15)
    at DependencyGraph.resolveDependency (/personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/metro/src/node-haste/DependencyGraph.js:231:43)
    at /personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/metro/src/lib/transformHelpers.js:156:21
    at Server._resolveRelativePath (/personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/metro/src/Server.js:1023:12)
    at processTicksAndRejections (node:inside/course of/task_queues:95:5)
    at MetroBundlerDevServer.resolveRelativePathAsync (/personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/@expo/cli/src/begin/server/metro/MetroBundlerDevServer.ts:1208:12)
    at MetroBundlerDevServer.metroLoadModuleContents (/personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/@expo/cli/src/begin/server/metro/MetroBundlerDevServer.ts:430:35)
    at MetroBundlerDevServer.legacySinglePageExportBundleAsync (/personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/@expo/cli/src/begin/server/metro/MetroBundlerDevServer.ts:553:20)
    at exportEmbedBundleAndAssetsAsync (/personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/@expo/cli/src/export/embed/exportEmbedAsync.ts:116:21)
    at exportEmbedAsync (/personal/var/folders/v1/4tc4zbcn78dc64gp61qth6cr0000gn/T/eas-build-local-nodejs/b88634ff-cd0d-4097-b224-3df0ad054192/construct/node_modules/@expo/cli/src/export/embed/exportEmbedAsync.ts:68:30)

warning: Run script construct part '[CP-User] [Hermes] Exchange Hermes for the best configuration, if wanted' can be run throughout each construct as a result of it doesn't specify any outputs. To deal with this warning, both add output dependencies to the script part, or configure it to run in each construct by unchecking "Based mostly on dependency evaluation" within the script part. (in goal 'hermes-engine' from challenge 'Pods')
notice: Run script construct part 'Bundle React Native code and pictures' can be run throughout each construct as a result of the choice to run the script part "Based mostly on dependency evaluation" is unchecked. (in goal 'LJJ' from challenge 'LJJ')
notice: Run script construct part '[Expo] Configure challenge' can be run throughout each construct as a result of the choice to run the script part "Based mostly on dependency evaluation" is unchecked. (in goal 'LJJ' from challenge 'LJJ')
warning: Run script construct part '[CP-User] [RN]Test rncore' can be run throughout each construct as a result of it doesn't specify any outputs. To deal with this warning, both add output dependencies to the script part, or configure it to run in each construct by unchecking "Based mostly on dependency evaluation" within the script part. (in goal 'React-Material' from challenge 'Pods')
warning: Run script construct part '[CP-User] Generate app.config for prebuilt Constants.manifest' can be run throughout each construct as a result of it doesn't specify any outputs. To deal with this warning, both add output dependencies to the script part, or configure it to run in each construct by unchecking "Based mostly on dependency evaluation" within the script part. (in goal 'EXConstants' from challenge 'Pods')

I’ve tried deleting and rebuilding node_modules, and operating npx expo-doctor reveals no points. I actually haven’t any mode concepts about this error. I’ll attempt to construct with EAS on the cloud when I’ve extra builds beggining of the month.

Thanks upfront.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments