Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@nx/expo:install fails if Expo module outputs any post-installation instructions #29131

Open
1 of 4 tasks
hassankhan opened this issue Nov 30, 2024 · 0 comments
Open
1 of 4 tasks

Comments

@hassankhan
Copy link

Current Behavior

After running nx run app:install expo-router, nx updates the root package.json but fails before updating app/package.json.

Expected Behavior

After running nx run app:install expo-router, nx should update both the root package.json AND app/package.json.

GitHub Repo

#29130

Steps to Reproduce

  1. See breaking test here: test(expo): add breaking E2E test for an Expo module that includes post-installation output #29130

Nx Report

Node           : 20.17.0
OS             : darwin-arm64
Native Target  : aarch64-macos
pnpm           : 9.13.2

nx (global)        : 20.0.0
nx                 : 20.2.0-beta.3
@nx/js             : 0.0.1
@nx/jest           : 0.0.1
@nx/eslint         : 0.0.1
@nx/workspace      : 0.0.1
@nx/angular        : 0.0.1
@nx/cypress        : 0.0.1
@nx/detox          : 0.0.1
@nx/devkit         : 0.0.1
@nx/esbuild        : 20.2.0-beta.3
@nx/eslint-plugin  : 20.2.0-beta.3
@nx/expo           : 0.0.1
@nx/express        : 0.0.1
@nx/gradle         : 0.0.1
@nx/nest           : 0.0.1
@nx/next           : 0.0.1
@nx/node           : 0.0.1
@nx/nuxt           : 0.0.1
@nx/playwright     : 0.0.1
@nx/plugin         : 0.0.1
@nx/react          : 0.0.1
@nx/react-native   : 0.0.1
@nx/rollup         : 0.0.1
@nx/remix          : 0.0.1
@nx/rspack         : 20.2.0-beta.3
@nx/storybook      : 0.0.1
@nx/vite           : 0.0.1
@nx/vue            : 0.0.1
@nx/web            : 0.0.1
@nx/webpack        : 0.0.1
typescript         : 5.5.4

---------------------------------------
Nx Powerpack
Licensed to Nx (Internal - Staging) for 30 users in 9999 workspaces until 07/12/2024

@nx/powerpack-conformance       : 1.1.0-beta.6
@nx/powerpack-enterprise-cloud  : 1.1.0-beta.6

---------------------------------------
Registered Plugins:
@monodon/rust
@nx/playwright/plugin
@nx/eslint/plugin
@nx/jest/plugin
@nx/webpack/plugin
@nx/jest/plugin
@nx/jest/plugin
@nx/next/plugin
@nx/powerpack-enterprise-cloud
---------------------------------------
Community plugins:
@monodon/rust      : 2.1.1
@ngrx/router-store : 18.0.2
@ngrx/store        : 18.0.2
---------------------------------------
Local workspace plugins:
	 @nx/workspace-plugin
	 @nx/react-native
	 @nx/playwright
	 @nx/storybook
	 @nx/workspace
	 @nx/angular
	 @nx/cypress
	 @nx/esbuild
	 @nx/express
	 @nx/webpack
	 @nx/eslint
	 @nx/gradle
	 @nx/plugin
	 @nx/rollup
	 @nx/rspack
	 @nx/detox
	 @nx/react
	 @nx/remix
	 @nx/expo
	 @nx/jest
	 @nx/nest
	 @nx/next
	 @nx/node
	 @nx/nuxt
	 @nx/vite
	 @nx/vue
	 @nx/web
	 @nx/js
	 nx
---------------------------------------
The following packages should match the installed version of nx
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]
  - @nx/[email protected]

To fix this, run `nx migrate [email protected]`

Failure Logs

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant