Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative path are not loaded #89

Open
carere opened this issue Sep 18, 2023 · 2 comments
Open

Relative path are not loaded #89

carere opened this issue Sep 18, 2023 · 2 comments

Comments

@carere
Copy link

carere commented Sep 18, 2023

It seems that on every relative path, I get the following error:

✘ [ERROR] Could not resolve "/home/carere/Projects/Ashiso/deno_zentai/apps/karada/src/components/organisms/Graph/controls/ContractSelector/ContractPreview/index.tsx" [plugin deno-loader]

    apps/karada/src/components/organisms/Graph/controls/ContractSelector/index.tsx:19:32:
      19 │ import { ContractPreview } from "./ContractPreview/index.tsx";
         ╵                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  The plugin "deno-loader" didn't set a resolve directory, so esbuild did not search for
  "/home/carere/Projects/Ashiso/deno_zentai/apps/karada/src/components/organisms/Graph/controls/ContractSelector/ContractPreview/index.tsx"
  on the file system.

I'm not well-versed into esbuild, and I don't know how to fix this issue.
Maybe someone got a clue ??

@lucacasonato
Copy link
Owner

What does is your config file look like?

@WorriedArrow
Copy link

Try adding both the configPath option and adding "file:///" to the start of your entrypoint path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants