destiny: Unexpected token { and no logging or other error output

Hey destiny team,

I’m working with a webpack / babel project with Javascript and JSX mixed in and I’m getting this error when running the utility.

Fri Feb 28 12:03 PM code_base: npx destiny "src/**/*.*"
Unexpected token {

Unfortunately I have no idea how to proceed further without any additional output.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

Just put a bunch of console.logs in several parts of destiny and see how it goes 😄

yep that’s it we don’t resolve the .js.flow file type, I’ll add this.

Hey @seantcanavan, we’ve just shipped a --debug flag in Destiny 0.5.0. Can you try to run npx destiny "src/**/*.*" --debug and send us the result? Thanks.