-
Notifications
You must be signed in to change notification settings - Fork 3
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
can't make manual import work for me #8
Comments
Windows 10 [Version 10.0.19045.3448] |
I will have a look at it tomorrow
…On Sat 23. Sep 2023 at 15:14, Hagai Gold ***@***.***> wrote:
Windows 10 [Version 10.0.19045.3448]
Node v18.17.1
—
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHVQRRKIQKQPFHC5EBRJC3X33OBTANCNFSM6AAAAAA5EGEIIQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
If I am "forcing" to skip the
|
so, I assume the issue is from the calling module, |
vite-plugin-ssr / vike work as expected. |
Apologies for the delay; I was in the middle of the Vike rename vike#736 which needed to be executed quickly. I'll have a look at this issue tomorrow. |
I cannot reproduce on my Linux machine. I suspect the issue to be related to Windows. Change line - const DEBUG = false;
+ const DEBUG = true; Then report back the debug logs. |
And, indeed, Telefunc should skip |
|
It does work without manually import with |
on wsl2 same error:
|
I still can't reproduce on my Linux machine. Note that you need to build your app before running
If you do this: rm -r mydist/ && pnpm run build && pnpm run server:prod Does it work then? If it doesn't then I need the debug logs of this scenario. (Also you'll see debug logs when running Thanks, and apologies for the less than ideal DX. (FYI It's on the radar to completely get rid of |
I probably wasn't explained myself clear enough, sorry for that.
The "normal" behavior is working as expected- if I (Re-)build all is well. I try to test the manually import for a scenario which I build on machine A and run it on machine B (can't rebuild again on B)- hence the need for the manual import as explained here.
Please try follow my scenario as I put on my OP: build (with --outDir), delete node_modules,
I saw other potential issue but didn't want to overload this one. |
It's actually already fixed.
This was fixed here. I just released a new version
Yes, I do want to know about all issues. I'm closing this ticket as I believe it's fixed. But, yes, feel free (and I encourage you to) bring my attention to other issues. Btw. would sponsoring be something your company be up for? Thanks for your patience (apologies for the slow turnaround; many urgent tickets came up at the same time in the last couple of days). |
working with
I am currently only evaluating |
Makes sense 👍 thanks for considering sponsoring 🙏. |
a sample repo - https://github.com/hagaigold/temp-vite-telefunc
what I tried:
import './mydist/server/importBuild.cjs'
await import('./mydist/server/importBuild.cjs')
_telefunc
middlewarehow to create:
pnpm i
mydist
pnpm run build
node_modules
pnpm i
server.js
pnpm run server:prod
The text was updated successfully, but these errors were encountered: