Giter VIP home page Giter VIP logo

Comments (8)

lishid avatar lishid commented on July 22, 2024

Hmm it seems that the error object isn't properly printed by the console you're using. I've tried Image Caption and the error I'm seeing (with a proper debug mode Safari remote debugger) is:

SyntaxError: Invalid regular expression: invalid group specifier name.

This seems to be due to the use of the negative lookbehind. I will comment on that plugin's issue.

from obsidian-sample-plugin.

bicarlsen avatar bicarlsen commented on July 22, 2024

Thanks @lishid. Do you know what is causing the error in the sample plugin on mobile?

from obsidian-sample-plugin.

lishid avatar lishid commented on July 22, 2024

I did not check actually. What process did you use to build/install the sample plugin? As far as I know it's not available in the plugin store.

from obsidian-sample-plugin.

bicarlsen avatar bicarlsen commented on July 22, 2024

I cloned the repository to my local machine, then transferred it to my phone via USB.

from obsidian-sample-plugin.

lishid avatar lishid commented on July 22, 2024

Did you build it and test on desktop first?

from obsidian-sample-plugin.

bicarlsen avatar bicarlsen commented on July 22, 2024

I had not, and indeed rebuilding the app fixed the issue.
I assumed the included main.js would correspond to the build of the code, but perhaps it doesn't?

Thanks for pointing that out.

from obsidian-sample-plugin.

lishid avatar lishid commented on July 22, 2024

The main.ts file is the typescript source and it's built into main.js which is what Obsidian actually runs on.

from obsidian-sample-plugin.

bicarlsen avatar bicarlsen commented on July 22, 2024

Ah, sorry. I didn't realize there wasn't a main.js file included with the plugin by default. Just an oversight on my side.

from obsidian-sample-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.