-
Notifications
You must be signed in to change notification settings - Fork 613
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
fresh.gen.ts is not found
#2440
Comments
I wasn't able to reproduce this with the following steps in WSL:
Maybe I'm missing a step? |
Yea, when starting a new project, things work fine, until I move in components/islands etc from the original project. I'll report my findings once I'm done. My gut tells me its probably a file/folder permissions thing in the new file system. But I'll know more when I get through some slow asf migration steps. |
Ok. So I've finally got through the annoying task of migrating by hand. And I was able to reproduce 2 nasty side effects of Deno in WSL. The first is actually a bug in the Deno VSCode plugin. Types for the package 'npm:contentful' and 'npm:@contentful/rich-text-types' do not work. That is its own issue, and probably related to how they package their code... I'll explore that seperately. The second issue is the one I originally saw. Again, a package is throwing an error and causing issues, but the build step in fresh reports this as unhandled promise rejection. The package in question is 'active-campaign-react' And I'm unsure of what the real issue underlying this is. I'll do some more research tomorrow.
|
Ok, I'm now absolutely sure the issue here is with that specific module. A couple things here.
that second note is worth fixing I think. |
i run into the same issue. I added the library in the deno.json imports And i get the error when i try to import from a sub-directory of that module ( in my case the ol module )
|
I'm encountering the same issue. Very confusing bug. |
The culprit ended up being |
I've been migrating an existing project to WSL Ubuntu installation.
First port of call, generating a new fresh project, moving in components/islands/routes/static etc etc.
Second port of call, run
deno task build
to make sure all the deps and such are all setup.The issue is; it caches modules, then thorws this error.
error: Uncaught (in promise) TypeError: not found const manifest = (await import(toFileUrl(join(dir, "fresh.gen.ts")).href))
My project dir.
My system deets.
The obvious question I have about running
deno --verison
is thex86_64-unknown-linux-gnu
bit.I would think that would know at least debian or something.
What I've tried.
deno run
. same error.deno cache -r
and manually deleting cache, then rerunning. Same error.The text was updated successfully, but these errors were encountered: