hogarthww-labs / nx-python

Python plugin for Nx with support for Django and Flask
MIT License
17 stars 2 forks source link

Unable to generate a new app #2

Open gk-bbai opened 2 months ago

gk-bbai commented 2 months ago

Report a bug.

After selecting which python framework I would like to use for the application (I select "default"), I get an error:

➜ nx g @nx-python/nx-python:nx-python --name=my-project --verbose

 NX  Generating @nx-python/nx-python:nx-python

✔ Which python framework would you like to use for the application? · default
Error: NOT SUPPORTED: keyword "id", use "$id" for schema ID
    at Object.code (/Users/user/Projects/my-project/node_modules/ajv/dist/vocabularies/core/id.js:6:15)
    at keywordCode (/Users/user/Projects/my-project/node_modules/ajv/dist/compile/validate/index.js:464:13)
    at /Users/user/Projects/my-project/node_modules/ajv/dist/compile/validate/index.js:222:17
    at CodeGen.code (/Users/user/Projects/my-project/node_modules/ajv/dist/compile/codegen/index.js:439:13)
    at CodeGen.block (/Users/user/Projects/my-project/node_modules/ajv/dist/compile/codegen/index.js:568:18)
    at iterateKeywords (/Users/user/Projects/my-project/node_modules/ajv/dist/compile/validate/index.js:219:9)
    at groupKeywords (/Users/user/Projects/my-project/node_modules/ajv/dist/compile/validate/index.js:208:13)
    at /Users/user/Projects/my-project/node_modules/ajv/dist/compile/validate/index.js:192:13
    at CodeGen.code (/Users/user/Projects/my-project/node_modules/ajv/dist/compile/codegen/index.js:439:13)
    at CodeGen.block (/Users/user/Projects/my-project/node_modules/ajv/dist/compile/codegen/index.js:568:18)

 NX   NOT SUPPORTED: keyword "id", use "$id" for schema ID
  1. npm i -D @nx-python/nx-python
  2. nx g @nx-python/nx-python:nx-python --name=my-project
  3. Select "default" for the python framework to use

No error.

Plugin isn't able to generate new applications.