Giter VIP home page Giter VIP logo

Comments (7)

buttercubz avatar buttercubz commented on May 28, 2024

Our application needs a store. I am used to writing this in a separate store.js file. However, the moment I tried to implement a store.js file I got the following error: 'svelte/store' is imported by store.js, but could not be resolved – treating it as an external dependency.

you can provide an example to try to reproduce

from snel.

buttercubz avatar buttercubz commented on May 28, 2024

you can try this way:

import { ... } from "https://cdn.skypack.dev/svelte/store";

from snel.

buttercubz avatar buttercubz commented on May 28, 2024

it works importing from a url

from snel.

borsemayur2 avatar borsemayur2 commented on May 28, 2024

you can try this way:

import { ... } from "https://cdn.skypack.dev/svelte/store";

Getting the same error for import axiod from "https://deno.land/x/axiod.mod.ts"

from snel.

buttercubz avatar buttercubz commented on May 28, 2024

you can try this way:

import { ... } from "https://cdn.skypack.dev/svelte/store";

Getting the same error for import axiod from "https://deno.land/x/axiod.mod.ts"

i can't reproduce it

image

image

please check if you using the latest version

from snel.

borsemayur2 avatar borsemayur2 commented on May 28, 2024

you can try this way:

import { ... } from "https://cdn.skypack.dev/svelte/store";

Getting the same error for import axiod from "https://deno.land/x/axiod.mod.ts"

i can't reproduce it

image

image

please check if you using the latest version

Working. Thanks. There was a typo axiod.mod.ts instead of axiod/mod.ts

from snel.

borsemayur2 avatar borsemayur2 commented on May 28, 2024

you can try this way:

import { ... } from "https://cdn.skypack.dev/svelte/store";

Getting the same error for import axiod from "https://deno.land/x/axiod.mod.ts"

i can't reproduce it
image
image
please check if you using the latest version

Working. There was a typo axiod.mod.ts instead of axiod/mod.ts

But i'm not able to upgrade to v0.4.0. Trying to figure out why.

from snel.

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.