azure-func-http: Schematics fail without install dependencies
I’m submitting a…
[ ] Regression
[x] Bug report
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
Schematics fail. You need to install manually npm i @nestjs/azure-func-http and then add schematics with nest add @nestjs/azure-func-http.
Expected behavior
Automatically install necessary dependencies.
Minimal reproduction of the problem with instructions
nest add @nestjs/azure-func-http
What is the motivation / use case for changing the behavior?
Comodity
Environment
Nest version: 7.0.0
For Tooling issues:
- Node version: 12.18.3
- Platform: Linux
Others:
Thanks for your work,
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 5
- Comments: 19 (1 by maintainers)
Another pnpm user here, found another workaround without downgrading anything:
This finally gives this output:
Not sure why those steps were necessary, but i just noticed that all those libraries were present in the
package.jsonbut missing in the node_modules … perhaps a bug on pnpm side ?In case it helps anyone: I had to downgrade @schematics/angular:
I have the same problem. Manual installation works
New project:
Out:
If previously install:
Works fine:
@davidonlaptop thanks !! IT WORK
Thanks mate, this also worked for
yarn.Is this now resolved with v9 support?
Thanks @didieryemalin that’s worked!
The issue is happening because the azure-func-http package is only compatible with the nest cli versions ^6.0.0, ^7.0.0 or ^8.0.0". the ^9.0.0 version of nest was released 4 months ago. The following workaround fixed my issue.