nx-plugins
nx-plugins copied to clipboard
Configuration error at 'useDotenv': should be equal to constant
Describe the bug Configuration error at 'useDotenv': should be equal to constant
To Reproduce Steps to reproduce the behavior: "@flowaccount/nx-serverless": "^1.0.0-beta.6"
Screenshots
Check which provider is affected: [] AWS
Check which framework is affected: [] Nodejs [] Serverless [] Lambda
Additional context
There is a line in @flowaccount\nx-serverless\src\utils\serverless.js
which sets useDotenv
to false.
configurationInput.useDotenv = false;
However the only accepted value is true based on this issue
Could you try 1.1.2 and see? We already moved out of beta
I can confirm there is the same error with 1.1.2, and adding useDotenv: true
in my serverless.yml
didn't fix this, but my environment variables in my .env
are working tho