Quantcast
Channel: Active questions tagged config - Stack Overflow
Browsing all 5049 articles
Browse latest View live
↧

How can I invoke initialization code from each call site of a function before...

I want to have a key-value config parameter system in my large application. I want to optimize the simplicity of introducing new config parameters.But I need to be able to know the complete set of all...

View Article


Running vite build using tsconfig.build.ts

QuestionIs there a way to specify which tsconfig file to use when running the vite build command?ProblemI am building a component library with Vite and TypeScript. My test suite is running the new...

View Article


Why does this error appear when i try to run my react app?

I am trying to run my react app and i keep getting this error :configFactory is not a functionnpm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! purple-react-free@1.1.0 start: react-scripts startnpm ERR!...

View Article

Can an ~/.ssh/config file use variables?

I am writing an SSH config file and want to perform a bit of logic. For example:Host myhost1 ProxyCommand ssh -A {choose randomly between [bastion_host1] and [bastion_host2]} -W %h:%pIs it possible to...

View Article

What is this unknown markup/config format exported from Metaswitch, formatted...

I've been handed a configuration file from a Metaswitch system, and I need to transform it into an object (preferably with Python) and do some processing on the data. It seems to be some kind of markup...

View Article


How can I maintain my_own Kernel default config?

I am trying to maintain my own Kernel default config in a separate directory.For example, I want to make my_config under /linux-5.15.95 and keep my own Kernel default config file in the directory.But...

View Article

How to set an alias of a command and it's argument in Windows Powershell?

I am on a Windows 11 machine (Powershell v5.1) and I am trying to alias the rust rewrite of coreutils to appropriate commands in powershell. For example, I need to call coreutils echo to access the...

View Article

Where is the global git config data stored?

When using git config --global to set things up, to which file will it write?Example:git config --global core.editor "blah"I can't find it at these places:C:\Program...

View Article


Eslint expected indentation of 1 tab but found 4 spaces error

I am using VScode with latest version of Eslint. It is my first time using a linter. I keep getting this linting error when using a tab as indentation: severity: 'Error'message: 'Expected indentation...

View Article


why using copy two times in dockerfile?

I am trying to create a Dockerfile, then run with docker-compose.ymlI have my Dockerfile as belowFROM node:12WORKDIR /usr/src/appCOPY ["package*.json", "./"]RUN yarn installCOPY . .CMD yarn developit...

View Article

How can I break the link of git config .insteadOf

I set my url to other url with git config .insteadOf , and now I want to break the link of it. But I don't know how to do that and I can't find it at the reference page.

View Article

Python dataclass does not understand that yaml configuration setting is a...

I want to create a python dataclass to hold program settings (e.g., file Paths) read from a yaml configuration file.The issue is that my dataclass (Config) declares a ROOT_PATH field having a type of...

View Article

My notebook cells are getting automatically overwrited by "Outputs are...

I use jupyternotebook inside VScode, and that is happening:When I scroll up until the cell disappears and then scroll down again to the cell, it has the stdout mixed with the message "Outputs are...

View Article


Get frequent chrome driver error: driver config / start failed: chrome server...

I used to get frequent chrome driver error in karate UI tests. I have been using karate tests in VS code for the past 5 months. Now, I used to get driver config / start failed: chrome server returned...

View Article

Detekt setting for exclude is ignored

How can I exclude the sample folder from the following rules? with this configuration it is not working and detekt keeps parsing the sample folderUndocumentedPublicClass: active: true excludes:...

View Article


Using environment variables with clap

If I have a clap config set something like this:use clap::{Parse, Clap};#[derive(Clap)]struct Person { #[clap(long, env = "NAME")] /// The name to use name: Option<String>, #[clap(long, env =...

View Article

Troubles uninstalling oh-my-zsh?

I'm on OSX and want to switch back to my original zsh config from oh-my-zsh, however when I run the uninstall script it gives me an error:$ sudo uninstall oh-my-zsh>> Preparing Uninstall......

View Article


RuntimeError: Java gateway process exited before sending its port number -...

I'm experiencing issues with creating a SparkSession, namely I get "RuntimeError: Java gateway process exited before sending its port number" error.Here's the snippet I use:spark = SparkSession.builder...

View Article

Installing nextcloud on nginx, getting error 500

I'm following the instructions to install Nextcloud on an nginx server.I copy the configuration from the offical documentation, i set my server name and my ssl certificate path, and when i try to reach...

View Article

How can you set a string array to an enum via config?

In .net core configuration you cap use config options, which maps a section in the config to an object. For Kestrel this seems to happen automatically. The bit I'm interested particularly is the...

View Article
Browsing all 5049 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>