Open UwUEgoDeathUwU opened 2 years ago
I have the exact same issue, and am also not sure how to resolve it. This is my stack trace:
Cannot find module 'lodash/debounce'
Require stack:
- C:\Users\rajkc_n1emmcn\.pulsar\packages\hydrogen-2.16.5\dist\main.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\module-utils.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\package.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\package-manager.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\atom-environment.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\initialize-application-window.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\static\index.html
[Hide Stack Trace](https://github.com/nteract/hydrogen/issues/2156#)
Error: Cannot find module 'lodash/debounce'
Require stack:
- C:\Users\rajkc_n1emmcn\.pulsar\packages\hydrogen-2.16.5\dist\main.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\module-utils.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\package.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\package-manager.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\atom-environment.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\initialize-application-window.js
- C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\static\index.html
at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
at o._resolveFilename (electron/js2c/renderer_init.js:33:1118)
at Function.Module._resolveFilename (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\module-cache.js:317:28)
at Module._load (internal/modules/cjs/loader.js:732:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.o._load (electron/js2c/renderer_init.js:33:379)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\native-compile-cache.js:67:27)
at Object.<anonymous> (C:\Users\rajkc_n1emmcn\.pulsar\packages\hydrogen-2.16.5\dist\main.js:31:36)
at Object.<anonymous> (C:\Users\rajkc_n1emmcn\.pulsar\packages\hydrogen-2.16.5\dist\main.js:460:3)
at Module._compile (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\native-compile-cache.js:120:30)
at Object.value [as .js] (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\compile-cache.js:252:23)
at Module.load (internal/modules/cjs/loader.js:935:32)
at Module._load (internal/modules/cjs/loader.js:776:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.o._load (electron/js2c/renderer_init.js:33:379)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\native-compile-cache.js:67:27)
at requireModule (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\module-utils.js:3:17)
at Package.requireMainModule (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\package.js:909:27)
at Package.activateNow (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\package.js:232:34)
at C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\package.js:1046:24
at Function.simpleDispatch (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\node_modules\event-kit\dist\emitter.js:64:14)
at Emitter.emit (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\node_modules\event-kit\dist\emitter.js:257:28)
at CommandRegistry.handleCommandEvent (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\command-registry.js:379:18)
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:617:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:408:22)
at WindowEventHandler.handleDocumentKeyEvent (C:\Users\rajkc_n1emmcn\AppData\Local\Programs\pulsar\resources\app.asar\src\window-event-handler.js:153:34)
*actually now I'm thinking it might be possible to fix with the Lodash module snippets package, there is a specific snippet that can implement the missing lodash/debounce. I'm currently trying to figure out how/where to put that snippet to get it to work though, that's where I'm currently stuck.
please, has anyone managed to solve it?
Prerequisites
Description
Steps to Reproduce
Expected behavior:
Actual behavior:
Versions
Atom: 1.60.0 x64 Electron: 9.4.4 OS: Microsoft Windows 10 Home Thrown From: Hydrogen package 2.16.3
Stack Trace
Uncaught Error: Cannot find module 'lodash/debounce' Require stack:
Commands
Non-Core Packages
Additional Information