Unexpected early exit (code 13) when trying to import {}
from a dynamic import()
#1883
brianjenkins94
started this conversation in
General
Replies: 1 comment
-
cspotcode helped me on Discord to determine that the same results happen without Issue on the node repo: nodejs/node#44601 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a weird one where I could just be doing something stupid, but I'm reasonably certain this is code that has worked for me in the past.
I've run into the exit code 13 problem before but it turned out to be a conditional logic issue where I wasn't returning anything.
For reference:
https://nodejs.org/api/process.html#exit-codes
Search Terms
exit code 13
,dynamic import
Expected Behavior
The
BASE_URL
getsconsole.log
d.Actual Behavior
Unexpected early exit (code 13) on the dynamic
import()
.Steps to reproduce the problem
Minimal reproduction
Specifications
Windows (git-bash):
Linux (devcontainer):
I've tried on Windows (21H2) and Linux via a devcontainer (Linux docker-desktop 5.10.16.3-microsoft-standard-WSL2), same results.
Beta Was this translation helpful? Give feedback.
All reactions