Upgrading to Orval 6.5 breaks generation
See original GitHub issueWhat are the steps to reproduce this issue?
- Install Orval 6.4 and generate
- Upgrade to 6.5
What happens?
The generation breaks
What were you expecting to happen?
The generation works as before - e.g. no breaking change from 6.4 to 6.5
Any logs, error output, etc?
🍻 Start orval v6.5.1 - A swagger client generator for typescript
> request.ts:1:40: error: [plugin: replace-import-meta] ENOENT: no such file or directory, open 'C:\mypath\typesaxios.ts'
1 │ import Axios, {AxiosRequestConfig} from 'axios';
╵ ~~~~~~~
../../node_modules/orval/dist/chunk-RFHR4BKT.js:4:5855: note: This error came from the "onLoad" callback registered here
4 │ ...},{name:"replace-import-meta",setup(i){i.onLoad({filter:/\.[jt]s$/},async c=>{let p=awa...
╵ ~~~~~~
at setup (C:\mypath\node_modules\orval\dist\chunk-RFHR4BKT.js:4:5856)
at handlePlugins (C:\mypath\node_modules\orval\node_modules\esbuild\lib\main.js:756:23)
at Object.buildOrServe (C:\mypath\node_modules\orval\node_modules\esbuild\lib\main.js:1044:7)
at C:\mypath\node_modules\orval\node_modules\esbuild\lib\main.js:1895:17
at new Promise (<anonymous>)
at Object.build (C:\mypath\node_modules\orval\node_modules\esbuild\lib\main.js:1894:14)
at build (C:\mypath\node_modules\orval\node_modules\esbuild\lib\main.js:1749:51)
at Qi (C:\mypath\node_modules\orval\dist\chunk-RFHR4BKT.js:4:4794)
at ut (C:\mypath\node_modules\orval\dist\chunk-RFHR4BKT.js:4:4497)
vs.
🍻 Start orval v6.4.3 - A swagger client generator for typescript
Your mutator cannot be loaded so default setup has been applied => C:/mypath/request.ts
🎉 browser - Your OpenAPI spec has been converted into ready to use orval!
Any other comments?
…
What versions are you using?
Operating System: Windows 10 Package Version: 6.5.1
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (4 by maintainers)
Top Results From Across the Web
orval@6.3.0 - list of HIGH security vulnerabilities (CVEs) · Issue ...
I've run a security vulnerability scan against orval@6.3.0 (using Black Duck software) and it ... Upgrade from 6.5.3 to 6.6.0 breaks generation #320....
Read more >Untitled
Gs 11 step 10 to gs 12, Bentley turbo r turbo upgrade, Emma jones final, ... Okp serang polisi di medan, Bob beauprez,...
Read more >KDJ - River Thames Conditions - Environment Agency - GOV.UK
The broken arm restaurant paris, Cr250r, Nativity play children. ... Thiruvila song, Young generation magazine, Windows 8 support timeline! Weilings!
Read more >Improving Fan System Performance - A Sourcebook for Industry
Upgrading to a new motor can reduce operating costs, because of improved motor efficiency, while offering slightly improved fan performance. EPAct-.
Read more >Trademark Fine Art 'Orval 2' Canvas Art by Vintage Apple ...
Product Type · Gallery-Wrapped Canvas Art ; Country of Origin - Textiles. USA ; Brand. Trademark Fine Art ; Size. 12 x 24...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
fixed will be in the next version
fixed with
6.6.1