flood-io / element

💦Load test your app using real web browsers
https://element.flood.io
Apache License 2.0
354 stars 43 forks source link

Brand new project gets `chalk_1.default is not a function` #559

Open brandondrew opened 2 years ago

brandondrew commented 2 years ago

Describe the bug

A new project from a freshly-installed Element 2.0.4 fails with a cryptic error message.

To Reproduce

Steps to reproduce the behavior:

  1. cd to $HOME/Code/Typescript
  2. enter element init portal
  3. enter URL for performance tests
  4. accept default name
  5. wait for yarn to finish
  6. enter cd portal to enter project directory
  7. enter element run ./portal.perf.ts
  8. see error message chalk_1.default is not a function

Expected behavior

I expected a basic default performance test to run.

Screenshots

image

Desktop (please complete the following information):

Additional context

This is my first time using Element, so I've never had it successfully work in the past.