TfTHacker / obsidian42-brat

BRAT - Beta Reviewer's Auto-update Tool for Obsidian.
https://tfthacker.com/BRAT
MIT License
608 stars 30 forks source link

Failed to load plugin? #29

Closed Galacticminingoperation closed 2 years ago

Galacticminingoperation commented 2 years ago

My obsidian is up to date. It won't let me enable the brat plugin from the community plugin page.

Screenshot (377)

TfTHacker commented 2 years ago

I am sorry to hear it. I just did a clean install of BRAT and it did install and startup. Can you fully remove it (delete the folder for the plugin) and do a clean install?

marcopalena commented 2 years ago

Same problem here. Removing the plugin, either by using the Uninstall button or by manually deleting its folder, does not seem to solve the issue.

Current Version: v0.13.23 Installed as an AppImage on Linux Mint

brimwats commented 2 years ago

Same thing

here's the console

app.js:1 Plugin failure: obsidian42-brat TypeError: a is not a constructor
    at t.<anonymous> (app.js:1)
    at app.js:1
    at Object.next (app.js:1)
    at s (app.js:1)
(anonymous) @ app.js:1
github.com/TfTHacker/obsidian42-brat/releases/download/0.6.2/styles.css:1 Failed to load resource: the server responded with a status of 404 ()
app.js:1 Obsidian42 - BRAT: styles.css not found
app.js:1 Plugin failure: obsidian42-brat TypeError: a is not a constructor
    at t.<anonymous> (app.js:1)
    at app.js:1
    at Object.next (app.js:1)
    at s (app.js:1)
(anonymous) @ app.js:1
app.js:1 Plugin failure: obsidian42-brat TypeError: a is not a constructor
    at t.<anonymous> (app.js:1)
    at app.js:1
    at Object.next (app.js:1)
    at s (app.js:1)

Here's my debug info

SYSTEM INFO:
    Obsidian version: v0.13.23
    Installer version: v0.13.23
    Operating system: Windows 10 Education 10.0.22000
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: light
    Community theme: Minimal
    Snippets enabled: 23
    Safe mode: off
    Plugins installed: 110
    Plugins enabled: 53
        1: Style Settings
        2: Folder Note Core
        3: AidenLx's Folder Note
        4: Periodic Notes
        5: Templater
        6: Collapse All
        7: Customizable Page Header
        8: Reset Font Size
        9: Advanced URI
        10: Bartender
        11: Breadcrumbs
        12: Calendar
        13: Code Editor Shortcuts
        14: Checklist
        15: Contextual Typography
        16: Customizable Menu
        17: Core Search Assistant
        18: Customizable Sidebar
        19: Dataview
        20: Excel to Markdown Table
        21: Hider
        22: Grandfather
        23: Format Hotkeys
        24: Homepage
        25: Hotkey Helper
        26: Zoom
        27: Word Sprint
        28: Webhook Plugin
        29: Recent Files
        30: QuickAdd
        31: Quick Explorer
        32: Plugin Changelogs
        33: Pane Relief
        34: Outliner
        35: Obsidian Tabs
        36: Sentence Navigator
        37: File Info Panel
        38: Smarter Markdown Hotkeys
        39: Cycle through Panes
        40: Toggle Readable Line Length
        41: Minimal Theme Settings
        42: Various Complements
        43: Another Quick Switcher
        44: Better Command Palette
        45: File Explorer Note Count
        46: Indentation Guides
        47: Kanban
        48: Key Promoter
        49: LanguageTool Integration
        50: MySnippets
        51: Multi-Column Markdown
        52: Mousewheel Image zoom
        53: Obsidian Leaflet

RECOMMENDATIONS:
    Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the help vault or disable community theme and snippets.
    Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the help vault or disable community plugins.
zazench commented 2 years ago

Same problem here, it's installed but fails to enable

TfTHacker commented 2 years ago

Hi everyone. I am not able to duplicate the problem. But I did a rebuild of the plugin and perhaps this will address the issue.

Please do an update on plugins to get 0.6.3 release. Please let me know if this fixes the problem.

libixi123 commented 2 years ago

It doesn't work.

TfTHacker commented 2 years ago

@libixi123 what version of obsidian are you on?

libixi123 commented 2 years ago

0.13.23

TfTHacker commented 2 years ago

@libixi123 are you able to check the console log to see what errors appear

trungng2006 commented 2 years ago

I just updated the plugin and it still cannot load. THis show up in the console

app.js:1 Plugin failure: obsidian42-brat TypeError: a is not a constructor
    at t.<anonymous> (app.js:1)
    at app.js:1
    at Object.next (app.js:1)
    at s (app.js:1)
(anonymous) @ app.js:1
kometenstaub commented 2 years ago

Make sure to install esbuild 0.14.3 exactly (or a lower version). Only obsi 0.13.24 can deal with esbuild >=0.14.4 And then make a release with that esbuild version.

TfTHacker commented 2 years ago

Ok everyone, I hope this recent build works. Thanks to @kometenstaub for this info.

Please update to 0.6.31 and let me know.

marcopalena commented 2 years ago

Now it works for me. Thanks @TfTHacker

TfTHacker commented 2 years ago

Thank you for your patience and also reporting the issue.

Galacticminingoperation commented 2 years ago

Works for me thanks