Linked Questions
16 questions linked to/from Setting environment variables in Linux using Bash
1
vote
2
answers
6k
views
DATABASE_URL is not set(CS50) [duplicate]
I'm working on cs50 project1 (js & python), I download the project,
and found this line in it:
engine = create_engine(os.getenv("DATABASE_URL"))
the question is how to set up the DATABASE_URL?
0
votes
0
answers
425
views
rust/cargo read env from shell and reuse them instread of explicity setting them in front of command everytime [duplicate]
I want to run a rust test with some env, like:
use std::env;
#[test]
fn test_case1() {
env::var("ENV1").unwrap();
env::var("ENV2").unwrap();
}
#[test]
fn test_case2() {
...
0
votes
0
answers
133
views
How do I set RUST_BACKTRACE=1? [duplicate]
I have a rust program that panicked with the message
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseFloatError { kind: Invalid }', src/functions.rs.inc:58:42
note: run ...
130
votes
13
answers
371k
views
Where do I set 'NODE_OPTIONS="--max-old-space-size=2048"'
When I run "npm start" in application I get the following error -
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Most of the ...
7
votes
2
answers
18k
views
Maven heap space
When I am running mvn clean install for my build on linux RHEL 6. I'm getting the following error: java.lang.outOfMemoryError heap space.
I have read all the articles on internet. On my machine I ...
3
votes
1
answer
6k
views
mvn command not found to build maven project on Linux
I am trying to build my maven project on linux and for that I do mvn clean install but it says mvn:command not found. I have also verified my maven version and its correct then how can I build.
Please ...
5
votes
3
answers
2k
views
How to uglify ES6 javascript with Flask?
I'm searching a Flask-Assets filter that allows me to uglify javascript and support ES6 syntax. I tried to use uglifyjs-es binary instead of uglifyjs but I can't figure out how to configure my filter ...
-1
votes
1
answer
6k
views
How do I set java_opts environment variables on mac?
For windows in bat file for wildfly application I was setting as
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.home=..../x/y/pathToApplication"
My requirement is to set the same in mac in shell script file. ...
0
votes
3
answers
1k
views
How to setevn bash command from python script
I am trying to do the following:
setenv PRJ_ROOT /home/to/proj_dir
setenv VAR1 /home/user/john/to/proj_dir/design_files
setenv VAR2 /home/user/john/to/proj_dir/model_files
....
....
....
setenv VARN /...
1
vote
1
answer
1k
views
Setting up Environment Variable for GCP
I read this article but I still don't understand how I have to set up the environment variable with the .json file with the credentials. Do I have to enter something in the Terminal or write something ...
0
votes
2
answers
1k
views
pip packages not available for new user
I have installed several packages as sudoer using sudo pip install package_name command. The packages are installed and work well in this user.
Afterwards, I have defined a new user. My problem is ...
0
votes
1
answer
1k
views
how can I set default editor to emacs in unix
how to make emacs as default editor in bash shell? I tried setenv EDITOR emacs. It gave me the error message "setenv: command not found".
1
vote
0
answers
276
views
Cannot find OpenMP environment variables
I have a question concerning OpenMP environment variables: When I tried to look for them with, for example:
echo $OMP_NUM_THREADS
the variable does not exist. I also try to search for all ...
-2
votes
1
answer
238
views
when i run mvn install ,there is a error
系统资源不足。
有关详细信息,请参阅以下堆栈追踪。
java.lang.OutOfMemoryError: Java heap space
at java.util.jar.Manifest$FastInputStream.(Manifest.java:315)
at java.util.jar.Manifest$FastInputStream.(...
0
votes
1
answer
97
views
It always works by default, regardless of the script being run
Default is always executed, regardless of the script being run.
Here is my code:
import { Pool } from 'pg';
import config from './../config';
const connectionString = () => {
switch (process....