Skip to content

@babel/traverse "Couldn't find a Program" #13742

Discussion options

You must be logged in to vote

Where are you getting this error from? Are you using @babel/traverse directly? It usually means that you are trying to traverse a subset of the AST, but the main traverse needs a full AST (starting from a node with type: "Program") to perform scope analysis.

Replies: 5 comments 15 replies

Comment options

You must be logged in to vote
10 replies
@billnbell
Comment options

@ithustle
Comment options

@JLHwung
Comment options

@ithustle
Comment options

@JLHwung
Comment options

Answer selected by npavlovichero
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@JLHwung
Comment options

@ospfranco
Comment options

@XantreDev
Comment options

@Jacksonishere
Comment options

@ospfranco
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet