Bug in the Hospital Communication App

Job ID: 39073055

Budget: $10 – $30 USD

We developed a full-stack application tailored for a traditional German hospital system, focusing on secure and efficient real-time communication and file management.

- Front-End: Built with Electron.js, ensuring a desktop-friendly experience with seamless UI/UX.
- Back-End: Implemented a Socket.io server for real-time interactions between hospital staff and systems.
- Deployment: Packaged the back-end using the pkg module for streamlined distribution.
- File System Integration: Integrated @marsaud/smb2 to check for file availability in remote SMB network folders, ensuring secure and efficient access to hospital records.

I attached current issue:
Listening for status requests on port 56560
Watching inputFolder \\DESKTOP-EEQ7LLN\allow_folder\
Error: Cannot find module '../messages/negotiate'
Require stack:
- C:\snapshot\sq-communicator\core\node_modules\@marsaud\smb2\lib\tools\smb2-forge.js
- C:\snapshot\sq-communicator\core\node_modules\@marsaud\smb2\lib\tools\smb2-connection.js
- C:\snapshot\sq-communicator\core\node_modules\@marsaud\smb2\lib\smb2.js
- C:\snapshot\sq-communicator\core\dist\core.cjs.js
- C:\snapshot\sq-communicator\service\dist\index.js
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function._resolveFilename (pkg/prelude/bootstrap.js:1951:46)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at Module.require (pkg/prelude/bootstrap.js:1851:31)
at require (node:internal/modules/cjs/helpers:102:18)
at C:\snapshot\sq-communicator\core\node_modules\@marsaud\smb2\lib\tools\smb2-forge.js:15:13
at connect (C:\snapshot\sq-communicator\core\node_modules\@marsaud\smb2\lib\tools\smb2-connection.js:100:3)
at Object.<anonymous> (C:\snapshot\sq-communicator\core\node_modules\@marsaud\smb2\lib\tools\smb2-connection.js:31:5)
at Object.exists (C:\snapshot\sq-communicator\core\node_modules\@marsaud\smb2\lib\tools\auto-promise.js:30:8) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\snapshot\\sq-communicator\\core\\node_modules\\@marsaud\\smb2\\lib\\tools\\smb2-forge.js',
'C:\\snapshot\\sq-communicator\\core\\node_modules\\@marsaud\\smb2\\lib\\tools\\smb2-connection.js',
'C:\\snapshot\\sq-communicator\\core\\node_modules\\@marsaud\\smb2\\lib\\smb2.js',
'C:\\snapshot\\sq-communicator\\core\\dist\\core.cjs.js',
'C:\\snapshot\\sq-communicator\\service\\dist\\index.js'
],
pkg: true
}

After publishing backend project using pkg module, it can't find used smb2 module in the project.
Don't send proposals if it doesn't contain any solution.