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/remix doesn't define package.json exports correctly #22091

Closed
1 of 4 tasks
SimeonC opened this issue Mar 1, 2024 · 1 comment · Fixed by #22095
Closed
1 of 4 tasks

@nx/remix doesn't define package.json exports correctly #22091

SimeonC opened this issue Mar 1, 2024 · 1 comment · Fixed by #22095

Comments

@SimeonC
Copy link
Contributor

SimeonC commented Mar 1, 2024

Current Behavior

When importing import { } from '@nx/remix/plugins/component-testing I get an import error.

 Inner Error: Error: Package subpath './plugins/component-testing' is not defined by "exports" in /Users/simeon.cheeseman/Development/survey/node_modules/@nx/remix/package.json

Expected Behavior

No error

GitHub Repo

On example repo too

Steps to Reproduce

  1. Create an remix app using the nx generator
  2. Add component testing again using the remix generator
  3. Try to run component-tests

Nx Report

Node   : 21.6.2
OS     : darwin-arm64
npm    : 10.2.4

nx (global)        : 18.0.4
nx                 : 18.0.6
@nx/js             : 18.0.6
@nx/linter         : 18.0.6
@nx/eslint         : 18.0.6
@nrwl/linter       : 16.10.0
@nx/workspace      : 18.0.6
@nx/cypress        : 18.0.6
@nx/devkit         : 18.0.6
@nx/eslint-plugin  : 18.0.6
@nx/react          : 18.0.6
@nx/remix          : 18.0.6
@nrwl/tao          : 18.0.6
@nx/vite           : 18.0.6
@nx/web            : 18.0.6
typescript         : 5.3.3
---------------------------------------
Community plugins:
@tablecheck/nx : 6.2.0
@webpro/nx-tsc : 0.0.1

Failure Logs

No response

Package Manager Version

No response

Operating System

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

Additional Information

No response

Copy link

github-actions bot commented Apr 1, 2024

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants