Sebastian_B
Sebastian_B

Reputation: 51

Madge and relative path not working on windows

I am trying to run the following cmd on windows 11:
madge --circular src/**/**.ts

I am getting this error: Error: ENOENT: no such file or directory, stat 'C:\Users\Basti\Documents\GitHub\repo\src\**\**.ts'

when trying to run the command with an absolute path like madge --circular src/services/index.ts it works fine

Upvotes: 1

Views: 549

Answers (1)

ruckonic
ruckonic

Reputation: 1

Try this src/**/*.ts the error is double **

Upvotes: 0

Related Questions