To address this issue, it is necessary to explicitly include the argument (-p value --platform=value) when executing the command. This argument is mandatory unless the --config-name argument is specified (in which case this argument cannot be specified).
The command now would be something like below
./config.sh export-service-config --capability=WEB_PLAYER --deployment-area=Production --platform=LINUX --force
You can verify whether you have exported the correct configuration for your operating system by checking the target framework specified in the module.xml file(C:\spotfire\spotfireserver\14.0.1\tomcat\spotfire-bin\config).
For Linux OS, the target framework should be NETCORE, not NETFRAMEWORK.
<targetFramework>NETCORE</targetFramework>