Do you want to request a feature or report a bug?
A Bug
What is the current behaviour?
Running yarn run build when installing @types modules breaks the build.
After installing the Typescript template, I'm trying to install styled-components, all goes fine until I install @types/styled-components.
If the current behaviour is a bug, please provide the steps to reproduce.
preact create typescript my-project
yarn add styled-components
yarn add -D @types/styled-components
yarn run build
INTERNAL ERROR: Cannot read property 'flags' of undefined
What is the expected behaviour?
Being able to install @types packages.
OS: macOS 10.15.3
Terminal: Hyper 3.1.0
Shell: zsh
Node: v13.8.0
npm: 6.13.7
preact-cli: 2.2.1
Do you want to request a feature or report a bug?
A Bug
What is the current behaviour?
Running
yarn run buildwhen installing@typesmodules breaks the build.After installing the Typescript template, I'm trying to install styled-components, all goes fine until I install
@types/styled-components.If the current behaviour is a bug, please provide the steps to reproduce.
preact create typescript my-projectyarn add styled-componentsyarn add -D @types/styled-componentsyarn run buildINTERNAL ERROR: Cannot read property 'flags' of undefinedWhat is the expected behaviour?
Being able to install
@typespackages.OS: macOS 10.15.3
Terminal: Hyper 3.1.0
Shell: zsh
Node: v13.8.0
npm: 6.13.7
preact-cli: 2.2.1