Questions tagged [cmd]

The Command Prompt, also known as cmd.exe, is a command line interpreter provided by Microsoft for OS/2, Windows CE, and all versions of the Microsoft Windows operating system. This tag is meant for inquiries about programming scripts or commands that can be executed from the Command Prompt. Please include tags specifying the version of Windows you are using, as well as tags detailing the specific task or problem at hand.

Launch the dev server in React

Begin by cloning the git code in React. Next, make sure to install npm package manager. Encountered Problem: I am facing an issue with running the dev-server. I have tried the following command in the cmd prompt: 1. npm run dev-server "Here is a sample ...

Batch files in PATH require a .bat extension to be executed in Windows Server 2012, CMD, and Anaconda CMD

My system is running on Windows Server 2012. I recently installed Anaconda on my machines, and it has automatically added the necessary paths to the PATH variable: C:\Users\user1\tools\Anaconda3;C:\Users\user1\tools&bso ...

The symbol `'.'` is giving a error message of not being recognized as an internal or external command, operable program, or batch file when using React

Attempting to initiate a project from gitlab, I encountered an error when running npm start: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="add9dec880cbdfc2c3d9ed9d839c839d">[email protected]</a> start npm run re ...

Obtaining Font Information using Node.js

Is there a way to retrieve the Description section of a font's properties, as seen when you right-click on the file? https://i.stack.imgur.com/rwnLw.png I am specifically looking for details related to the Title attribute. I tried using the get-file-pro ...

Transform your cURL command to cURL PHP code equivalent

I am new to cURL and AJAX. I have been trying to learn on my own, but I am struggling to figure out how to convert a cURL CMD script into a cURL PHP script. Below is my cURL CMD script: curl 'https://example.url' ^ -H 'authority: example.url' ^ -H 'ac ...

Unable to locate the specified path in create-react-native-app

Has anyone encountered the error "the system cannot find the path specified" while trying to run the command create-react-native-app my-app? I am using node 8.9.1 and npm 5.5.1. Interestingly, create-react-app works perfectly fine with all other npm comm ...

Expanding your npm knowledge: retrieve additional items

When trying to find out the versions of my packages, I utilize the following command. npm view <packagename> versions The output includes versions like: '2.4.0-2016-10-06-6743', '2.4.0-2016-10-07-6750', '2.4.0-2016-10-07- ...

Having trouble installing "npm install react-youtube"? (ERROR)

When attempting to install "react-youtube" using the command "npm install react-youtube," I encountered various errors. Unfortunately, I am unsure of their origin or how to resolve them. Could someone please provide guidance on resolving these installatio ...

steps to execute a python script using a Batch file

Hello, I have a query about running a Python script in a Batch file. I have a setup file for my Flask app that requires setting up some environment variables and running app.py each time. While I have created a setup for this process, I am unsure of how ...

Node 18 is having trouble locating NPM and is unable to locate the module './es6/validate-engines.js'

Previously, I attempted to install Node.js without any issues. However, this time around, I am encountering difficulties accessing the npm package. While I can successfully retrieve the version of Node.js after installation, attempting to check npm -v or w ...

The code encountered an error because it tried to access the property 'isServer' from an undefined value

I encountered an error when attempting to run yarn install in my project folder. yarn install v1.22.15 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... error An unexpected error occurred: "https://registry.y ...

What is the best way to insert a newline in a shell_exec command in PHP

I need assistance with executing a node.js file using PHP. My goal is to achieve the following in PHP: C:proj> node main.js text="This is some text. >> some more text in next line" This is my PHP script: shell_exec('node C:\pr ...

The repeated issue persists both when upgrading `pip` and when attempting to install a library

While attempting to install python libraries using pip, I first used the command: pip install matplotlib This was the output Following that, I tried: python -m pip install --upgrade pip' I also came across this code on a website: im ...

"Exploring the concepts of object inheritance and utilizing nested commands

Seeking help with nested console menus and object sharing: Here's a simplified scenario: import cmd class MainConsole(cmd.Cmd): def __init__(self,obj1,obj2): cmd.Cmd.__init__(self) self.prompt = ">" self.obj1 = obj1 # ...

Having trouble creating a custom .exe file using express.js on Windows platform

When a user uploads an image from their phone, I use node.js/express.js on Windows to run myApp.exe for openCV image processing. The output images are saved to a specified directory as an argument in the command below. Executing this command through child ...

Encountering issues launching cmd.exe using ProcessStartInfo

Web.config: <appSettings> <add key="MystemDirectory" value="D:mystem"/> </appSettings> Controller: if (flag) { db.FbDocuments.Add(fbDocument); db.SaveChanges(); var workingPath = WebConfigurationManager.AppSettings[ ...