I’m getting this fairly regularly, and confirmed it’s happening on two entirely separate machines for the same project.
Basically the only solution is to:
- fully uninstall meteor
npx meteor uninstall
- followed by reinstall
npx meteor@3.0.3 install
, and the error goes away.
I’ve tried fully deleting my project’s node_modules (and reinstalling of course).
As well as a full deletion of the /.meteor/local
folder in it’s entirety.
When running the app [ meteor --inspect
] it results in the following messages and final error, after compilation:
Started proxy.
Started HMR server.
Started MongoDB.
Building for os.windows_x86_64
Building the application
Building your app
error on boot.js Error: Cannot find module 'denque'
Require stack:
I20241015-12:20:13.626(-5)? - D:\repos\project\.meteor\local\build\programs\server\boot.js
I20241015-12:20:13.626(-5)? - D:\repos\project\.meteor\local\build\main.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Function.resolve (node:internal/modules/helpers:190:19)
at Object.require (D:\tools\static-assets\server\boot.js:295:34)
at packages\meteor.js:815:50
at packages\meteor.js:967:4
at processNext (packages\core-runtime.js:127:30)
at Object.queue (packages\core-runtime.js:111:3)
at packages\meteor.js:1:47
It keeps coming back, and I keep having to fully reinstall meteor.
Anyone else encountering this? Or have any ideas what I can do to permanently resolve this?
I can confirm the package does not exist under: C:\Users\MyUser\AppData\Local\.meteor\packages\
, so perhaps there’s something missing or I need to manually install it directly into meteor’s core package list somehow?