-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant use node environment variables #148
Comments
hmm, i don't think this was ever actually supported! you can do if there is a case where the thanks for opening an issue, i'll look into fixing the docs. |
Thanks for the reply so this is our "npm start" script that gets ran.
That second export is setting a bunch of environment variables in a text file and for some reason clinic wont work with it. |
Can work around by using a pre-launch script and including the .env implicitly with the
|
clinicjs#132 But ths still relates to current state clinicjs/node-clinic#148 So there might be changes done to fix NODE_PATH back, for legacy projects.
clinicjs/node-clinic-doctor#132 But ths still relates to current state clinicjs/node-clinic#148 So there might be changes done to fix NODE_PATH back, for legacy projects.
* Seems this doesn't matter anymore clinicjs/node-clinic-doctor#132 But ths still relates to current state clinicjs/node-clinic#148 So there might be changes done to fix NODE_PATH back, for legacy projects. * fix CI comma * oneliner for makeInjectPath * Additional Fix after code-review. Thanks to @goto-bus-stop ! NODE_PATH works from both prospects. * Finally got rid of broken parts.
* Seems this doesn't matter anymore #132 But ths still relates to current state clinicjs/node-clinic#148 So there might be changes done to fix NODE_PATH back, for legacy projects. * fix CI comma & occasionally replaced logger path * onliner for makeInjectPath * Additional Fix after code-review. Thanks to @goto-bus-stop ! NODE_PATH works from both prospects. * Finally got rid of broken parts. * investigation checks issues * investigation checks issues 2 * reverting changes for the test
@goto-bus-stop - Seems a fix was pushed for this already? |
Expected Behavior
Should allow env to be set like it says you can in the documentation
https://clinicjs.org/documentation/cli
Current Behavior
Steps to Reproduce (for bugs)
clinic doctor -- NODE_PATH="." node index.js
Sample upload
Environment
The text was updated successfully, but these errors were encountered: