We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In a node app where i use date-fns I only import them using this type of imports.
date-fns
import { addDays } from 'date-fns/addDays'; import { getWeek } from 'date-fns/getWeek'; import { isValid } from 'date-fns/isValid';
that package.json should contain date-fns as a dependency
https://github.com/leon/bug-nx-package-json-imports
Node : 20.11.1 OS : darwin-arm64 pnpm : 8.15.8 nx : 18.3.4 @nx/js : 18.3.4 @nx/jest : 18.3.4 @nx/linter : 18.3.4 @nx/eslint : 18.3.4 @nx/workspace : 18.3.4 @nx/devkit : 18.3.4 @nx/esbuild : 18.3.4 @nx/eslint-plugin : 18.3.4 @nx/node : 18.3.4 @nrwl/tao : 18.3.4 typescript : 5.4.5 --------------------------------------- Registered Plugins: @nx/eslint/plugin @nx/jest/plugin
No response
pnpm 8.15.8
The text was updated successfully, but these errors were encountered:
The same thing applies to firebase-admin, which I also only import using their new way of doing it.
firebase-admin/app firebase-admin/storage firebase-admin/auth firebase-admin/firestore
Sorry, something went wrong.
Hmm removed node_modules + pnpm-lock.yaml + nx reset and now it works 🤷♂️
No branches or pull requests
Current Behavior
In a node app where i use
date-fns
I only import them using this type of imports.Expected Behavior
that package.json should contain
date-fns
as a dependencyGitHub Repo
https://github.com/leon/bug-nx-package-json-imports
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
pnpm 8.15.8
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: