There was an error initializing DB SQLite package has not been found installed

Hey, I have been wanting to use n8n and since i was trying to automate a lot of thigns regarding exel i thoght it would be best to use Winodws for hosting n8n. But whenever I try to run n8n the follwoing happens:
C:\Users\Henri>n8n
Initializing n8n process
There was an error initializing DB
SQLite package has not been found installed. Try to install it: npm install sqlite3 --save

this is what i get when trying to start n8n.

Also i get this error when using npm -v

C:\Users\Henri>npm -v
‘CALL “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-prefix.js”’ is not recognized as an internal or external command,
operable program or batch file.
10.8.2

I tried various diffrent versions of Node, i also tried reinstalling Node and npm and n8n several times, dont really know what to do.

Hey @Henri_Schockemohle !

Did you tried to use “n8n” command inside the ‘.n8n’ folder?(there is the sqlite db file as well situated).

If you Don t set the path accordingly, it may be confusing with the windows.

So, install again n8n, then go in the .n8n folder, and use n8n command.

Hey, Thank you for the reply. Sadly that didnt fix the error.
I tried this path:
C:\Users\Henri\AppData\Roaming\npm\node_modules\n8n

I also tried this one, I think that was the one you were refferring to right?

C:\Users\Henri.n8n

You have to execute the ‘n8n start’ command , inside the .n8n folder(pay attention to the dot . sign before the n8n folder.

thats exactly what I did