Beginner
Beginner

Reputation: 23

How to solve ng build library Angular?

Aftyer command ng build lib I got this error message:

Error: Cannot find module 'tsickle/src/tsickle'

I have tried to install npm i tsickle no effect.

"@angular/core": "^6.0.0"

Ts is:

  "typescript": "~2.7.2"

This node_modules\ng-packagr\lib\ngc\create-emit-callback.js module required the tsicckle

Upvotes: 0

Views: 448

Answers (1)

pbachman
pbachman

Reputation: 1059

you should install tsickle as dev dependency

npm i --save-dev tsickle

Upvotes: 1

Related Questions