Unable to generate with new 0.7.0 version
AlMuz opened this issue · 1 comments
AlMuz commented
API Platform version(s) affected: 0.7.0
Description
Hello, today i tried to generate with this command:
npx @api-platform/client-generator https://localhost:6789/api . --generator nuxt
But after some time returned this error
- npm ERR! code ENOENT
- npm ERR! syscall chmod
- npm ERR! path C:\Users\WORK\AppData\Roaming\npm-cache_npx\14424\node_modules@api-platform\client-generator\lib\index.js
- npm ERR! errno -4058
- npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\WORK\AppData\Roaming\npm-cache_npx\14424\node_modules@api-platform\client-generator\lib\index.js'
- npm ERR! enoent This is related to npm not being able to find a file.
- npm ERR! enoent
After that i tried to generate with specific version(0.6.) and worked as always.
So i think the problem related with this new version.
How to reproduce
npx @api-platform/client-generator https://localhost:6789/api . --generator nuxt
- an error
npx @api-platform/client-generator@0.6.0 https://localhost:6789/api . --generator nuxt
- works
dunglas commented
Fixed in 0.7.2. Thanks for reporting.