Skip to content

Error: Cannot find module '/package.json' #1176

@zeromold

Description

@zeromold

Platform:
Linux pop-os 5.15.11-76051511-generic #202112220937164018548121.04~b3a2c21-Ubuntu SMP Mon Jan 3 16:5 x86_64 x86_64 x86_64 GNU/Linux

Nuclear version:
nuclear v0.6.17
installed from nuclear-v0.6.17.deb

Description of the issue:

nuclear opens but is unable to play anything.

nuclear
main › (node:8306) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use nuclear --trace-deprecation ... to show where the warning was created)
main › (node:8306) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'write' of null
at e.exports.send (/opt/nuclear/resources/app.asar/dist/main.js:2200:13798)
at /opt/nuclear/resources/app.asar/dist/main.js:2200:2154
at new Promise ()
at e.exports.request (/opt/nuclear/resources/app.asar/dist/main.js:2200:2107)
at e.exports.clearActivity (/opt/nuclear/resources/app.asar/dist/main.js:2200:6785)
at fr.clear (/opt/nuclear/resources/app.asar/dist/main.js:2751:510734)
at ca.onClearTrackList (/opt/nuclear/resources/app.asar/dist/main.js:2751:531161)
at IpcMainImpl. (/opt/nuclear/resources/app.asar/dist/main.js:2751:536446)
at IpcMainImpl.emit (events.js:315:20)
at Object. (electron/js2c/browser_init.js:161:9715)
at Object.emit (events.js:315:20)
main › (node:8306) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
main › (node:8306) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

main › (node:8306) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

(Use nuclear --trace-deprecation ... to show where the warning was created)
main › (node:8306) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'write' of null
at e.exports.send (/opt/nuclear/resources/app.asar/dist/main.js:2200:13798)
at /opt/nuclear/resources/app.asar/dist/main.js:2200:2154
at new Promise ()
at e.exports.request (/opt/nuclear/resources/app.asar/dist/main.js:2200:2107)
at e.exports.clearActivity (/opt/nuclear/resources/app.asar/dist/main.js:2200:6785)
at fr.clear (/opt/nuclear/resources/app.asar/dist/main.js:2751:510734)
at ca.onClearTrackList (/opt/nuclear/resources/app.asar/dist/main.js:2751:531161)
at IpcMainImpl. (/opt/nuclear/resources/app.asar/dist/main.js:2751:536446)
at IpcMainImpl.emit (events.js:315:20)
at Object. (electron/js2c/browser_init.js:161:9715)
at Object.emit (events.js:315:20)
main › (node:8306) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
main › (node:8306) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

nuclear --trace-deprecation
main › (node:9092) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use nuclear --trace-deprecation ... to show where the warning was created)
renderer › Error: Cannot find module '/package.json'
at n (file:///opt/nuclear/resources/app.asar/dist/renderer.js:1:162754)
at M (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:83672)
at e.exports (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:84166)
at file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:80126
at Array.map ()
at e.exports (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:80119)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Object.t.liveStreamSearch (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:168100)
at async file:///opt/nuclear/resources/app.asar/dist/renderer.js:1:215725
at async Promise.all (index 5)
renderer › Error: Cannot find module '/package.json'
at n (file:///opt/nuclear/resources/app.asar/dist/renderer.js:1:162754)
at M (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:83672)
at e.exports (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:84166)
at file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:80126
at Array.map ()
at e.exports (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:80119)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Object.t.liveStreamSearch (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:168100)
at async file:///opt/nuclear/resources/app.asar/dist/renderer.js:1:215725
at async Promise.all (index 5)
main › (node:9092) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'write' of null
at e.exports.send (/opt/nuclear/resources/app.asar/dist/main.js:2200:13798)
at /opt/nuclear/resources/app.asar/dist/main.js:2200:2154
at new Promise ()
at e.exports.request (/opt/nuclear/resources/app.asar/dist/main.js:2200:2107)
at e.exports.clearActivity (/opt/nuclear/resources/app.asar/dist/main.js:2200:6785)
at fr.clear (/opt/nuclear/resources/app.asar/dist/main.js:2751:510734)
at ca.onClearTrackList (/opt/nuclear/resources/app.asar/dist/main.js:2751:531161)
at IpcMainImpl. (/opt/nuclear/resources/app.asar/dist/main.js:2751:536446)
at IpcMainImpl.emit (events.js:315:20)
at Object. (electron/js2c/browser_init.js:161:9715)
at Object.emit (events.js:315:20)
main › (node:9092) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
main › (node:9092) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
renderer › Error while searching for The O'Jays Back Stabbers on Youtube
renderer › Error: Cannot find module '/package.json'
at n (file:///opt/nuclear/resources/app.asar/dist/renderer.js:1:162754)
at M (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:83672)
at e.exports (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:84166)
at file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:80126
at Array.map ()
at e.exports (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:80119)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async N (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:166608)
at async c.search (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:147218)
at async file:///opt/nuclear/resources/app.asar/dist/renderer.js:1:207770
at async file:///opt/nuclear/resources/app.asar/dist/renderer.js:1:207486
main › (node:9092) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'write' of null
at e.exports.send (/opt/nuclear/resources/app.asar/dist/main.js:2200:13798)
at /opt/nuclear/resources/app.asar/dist/main.js:2200:2154
at new Promise ()
at e.exports.request (/opt/nuclear/resources/app.asar/dist/main.js:2200:2107)
at e.exports.clearActivity (/opt/nuclear/resources/app.asar/dist/main.js:2200:6785)
at fr.clear (/opt/nuclear/resources/app.asar/dist/main.js:2751:510734)
at App. (/opt/nuclear/resources/app.asar/dist/main.js:2751:537783)
at App.emit (events.js:327:22)
at Lt.close (/opt/nuclear/resources/app.asar/dist/main.js:2751:486639)
at ha.onClose (/opt/nuclear/resources/app.asar/dist/main.js:2751:533655)
at IpcMainImpl. (/opt/nuclear/resources/app.asar/dist/main.js:2751:536446)
at IpcMainImpl.emit (events.js:315:20)
at Object. (electron/js2c/browser_init.js:161:9715)
at Object.emit (events.js:315:20)
main › (node:9092) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)


 main › (node:9385) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

(Use nuclear --trace-deprecation ... to show where the warning was created)
renderer › Error: Cannot find module '/package.json'
at n (file:///opt/nuclear/resources/app.asar/dist/renderer.js:1:162754)
at M (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:83672)
at e.exports (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:84166)
at file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:80126
at Array.map ()
at e.exports (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:80119)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Object.t.liveStreamSearch (file:///opt/nuclear/resources/app.asar/dist/1.renderer.js:2685:168100)
at async file:///opt/nuclear/resources/app.asar/dist/renderer.js:1:215725
at async Promise.all (index 5)
main › error trying to set discord activity
main › (node:9385) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'write' of null
at e.exports.send (/opt/nuclear/resources/app.asar/dist/main.js:2200:13798)
at /opt/nuclear/resources/app.asar/dist/main.js:2200:2154
at new Promise ()
at e.exports.request (/opt/nuclear/resources/app.asar/dist/main.js:2200:2107)
at e.exports.clearActivity (/opt/nuclear/resources/app.asar/dist/main.js:2200:6785)
at fr.clear (/opt/nuclear/resources/app.asar/dist/main.js:2751:510734)
at App. (/opt/nuclear/resources/app.asar/dist/main.js:2751:537783)
at App.emit (events.js:327:22)
at Lt.close (/opt/nuclear/resources/app.asar/dist/main.js:2751:486639)
at ha.onClose (/opt/nuclear/resources/app.asar/dist/main.js:2751:533655)
at IpcMainImpl. (/opt/nuclear/resources/app.asar/dist/main.js:2751:536446)
at IpcMainImpl.emit (events.js:315:20)
at Object. (electron/js2c/browser_init.js:161:9715)
at Object.emit (events.js:315:20)
main › (node:9385) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
main › (node:9385) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
ipc api › error in event start-download => Object has been destroyed
ipc api › TypeError: Object has been destroyed
at Lt.send (/opt/nuclear/resources/app.asar/dist/main.js:2751:485660)
at Qt.onStartDownload (/opt/nuclear/resources/app.asar/dist/main.js:2751:489414)
at processTicksAndRejections (internal/process/task_queues.js:93:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue identifies a bug in Nuclear.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions