Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brandondrew opened this issue Feb 9, 2022 · 0 comments
Open

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

brandondrew opened this issue Feb 9, 2022 · 0 comments

Comments

@brandondrew
Copy link

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):

  • OS: macOS 12.2 (21D49)
  • Yarn version: 1.22.10
  • Node.js version: v16.9.1
  • Version: 2.0.4

Additional context

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant