Build error for android and web

Hi All,

Please help… stuck here with build for the android app. Getting below error whatever option I choose during build either apk or aab with any version of the client.

Thanks in advance!

1 Like

Even the web build has the error but app is working fine in Appgyver preview.

Runtime version: 4.5.10;
AB version: 1.7.6
COMMAND:

FAILED with ERROR:

│ [ error ] [build] COMMAND:
npx next build
FAILED with ERROR:
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/BaseNavigationContainer.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/getPathFromState.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/getStateFromPath.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/useNavigationBuilder.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/stack/lib/module/navigators/createStackNavigator.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)

Build failed because of webpack errors
Command failed with exit code 1: npx next build
Failed to compile.
./node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/BaseNavigationContainer.js
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/BaseNavigationContainer.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/getPathFromState.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/getStateFromPath.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/useNavigationBuilder.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/stack/lib/module/navigators/createStackNavigator.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
Build failed because of webpack errors
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js’ roadmap and prioritize features.
You can learn more, including how to opt-out if you’d not like to participate in this anonymous program, by visiting the following URL:
Next.js - Telemetry
Found custom dir:/app/src/pages
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/BaseNavigationContainer.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/getPathFromState.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/getStateFromPath.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/useNavigationBuilder.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/stack/lib/module/navigators/createStackNavigator.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
Build failed because of webpack errors
Error: Command failed with exit code 1: npx next build
Failed to compile.
./node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/BaseNavigationContainer.js
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/BaseNavigationContainer.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/getPathFromState.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/getStateFromPath.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/native/node_modules/@react-navigation/core/lib/module/useNavigationBuilder.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
TypeError: /app/node_modules/@react-navigation/stack/lib/module/navigators/createStackNavigator.js: isTSSatisfiesExpression is not a function
at isTSSatisfiesExpression (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:31:5)
at isTransparentExprWrapper (/app/node_modules/@babel/helper-skip-transparent-expression-wrappers/src/index.ts:42:10)
at PluginPass.CallExpression (/app/node_modules/@babel/plugin-transform-spread/src/index.ts:137:28)
at newFn (/app/node_modules/@babel/traverse/lib/visitors.js:179:21)
at NodePath._call (/app/node_modules/@babel/traverse/lib/path/context.js:55:20)
Build failed because of webpack errors
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js’ roadmap and prioritize features.
You can learn more, including how to opt-out if you’d not like to participate in this anonymous program, by visiting the following URL:
Next.js - Telemetry
Found custom dir:/app/src/pages
at makeError (/app/node_modules/execa/lib/error.js:60:11)
at handlePromise (/app/node_modules/execa/index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
│ │
│ Project location: │
│ ./platformBuilds/standalone_web │

hello i’m facing this same problem since yesterday… it seems the platform side issue hasn’t been resolved yet.

1 Like

Hello everybody.
Since Thursday I’m facing the same problem.

I am as well. Is anyone actually looking in to this? I need to put a new release out, and my investors are now screaming.

same here. I did some digging and found out babel released an new version today which deals exactly with this same expression

Babel|attachmentBabel @babeljs

We released Babel 7.20.0! It includes support for:

  • TypeScript 4.9 (x satisfies T expressions),
  • parsing of the import reflection and explicit resource management proposals.You can read more about in the release post!
    https://babeljs.io/blog/2022/10/27/7.20.0

TwitterTwitter | Oct 27th