scullyio / scully

The Static Site Generator for Angular apps
https://scully.io/
MIT License
2.55k stars 257 forks source link

TypeError on installing scully npm package #1595

Closed zloy-kot closed 2 years ago

zloy-kot commented 2 years ago

Hey, I'm reading an angular book and trying to follow the instructions from that book. I'm building a sample application and getting the following exception when installing scully package, actually when it asks which route renderer would I like:

TypeError: entry.message.split is not a function at MapSubscriber.project (D:\projects\angular\the-blog\node_modules\@angular-devkit\core\src\logger\indent.js:35:58) at MapSubscriber._next (D:\projects\angular\the-blog\node_modules\@angular-devkit\core\node_modules\rxjs\internal\operators\map.js:49:35) at MapSubscriber.Subscriber.next (D:\projects\angular\the-blog\node_modules\@angular-devkit\core\node_modules\rxjs\internal\Subscriber.js:66:18) at Subject.next (D:\projects\angular\the-blog\node_modules\@angular-devkit\core\node_modules\rxjs\internal\Subject.js:60:25) at IndentLogger.log (D:\projects\angular\the-blog\node_modules\@angular-devkit\core\src\logger\logger.js:83:23) at IndentLogger.error (D:\projects\angular\the-blog\node_modules\@angular-devkit\core\src\logger\logger.js:98:21) at D:\projects\angular\the-blog\node_modules\@scullyio\init\src\ng-add\index.js:89:24 at MergeMapSubscriber.project (D:\projects\angular\the-blog\node_modules\@angular-devkit\schematics\src\rules\call.js:75:24) at MergeMapSubscriber._tryNext (D:\projects\angular\the-blog\node_modules\@angular-devkit\schematics\node_modules\rxjs\internal\operators\mergeMap.js:67:27) at MergeMapSubscriber._next (D:\projects\angular\the-blog\node_modules\@angular-devkit\schematics\node_modules\rxjs\internal\operators\mergeMap.js:57:18)

scully version = @scullyio/init@2.1.36 angular - 14.0.0, npm - 8.12.1

zloy-kot commented 2 years ago

fixed by updating angular and npm