Cannot use " in password during setup #1701

Closed
opened 2026-04-05 19:39:49 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @RitwickVerma on 3/17/2025

Hi, I get the following error which I believe originates from having double quotes char in password string during setup

pangolin  | > @fosrl/pangolin@0.0.0 start
pangolin  | > NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'
pangolin  | 
pangolin  | Starting migrations from version 1.0.1
pangolin  | Migrations to run: 
pangolin  | All migrations completed successfully
pangolin  | /app/server/lib/config.ts:170
pangolin  |                     throw new Error(
pangolin  |                           ^
pangolin  | 
pangolin  | 
pangolin  | Error: Error loading configuration file: bad indentation of a mapping entry (49:28)
pangolin  | 
pangolin  |  46 | users:
pangolin  |  47 |     server_admin:
pangolin  |  48 |         email: "{my_email_address}"
pangolin  |  49 |         password: "{my_password_with_"_ char}"
pangolin  | ---------------------------------^
pangolin  |  50 | 
pangolin  |  51 | flags:
pangolin  |     at loadConfig (/app/server/lib/config.ts:170:27)
pangolin  |     at Config.loadConfig (/app/server/lib/config.ts:180:27)
pangolin  |     at new Config (/app/server/lib/config.ts:159:14)
pangolin  |     at <anonymous> (/app/server/lib/config.ts:256:23)
pangolin  | 
pangolin  | Node.js v20.18.3
pangolin exited with code 1
*Originally created by @RitwickVerma on 3/17/2025* Hi, I get the following error which I believe originates from having double quotes char in password string during setup ```pangolin | pangolin | > @fosrl/pangolin@0.0.0 start pangolin | > NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs' pangolin | pangolin | Starting migrations from version 1.0.1 pangolin | Migrations to run: pangolin | All migrations completed successfully pangolin | /app/server/lib/config.ts:170 pangolin | throw new Error( pangolin | ^ pangolin | pangolin | pangolin | Error: Error loading configuration file: bad indentation of a mapping entry (49:28) pangolin | pangolin | 46 | users: pangolin | 47 | server_admin: pangolin | 48 | email: "{my_email_address}" pangolin | 49 | password: "{my_password_with_"_ char}" pangolin | ---------------------------------^ pangolin | 50 | pangolin | 51 | flags: pangolin | at loadConfig (/app/server/lib/config.ts:170:27) pangolin | at Config.loadConfig (/app/server/lib/config.ts:180:27) pangolin | at new Config (/app/server/lib/config.ts:159:14) pangolin | at <anonymous> (/app/server/lib/config.ts:256:23) pangolin | pangolin | Node.js v20.18.3 pangolin exited with code 1 ```
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1701