I have these two node.js command line commands:
$ NODE_ENV=dev_local npm start --fp data_for_testing/csvfile.csv --mptp map_ivr_itg
$ NODE_ENV=dev_local node start_script --fp data_for_testing/csvfile.csv --mptp map_ivr_itg
I am using nconf the command line and environment variable parser for node.js.
The problem is the command line arguments --fp and --mptp seem to disappear when using npm start.

Furthermore, as an aside, does any program interpret --fp as a force flag, as NPM is warning?
Your command line flags (e.g.,
--fp) are being sent tonpmand not the script that results from runningnpm start. To send them to the resulting script as arguments, first send--by itself as an argument. That indicates that the remaining arguments are for the resulting script and not fornpmitself.