community-platform icon indicating copy to clipboard operation
community-platform copied to clipboard

[bug] New Component builder broken

Open benfurber opened this issue 7 months ago • 0 comments

Describe the bug The command to build a new component errors.

To Reproduce Steps to reproduce the behaviour:

  1. Go to 'packages/component'
  2. In the terminal type yarn new-component WhateverName
  3. See error:
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for <path>/community-platform/packages/components/scripts/newComponent.ts

Expected behaviour For the component, story file and test file to be generated.

benfurber avatar Jul 01 '24 12:07 benfurber