9,650
questions
0
votes
0
answers
20
views
Error [ERR_INSPECTOR_NOT_AVAILABLE]: Inspector is not available, while using vercel/pkg and pm2 in nodejs
I have a NodeJS CLI application built using commander, I am using vercel's pkg to create executables.
Now, I starting a localserver using express on a particular command like this:-
program
....
-1
votes
1
answer
19
views
Wrapping openapi-generator inside of a node-cli?
I'm struggeling with a conceptual problem.
I'm building tooling on top of OpenAPI. For this, I'd like to create a CLI that wrapps openapi-generator.
This is an application written in Java that I want ...
0
votes
1
answer
26
views
Npm Angular Warning while installing Angular CLI
I am getting npm warnings when I am trying to install CLI via: npm install -g @angular/cli:
C:\Users\myuser>npm install -g @angular/[email protected]
npm WARN deprecated [email protected]: This module is ...
1
vote
1
answer
56
views
How to detect the Enter key when pasting multi-line text (containing `\r`)?
While developing a line editor in C++, I'm using getch() to capture each key input, and see \r(13 in ASCII) as the Enter key. However, when pasting text that contains multiple lines, the program ...
0
votes
1
answer
41
views
Using (existing) lower version of gcc for compilation instead of downgrading it
I was trying to compile AMBER (an MD simulation software) from source with CUDA support and the following error occurs:
[ 52%] Building NVCC (Device) object AmberTools/src/quick/src/libxc/...
2
votes
3
answers
102
views
Search for a string return multiple results (if found)
As the title suggests, i'm trying to search for a string, and have it return all results matching that string. Here's my code so far:
int search_contact()
{
if (chdir(getenv("HOME")) == 0)...
0
votes
1
answer
83
views
java.io.UncheckedIOException gradle version error
When I used to create a project in react native, the 8.6 grade version would come, I would get an error again, it would be fixed when I made 8.4, now it loads as 8.8 and I get this error
What went ...
0
votes
1
answer
37
views
How to enable SQLite3 cli to load an extension
I have downloaded the extension I want in sqlite3 which is spellfix and when I open sqlite3 to enable it the cli is not able to recognize the sqlite function
Not sure how to load the extension ...
0
votes
0
answers
32
views
How to add new classes for trained model YOLOV8
I want to add new classes for my model so I don't have to re-train it how can I do that? My model is of type classify YOLOV8.
I've already tried just training the model, but it didn't work.
Is it ...
1
vote
1
answer
37
views
List git branches between two merges
I have the following git branch structure
features: C D E
/ \ / \ / \
staging : --------------
\ \
release : --A-------B--
I am trying to get a list of all feature ...
0
votes
1
answer
32
views
Is there a way to delete multiple folders in Azure DevOps without having to commit it 1-by-1?
So, without cloning the repo to a local machine and deleting them there and then committing, is there a way to delete multiple folders without it prompting me to commit these changes one by one?
Haven'...
1
vote
0
answers
16
views
Infix commands with cobra-cli
For a go CLI tool that I am building with cobra-cli, I'd love to have infix commands and operators, like
myapp <arg1> to <arg2>
Where to is the command that performs a method with both ...
1
vote
2
answers
105
views
how to check if a string is a number with a built-in Library?
I tried using the isdigit function but it only works for chars. I know I can write a function that'll check every char in a string but is there an already built-in way in c
#include <cs50.h>
#...
-2
votes
0
answers
18
views
Electrum CLI - payto, individual fee is ignored
Using the lastest version of Electrum for Linux, CLI. (https://electrum.readthedocs.io/en/latest/cmdline.html)
I would like to make a new transaction where I add an individual fee, e.g.
with payto ...
0
votes
1
answer
16
views
Custom magic file database entry with negative offset
I'm currently trying to write a custom file magic entry to recognize some company specific file format.
This format, however, has it's magic bytes at the end of the file, instead of the beginning. The ...
1
vote
0
answers
46
views
Getting "Too Many Files Open" Error in C Shared Library Despite ulimit Set to Unlimited
I'm working on a C program where I've created a shared library to intercept the connect system call and route the connection through a proxy server. The code works, but after running it for a while, I ...
0
votes
1
answer
37
views
Powershell - JSON data set - Foreach() then input AWSCLI
I have a requirement to list AWS accounts then get each account contact information. For this I have used two AWS Cli queries. First one executed well as expected whereas second one ran but output not....
0
votes
0
answers
49
views
How to use EasyPHP 17 as CLI to use Composer? [closed]
I installed the latest version of EasyPHP-Devserver 17-0, I also updated Apache to 2.4.58 and php to 8.3.3, it seems everything works fine. Is it possible to use EasyPHP as CLI that I can use Composer ...
0
votes
2
answers
159
views
How can I find the logs for a failing k9s plugin load?
I am currently experimenting with k9s plugins and my current plugin configuration is failing with a pink message in the upper right hand corner saying K9S Plugin load failed!. I'm having trouble ...
-1
votes
1
answer
55
views
How to install Android emulator on macOS from CLI?
I'm trying to install the Android emulator tool from CLI on macOS 12.
So first I installed openjdk.
$ brew install openjdk
==> Downloading https://ghcr.io/v2/homebrew/core/openjdk/manifests/22.0.2
#...
0
votes
0
answers
27
views
Java 1Password CLI Integration Not working in the server
I'm integrating 1Password CLI commands in the java application. I have to authenticate to the 1Password using Add Account command. This command is an interactive command, where I have to type-in the ...
0
votes
0
answers
23
views
glab changelog generate shows "no changes", what am i doing wrong?
I am using
glab changelog generate -v 1.0.0
to attempt to generate a changelog. I have written some commits with trailers like this:
git commit -m "chore: test trailers" --trailer "...
0
votes
1
answer
20
views
AWS selected Folders Transfer between buckets
Under My AWS Cloud S3 storage account i have around 55000 folders.
We are in process to reduce the size of the storage and to do that we have to move around 40000 folders.
What i need help from you ...
0
votes
1
answer
17
views
Weird behaviour of the Inquirer package printing multiple times
I am trying to create a cli tool which downloads packages (internally uses npm) and create files. I am using inquirer to ask for user input on what database they'd like to add but the output from ...
0
votes
1
answer
28
views
Error parsing parameter '--delete': Expected: '=', received: 'EOF' for input:
Issue:
I got the following error when I was trying to delete S3 bucket object versions and markers using the CLI:
Error parsing parameter '--delete': Expected: '=', received: 'EOF' for input:
What I ...
0
votes
0
answers
40
views
git bare repository tree view like GitHub
I'm trying to view git bare repository tracked file in CLI on my local machine, similarly how they display on GitHub (or any other git hosting provider).
Example:
"Minimal", equivalent of ...
0
votes
1
answer
61
views
Piping python to file gives UnicodeEncodeError: 'charmap' codec can't encode character '...' in position ...: character maps to <undefined>
In the Windows terminal, Python 3.x printing a unicode character works fine; it correctly outputs: 📂:
python -c "print('📂')"
But piping the same command to a file:
python -c "print('�...
-1
votes
0
answers
53
views
How to replace text via PowerShell CLI using a batch variable containing regex characters [duplicate]
I want to use a PowerShell CLI within my batch file to find and replace text under certain conditions.
This is my code:
set "target=%cd%\Folder 1\Folder 2"
set "string=\+some_text=\&...
0
votes
0
answers
18
views
how to install heroku cli on termux in 2024
I am trying many thing but still getting errors thats why need help how to install cli in termux
I tried many things can't explain here all thats just need solution for install heroku cli on termux in ...
-1
votes
1
answer
40
views
DDEV: Configure auto completion for symfony based CLI tools ( fe magento )
I am trying to configure auto completion for magento CLI tool in DDEV web container.
For autocompletion I use the package: bamarni/symfony-console-autocomplete.
The package configuration (.ddev/...
0
votes
0
answers
29
views
Retrieving Business Rules from IBM WebSphere via CLI
Like the title states, I am searching for a way to retrieve Business Rules from the CLI.
I would like to make a script to automate Business Rules exports, so everything has to run through the terminal....
0
votes
1
answer
18
views
Installing my cli tool globally doesn't include other folders
I am building a cli tool and it has a folder named template which contains all the js templates required to create certain files. I install my tool globally with npm install -g.
I created a separate ...
0
votes
0
answers
12
views
How can I use the IDE’s command-line interface (CLI) to work with the IDE’s internal environment settings for my project?
Maybe the choice of some IDE's to make their CLI's not to adopt project specific variables may be on purpose, since this would force devs to use the tools provided by their IDE's instead of going ...
1
vote
1
answer
46
views
Powershell Argument was missing the terminator: "
I am having problem with powershell arg design like this
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& { $scriptContent = Get-Content -Path 'C:\path\to\your\script.ps1' -Raw; $...
0
votes
1
answer
43
views
Failed to update help in windows powershell
I am an absolute beginner to Command Line Interface and noticed this when trying to update the help (I'm following Learn Enough Command Line to Be Dangerous, which I suppose is for Linux and I am ...
0
votes
1
answer
21
views
An error occurred (AuthFailure) when calling the DescribeAvailabilityZones operation: AWS was not able to validate the provided access credentials
We have followed these steps many times but again error is coming:
Go to your .aws directory under Users e.g. c:\Users\Joe.aws
Two files: configure and credential. Delete both files
Rerun configure: ...
0
votes
0
answers
11
views
AWS BASH Script to add a specific permission policy on instance profile of all EC2 instances in an organization
I am new to AWS Bash Scripting, and working currently on a task that needs to -
Go through all OUs
Go through all accounts in each of the OUs
Go through all EC2 instances in each of the accounts
...
0
votes
0
answers
28
views
How to fix error when using Supabase CLI while pushing to remote DB?
I am using the Supabase CLI to develop locally. I did some changes to my local db, using the local supabase GUI. Now I want to push those changes to the remote supabase db . First, I run supabase db ...
1
vote
1
answer
30
views
Typescript React Native Image Picker double-tap issue (non expo)
So, there's some good news and some bad news.
The good news is that the code below works.
The bad news is that I have to pick the image twice before it displays client-side.
Import code: import {...
0
votes
0
answers
43
views
Angular build failing on Jenkins saying angular cli requires minimum node js version of v14.20,v16.13 or v18.10. Although the build passes locally
I have migrated to angular 15. And I have node version 16 installed on my local system (laptop). When I run the build locally it passes(npm run build --prod), but when I trigger it on Jenkins it fails ...
0
votes
0
answers
11
views
Python script for automate access to MongoDB Atlas CLI
I would like to write a Python script so a generic user can access his database and execute CRUD operations from his terminal. I am going through the official documentation, but I am a bit lost. Can ...
-1
votes
1
answer
28
views
Looking for a CLI utility that converts dotnet framework assembly to a dotnet standard assembly
I have a set of trivial DotNet framework assemblies ("dlls") that I wish to convert to dotnet stanard 2.0.
By "trivial" I mean that they contain Enum definitions and trivial ...
-1
votes
2
answers
48
views
VSCode CLI in bash script while loop to open multiple files [duplicate]
I'm trying to use VSCode cli code in a while loop in a Bash script to open a number of files, the names of which I'm reading from a text file.
When I run the code below, it opens a file correctly for ...
0
votes
0
answers
27
views
How can I get all inputs except subcommand with the Clap?
Here is my code.
#[derive(Parser)]
#[command(subcommand_precedence_over_arg = true)]
pub struct Cli {
#[arg(global = true)]
pub input: Option<Vec<String>>,
#[command(subcommand)...
0
votes
0
answers
27
views
not able to install angular cli on command prompt
I used the command npm install -g @angular/cli on the command prompt to install Angular CLI, but it just keeps loading for a very long time and is not getting installed. Can anyone help me with this?
...
1
vote
0
answers
29
views
Transaction response has not been received - when publishing DIDs using Indy-cli
I am deploying three nodes of indy-node deployed in 3 different machines, when I deploy them, they normally work fine and I can publish and get DIDs from the DLT doing something like:
indy> ...
0
votes
0
answers
16
views
CLI command to query information from the last 24 hours from IBM DataPower Operational Dashboard (DPOD)
I would like to get information from the last 24 hours from DPOD through the CLI. Specifically, I need the numbers for request size, successful transactions, errors, domain request size, domain ...
0
votes
0
answers
26
views
Unable to get 'IsPrimaryIpv6' field from "ec2-describe-network-interfaces" method in AWS CLI
I need to detach IPv6 addresses from one interface to attach to another, and since one of these addresses is the primary IPv6, I get the error message that I can't detach a primary address. However, ...
0
votes
0
answers
64
views
Ubuntu 24.04 Dotnet CLI core dump on .Net Core 3.1
I was following this tutorial from Digital Ocean about how to deploy a ASP .Net Core app with MySQL using Nginx on Ubuntu 24.04.
I've set up MySQL and Nginx successfully however I had a problem ...
0
votes
0
answers
17
views
Python CLI commands compiled into script [duplicate]
Is there a simple way of converting the sequence of commands I ran in the Python CLI session into a script?
I use CLI to create logic before actually writing the script. I use CLI to avoid repetitive ...