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

graphql-client module not importable #401

Open
LeosPrograms opened this issue Mar 27, 2024 · 0 comments
Open

graphql-client module not importable #401

LeosPrograms opened this issue Mar 27, 2024 · 0 comments

Comments

@LeosPrograms
Copy link
Contributor

When I try to import the graphql-client module locally with pnpm link, I get the error

Named export 'remove' not found. The requested module 'ts-invariant/process/index.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'ts-invariant/process/index.js';
const { remove } = pkg;
...

If I don't pnpm link the graphql-client module, I can't pnpm link the vf-graphql-holochain module, because the latter is a dependency of the former, and so the latter gets imported from the published npm package instead of the local one.

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

No branches or pull requests

1 participant