Open BBaysinger opened 7 years ago
I'm seeing all the same issues as @BBaysinger. Any feedback would be very helpful!
Seems to work just fine for me if I take the arguments out of the tsProject.src() call
If that doesn't work, here's another way to create a component library that can be consumed by Angular-CLI. It's a workaround until there is direct support for libraries:
https://github.com/nsmolenskii/ng-demo-lib https://github.com/nsmolenskii/ng-demo-app
Hi Lucas, thanks for the tutorial. I was trying to follow it, and I ran into some issues. I got past a couple of them.
After doing the Installing gulp section, I ran gulp build and got:
...and some other stuff.
I fixed that by running
npm install ts-node --save-dev
.Then I ran into:
I got past that by using
npm install @types/node --save-dev
.Now I try to run
gulp build
, and I get:Your tutorial is the latest info I can find on building a component library that can be consumed by Angular-CLI. The other ones I found are a bit dated. So this is a valuable tutorial. It would help me so much to see this working. Please let me know what I am missing.