-
Notifications
You must be signed in to change notification settings - Fork 635
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
metro server start but use http url can not fetch bundle #861
Comments
Hi @alexxxcs1, I'm not sure what could be going wrong here - there are a lot of conflating factors, like you're using a custom transformer that you haven't shared the code for, and it's not clear how you're running this (TypeScript?) or against what Metro version. If you can get this down to a minimal reproduction (ideally a GitHub repo with a project I can clone, yarn install and run), or if you can pin down a Metro bug, please reopen and I'd be happy to try to help. |
@robhogan thanks for help, i finally find the problem is i start the node script with '--inpect' like 'node --loader ts-node/esm --inspect=9999 ./app.ts', if you cant reproduce the issue , i will upload a project to GitHub repo for you. |
if use script 'ts-node ./app.ts' or 'node ./app.js' has no problem , it fix but i dont know why |
@robhogan i create a repo for this issue , try this project https://github.com/alexxxcs1/reproduce-metro-server-issue. |
Hi @alexxxcs1 - thanks for the repro. This looks like a Node issue between experimental loaders and Experimental loaders aren't something we support, but FYI, this issue looks to be fixed (works for me) in Node 16+. |
node version: v14.15.1
os: mac os 12.5 (21G72)
start metro server code
i try to log metro code on node_modules;
node_modules/metro/src/Bundler.js
but this._depGraphPromise never resolve
the result is i try to use http url to fetch bundle file always loading
The text was updated successfully, but these errors were encountered: