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

Create symbolic links to workspaces in node_modules directory for better Node.js compatibility #27550

Open
kensukesaito opened this issue Jan 4, 2025 · 0 comments

Comments

@kensukesaito
Copy link

In a Node.js (npm) environment, running npm install with workspaces specified in package.json creates symbolic links to the workspaces in the node_modules directory. However, in Deno, even when nodeModulesDir: auto | manual and workspace are configured in deno.json, or when workspaces are defined in package.json, running deno install does not create symbolic links to the workspaces in the node_modules directory.

This leads to issues where certain npm libraries attempt to reference the workspaces (packages) within the node_modules directory but fail, resulting in errors.

$ deno --version 
deno 2.1.4 (stable, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2
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