teambit / bit-angular

Angular support for bit harmony
28 stars 3 forks source link

Bit build fails due to compilation issues #28

Closed IdoMor closed 2 years ago

IdoMor commented 2 years ago

After executing all steps indicated in the readme file, executing bit build fails on the following error: Entry point of type library 'node' specified in compilerOptions

image

environment: node: v12.14.1 npm: 6.13.x bit version: 0.0.577 bvm version: 0.0.30

IdoMor commented 2 years ago

repreduce also in npm version 8.1.4

ocombe commented 2 years ago

Are you trying to use npm to install dependencies ? you should always use bit install

IdoMor commented 2 years ago

nope. followed the instructions step by step

ocombe commented 2 years ago

does it work if you do bit install @types/node ?

IdoMor commented 2 years ago

yes! We should add this as a default when the package is installed

ocombe commented 2 years ago

yes, I'll do it, thanks for the report