scullyio / scully

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

Init schematic not generating the required files for ng version 16 #1667

Closed gadepalliharish closed 1 year ago

gadepalliharish commented 1 year ago

🐞 Bug report

Scully init schematic unable to generate the required files

Description

When I try to select pupeeteer to be my router ... the init schematic doesn't add any required files

🔬 Minimal Reproduction

💻Your Environment

Angular Version:




![image](https://github.com/scullyio/scully/assets/15201973/e7024d04-627c-4d46-87f9-93a1b1be5933)

Scully Version:




{
  "name": "test-angular",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "watch": "ng build --watch --configuration development",
    "test": "ng test"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^16.1.0",
    "@angular/common": "^16.1.0",
    "@angular/compiler": "^16.1.0",
    "@angular/core": "^16.1.0",
    "@angular/forms": "^16.1.0",
    "@angular/platform-browser": "^16.1.0",
    "@angular/platform-browser-dynamic": "^16.1.0",
    "@angular/router": "^16.1.0",
    "@scullyio/init": "^2.1.21",
    "@scullyio/ng-lib": "^2.1.41",
    "rxjs": "~7.8.0",
    "tslib": "^2.3.0",
    "zone.js": "~0.13.0"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^16.1.4",
    "@angular/cli": "~16.1.4",
    "@angular/compiler-cli": "^16.1.0",
    "@types/jasmine": "~4.3.0",
    "jasmine-core": "~4.6.0",
    "karma": "~6.4.0",
    "karma-chrome-launcher": "~3.2.0",
    "karma-coverage": "~2.2.0",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "~2.1.0",
    "typescript": "~5.1.3"
  }
}

🔥 Exception or Error




gadepalliharish commented 1 year ago

image

tbholejcastellon1994 commented 1 year ago

The same happens to me. Also in applications that are bootstrapped via a standalone component, importing ScullyLibModule doesn't seem to work either.

gadepalliharish commented 1 year ago

The same happens to me. Also in applications that are bootstrapped via a standalone component, importing ScullyLibModule doesn't seem to work either.

yeah ... how do we solve this