-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi all -- I'm trying to run the app schematic locally, but running into this error:
An error occured:
Error: NOT SUPPORTED: keyword "id", use "$id" for schema ID
at Object.code (/mnt/c/Users/crper/repos/nest-test/node_modules/@angular-devkit/core/node_modules/ajv/dist/vocabularies/core/id.js:6:15)
at keywordCode (/mnt/c/Users/crper/repos/nest-test/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/validate/index.js:464:13)
at /mnt/c/Users/crper/repos/nest-test/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/validate/index.js:222:17 at CodeGen.code (/mnt/c/Users/crper/repos/nest-test/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/codegen/index.js:439:13)
at CodeGen.block (/mnt/c/Users/crper/repos/nest-test/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/codegen/index.js:568:18)
at iterateKeywords (/mnt/c/Users/crper/repos/nest-test/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/validate/index.js:219:9)
at groupKeywords (/mnt/c/Users/crper/repos/nest-test/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/validate/index.js:208:13)
at /mnt/c/Users/crper/repos/nest-test/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/validate/index.js:192:13 at CodeGen.code (/mnt/c/Users/crper/repos/nest-test/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/codegen/index.js:439:13)
at CodeGen.block (/mnt/c/Users/crper/repos/nest-test/node_modules/@angular-devkit/core/node_modules/ajv/dist/compile/codegen/index.js:568:18)
Failed to execute command: node ./src/my_schematics:app --no-dry-run --collection="./src/my_schematics" --no-skip-import --language="ts" --source-root="src" --spec --no-flat --spec-file-suffix="spec"
I just clone the repo to the ./src/my_schematics folder on a new nest project, and ran npm install then npm run build in that folder, then ran nest g -c ./src/my_schematics app from the root of my project, but I get the above error. Any clue what could be going on?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels