Kevin
Kevin9mo ago

Cannot find module '@alloc/quick-lru'

I'm having this issue in my fresh project at the moment. It was working well and suddenly I have ths error.
Task start deno run -A --watch=static/,routes/ dev.ts Watcher Process started. The manifest has been generated for 4 routes and 1 islands. error: Uncaught (in promise) Error: Cannot find module '@alloc/quick-lru' Require stack: - /Users/toto/Sites/project/project-website/node_modules/.deno/tailwindcss@3.4.1/node_modules/tailwindcss/lib/lib/setupTrackingContext.js - /Users/toto/Sites/project/project-website/node_modules/.deno/tailwindcss@3.4.1/node_modules/tailwindcss/lib/plugin.js - /Users/toto/Sites/project/project-website/node_modules/.deno/tailwindcss@3.4.1/node_modules/tailwindcss/lib/index.js - /Users/toto/Sites/project/project-website/node_modules/.deno/tailwindcss@3.4.1/node_modules/tailwindcss/lib/index.js at Function.Module._resolveFilename (node:module:609:15) at Function.Module._load (node:module:487:27) at Module.require (node:module:662:19) at require (node:module:776:16) at Object.<anonymous> (file:///Users/toto/Sites/project/project-website/node_modules/.deno/tailwindcss@3.4.1/node_modules/tailwindcss/lib/lib/setupTrackingContext.js:17:58) at Object.<anonymous> (file:///Users/toto/Sites/project/project-website/node_modules/.deno/tailwindcss@3.4.1/node_modules/tailwindcss/lib/lib/setupTrackingContext.js:168:4) at Module._compile (node:module:718:34) at Object.Module._extensions..js (node:module:732:10) at Module.load (node:module:643:32) at Function.Module._load (node:module:524:12) Watcher Process failed. Restarting on file change...
Does anyone have also this issue ?
2 Replies
cknight
cknight9mo ago
See https://github.com/denoland/deno/issues/21884. You can try deleting node_modules and running again.
Kevin
KevinOP9mo ago
Thanks, that works