我是 Jhipster 的新手。安装最后版本 7 后尝试导入 JDL 时出现此错误:错误!找不到模块 'ajv/dist/compile/context' 尝试降级到版本 6,但同样的错误。
有什么建议吗?
谢谢
完整的堆栈错误:
错误!找不到模块 'ajv/dist/compile/context' 需要堆栈:
- /Users/rafa/desarrollo/personal/jhipster/myapp/node_modules/ajv-formats/dist/limit.js
- /Users/rafa/desarrollo/personal/jhipster/myapp/node_modules/ajv-formats/dist/index.js
- /Users/rafa/desarrollo/personal/jhipster/myapp/node_modules/conf/dist/source/index.js
- /Users/rafa/desarrollo/personal/jhipster/myapp/node_modules/generator-jhipster/generators/statistics.js
- /Users/rafa/desarrollo/personal/jhipster/myapp/node_modules/generator-jhipster/generators/app/prompts.js
- /Users/rafa/desarrollo/personal/jhipster/myapp/node_modules/generator-jhipster/generators/app/index.js
- /Users/rafa/desarrollo/personal/jhipster/myapp/node_modules/yeoman-environment/lib/store.js
- /Users/rafa/desarrollo/personal/jhipster/myapp/node_modules/yeoman-environment/lib/environment.js
- /Users/rafa/desarrollo/personal/jhipster/myapp/node_modules/generator-jhipster/cli/environment-builder.js
- /Users/rafa/desarrollo/personal/jhipster/myapp/node_modules/generator-jhipster/cli/program.js
- /Users/rafa/desarrollo/personal/jhipster/myapp/node_modules/generator-jhipster/cli/cli.js
- /usr/local/lib/node_modules/generator-jhipster/cli/jhipster.js