You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a new Svelte app and am getting an error with the module above. The requested module '/[node_modules/.vite/deps/@algolia_autocomplete-js.js](https://github.com/algolia/autocomplete/issues/node_modules/.vite/deps/@algolia_autocomplete-js.js)?t=1714511055987&v=b1e5f853' does not provide an export named 'default' (at +page.svelte:2:10)
I don't have any code yet; i can't even import the package without the error being thrown.
page.svelte
<script lang="ts">
import pkg from "@algolia/autocomplete-js";
import algoliasearch from "algoliasearch/lite";
import { onMount } from "svelte";
import "@algolia/autocomplete-theme-classic";
import { goto } from "$app/navigation";
const { autocomplete, getAlgoliaResults } = pkg;
</script>
<div id="autocomplete">
Description
I have a new Svelte app and am getting an error with the module above.
The requested module '/[node_modules/.vite/deps/@algolia_autocomplete-js.js](https://github.com/algolia/autocomplete/issues/node_modules/.vite/deps/@algolia_autocomplete-js.js)?t=1714511055987&v=b1e5f853' does not provide an export named 'default' (at +page.svelte:2:10)
I don't have any code yet; i can't even import the package without the error being thrown.
page.svelte
package.json
The text was updated successfully, but these errors were encountered: