Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong Path Generation On Windows System

See original GitHub issue

We have setup .kanelrc.js something like this in our project

  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 image

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:closed
  • Created a year ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

kristiandupontcommented, Oct 19, 2022

Okay, that sounds good!

VincentLeVcommented, Oct 19, 2022

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!

Read more comments on GitHub >

github_iconTop 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 create the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found