Wrong Path Generation On Windows System
See original GitHub issueWe have setup .kanelrc.js something like this in our project
connection,
outputPath: "../lib/src/db/generated",
preDeleteOutputFolder: true,
preRenderHooks: [generateIndexFile],
customTypeMap: {
"public.citext": "string",
"public.uuid": "string",
"public.text[]": "string[]",
"public.citext[]": "string[]",
},
schemas: ["app_hidden"]
In the index.ts file, the generated import is very weird
I’m using Windows system and I have this issue but my colleagues use Linux systems and nothing went wrong. Any ideas how to fix this?
Thank you!
Issue Analytics
- State:
- Created a year ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
11 Ways to Fix "The System Cannot Find The Path Specified ...
11 Ways to Fix "The System Cannot Find The Path Specified" Error on Windows · 1. Run Command Prompt as an Administrator ·...
Read more >The System Registry Contains Invalid File Paths - YouTube
The System Registry Contains Invalid File Paths – Windows 10 Upgrade Error FIX.If you're encountering the error message The system registry ...
Read more >Wrong path opened when using drive letter with relative path
Issue Type: Bug. at command prompt: C:>md d:\Subfolder\Foo\bar. C:>echo TEst>d:\Subfolder\Foo\bar\File.txt. C:>cd d:\Subfolder
Read more >Naming Files, Paths, and Namespaces - Win32 apps
To learn about configuring Windows 10 to support long file paths, see Maximum Path Length Limitation. File and Directory Names. All file systems...
Read more >TEPS fixpack installation on Windows fails with 1628 Error - IBM
If short path generation is disabled, enable it, reboot then use the command... fsutil file setshortname "C:\Program Files" PROGRA~1 ...to create the ...
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 FreeTop 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
Top GitHub Comments
Okay, that sounds good!
I think I made it works now. Sorry for this, I have some pending changes related to kanel and I didn’t know it affected the process. So after I undid the changes, kanel ran fine!