scullyio / scully

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

Config file doesn't create after installation #1669

Open Popovkov57 opened 1 year ago

Popovkov57 commented 1 year ago

🐞 Bug report

Description

I create a new angular App and I installed scully with the command below:

 ng add @scullyio/init

ℹ Using package manager: npm
✔ Found compatible package version: @scullyio/init@2.1.21.
✔ Package information loaded.

The package @scullyio/init@2.1.21 will be installed and executed.
Would you like to proceed? Yes
✔ Packages successfully installed.
? Which route renderer would you like to use? Scully platform server

The installation seems to be ok but I can't find the config file.

💻Your Environment

Angular Version:



     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 16.1.8
Node: 20.5.0 (Unsupported)
Package Manager: npm 9.8.0
OS: darwin arm64

Angular: 16.2.2
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1602.0
@angular-devkit/build-angular   16.2.0
@angular-devkit/core            16.2.0
@angular-devkit/schematics      16.1.8
@angular/cli                    16.1.8
@schematics/angular             16.1.8
rxjs                            7.8.1
typescript                      5.1.6
zone.js                         0.13.1

Warning: The current version of Node (20.5.0) is not supported by Angular.


Scully Version:


"@scullyio/init": "^2.1.41",


Andrew3005 commented 1 year ago

I have same issue

AlonsoK28 commented 1 year ago

Is broken on Angular 16

av1v3k commented 11 months ago

As of Angular 16, it is not completely compatible.

But, I tried with below command and it worked.

npm install @scullyio/init @scullyio/ng-lib @scullyio/scully --force

@AlonsoK28 @Andrew3005

mikecole commented 5 months ago

@av1v3k's solution did not work for me.