Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. npm @supabase/supabase-js klappt irgendwie nicht.

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    npm @supabase/supabase-js klappt irgendwie nicht.

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      ple last edited by

      Moin Moin zusammen,
      ich wollte mit Supabase und dem iobroker mal rumspielen. Dazu habe ich eine aktuelle iobroker Instanz auf meinen Windwosrechner installiert und den Javascriptadapter.
      Dann unter zusätzlich Module mal @supabase/supabase-js eingefügt in beiden Felder.
      Ein

      import { createClient } from '@supabase/supabase-js';
      

      führt leider dazu.

      script.js.common.Supabase: TypeScript compilation failed:import { createClient } from '@supabase/supabase-js'; ^ERROR: Cannot find module '@supabase/supabase-js' or its corresponding type declarations.
      

      laut npm ls ist es hier installiert.

      C:\ioBroker\node_modules>npm ls
      iobroker.inst@3.0.0 C:\ioBroker
      +-- @iobroker-javascript.0/supabase-supabase-js@npm:@supabase/supabase-js@2.50.0
      

      Oder war meine Annahme falsch, dass man die Supabase doch nicht so einfach ans laufen bekommt.

      Gruß und Besten Dank.

      P 1 Reply Last reply Reply Quote 0
      • P
        ple @ple last edited by

        Ok, also als Javascript scheint es zu klappen, nur Typescript will nicht.
        Naja, dann mach ich in Javascript weiter. Daten kommen schon mal rein.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Support us

        ioBroker
        Community Adapters
        Donate

        835
        Online

        31.8k
        Users

        80.0k
        Topics

        1.3m
        Posts

        1
        2
        58
        Loading More Posts
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as topic
        Log in to reply
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
        The ioBroker Community 2014-2023
        logo