You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Freshly installed foreman with npm i -g foreman, mentioned error happens when I try to start it.
❯ nf -V
3.0.1
nf start
/usr/local/lib/node_modules/foreman/lib/envs.js:44
case '"': return /^"([^"]*)"/.exec(val)[1];
^
TypeError: Cannot read property '1' of null
at parseValue (/usr/local/lib/node_modules/foreman/lib/envs.js:44:46)
at capturePair (/usr/local/lib/node_modules/foreman/lib/envs.js:39:16)
at Array.forEach (<anonymous>)
at keyValue (/usr/local/lib/node_modules/foreman/lib/envs.js:27:6)
at loadEnvsFile (/usr/local/lib/node_modules/foreman/lib/envs.js:138:13)
at Array.map (<anonymous>)
at loadEnvs (/usr/local/lib/node_modules/foreman/lib/envs.js:147:30)
at Command.<anonymous> (/usr/local/lib/node_modules/foreman/nf.js:72:16)
at Command.listener (/usr/local/lib/node_modules/foreman/node_modules/commander/index.js:315:8)
at Command.emit (events.js:182:13)
❯ node -v && npm -v
v10.15.0
6.4.1
❯ cat Procfile
web: npm run start:web
to-process-jobs: npm run start:to-process-jobs
to-schedule: npm run start:to-schedule
release: npm run migrate
I think it has something to do with my .env file having multi-line value for one of the variables (RSA key)
The text was updated successfully, but these errors were encountered:
If anyone else sees this, I was running into this error until I removed the RSA key from my environment variables so it likely is something to do with .env file having multi-line values. Thanks!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Freshly installed foreman with
npm i -g foreman
, mentioned error happens when I try to start it.I think it has something to do with my .env file having multi-line value for one of the variables (RSA key)
The text was updated successfully, but these errors were encountered: