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

Error running task when nodeModulesDir is set to true but the node_modules directory is absent #23914

Closed
0f-0b opened this issue May 21, 2024 · 0 comments · Fixed by #23920
Closed
Assignees
Labels
bug Something isn't working correctly task runner related to deno task

Comments

@0f-0b
Copy link
Contributor

0f-0b commented May 21, 2024

$ echo '{ "nodeModulesDir": true, "tasks": { "repro": "true" } }' >deno.json
$ deno cache npm:react@18.3.1
$ rm -r node_modules
$ deno task repro
error: No such file or directory (os error 2)
$ deno --version
deno 1.43.5+c703ddd (canary, aarch64-apple-darwin)
v8 12.4.254.13
typescript 5.4.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly task runner related to deno task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants