You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a regular (client-side) DevTools panel console and from REPL, i can use import("./index.js").then(console.log) no problem.
When i try to do the same in an instance of chrome's node inspector connected to localhost:9229 though, i get
TypeError: Invalid host defined options
at <anonymous>:1:1
How often does it reproduce? Is there a required condition?
everytime, while running a node process with --inspect flag
(node --inspect)
What is the expected behavior?
importing the module present on the execution path.
The text was updated successfully, but these errors were encountered:
bpstrngr
changed the title
Invalid host defined options error on dynamic import in DevTools inspector
Dynamic import fails in DevTools inspector (invalid host defined options)
Sep 23, 2020
What steps will reproduce the bug?
On a regular (client-side) DevTools panel console and from REPL, i can use
import("./index.js").then(console.log)
no problem.When i try to do the same in an instance of chrome's node inspector connected to localhost:9229 though, i get
How often does it reproduce? Is there a required condition?
everytime, while running a node process with --inspect flag
(
node --inspect
)What is the expected behavior?
importing the module present on the execution path.
What do you see instead?
"invalid host defined options" error
Additional information
error referenced but solved indirectly in webpack/webpack-cli#1274 and facebook/create-react-app#2271
The text was updated successfully, but these errors were encountered: