Plugins can't access Nodejs packages

Steps to reproduce

I’ve been able to reproduce this with a fresh installation of Obsidian in the sandboxed vault. With plugins that require node packages, like obsidian-git and obsidian-zotero-desktop-connector, I get the following error:

Error: [obsidian-zotero-desktop-connector] Attempting to load NodeJS package: “path”

Did you follow the troubleshooting guide? [Y]

Expected result

To be able to enable the plugin

Actual result

Get a string of errors

Environment

SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.6.7
Operating system: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:21 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T8103 23.6.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 1
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

Have you ever opened the developer console and typed in “app.emulateMobile(true)” by any chance?

Turns out I had several months ago. Thanks for catching this!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.