Questions tagged [windows-10]

Windows 10 is the latest version of Microsoft's operating system, blending elements from both Windows 7 and 8.1 to create a seamless experience for users. This tag is specifically reserved for inquiries about programming on Windows 10; any non-programming software issues should be directed to Newtab Q&A.

Issue with running 'npm install' on Windows 10 due to error ECONNRESET

Just recently, I upgraded to the latest version of nodejs (6.3.1) and npm version 3.10.3. Unfortunately, I am facing a problem where I cannot install any node package using the npm install command. Initially, I suspected it could be due to my office networ ...

Updating npm on WSL 2 Ubuntu: Step-by-step guide

I am currently facing an issue with updating my npm version in the Windows Subsystem for Linux on my Windows 10 operating system. The current npm version running is 3.5.2 and I'm aiming to update it to the latest version available. The command I have ...

Unable to proceed with installation due to a ProtocolError message stating, "Connection aborted" along with a PermissionError of code 13, indicating that the process was denied permission

While attempting to use pip to install numpy or another package, I encountered the following error: PS C:\Users\giuse> pip install numpy WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection b ...

Access the folder in Command Prompt along with the directory of the present folder

Whenever I click on the "Open in Command Prompt" option within Visual Studio Code for the selected folder (C:playground g2app), it should open up in the command line. However, when I check the path in the command prompt, it only displays C:. Here is ...

Python os.system() function yielding incorrect result

In my current project, I am utilizing a Python script that utilizes the os.system() function to repeatedly call a command line program for running test cases. The program in question returns zero for typical operation and a negative value for error situati ...

Guide on Importing mongodb dump files(bson+json) in a Windows system

I recently exported MongoDB dump files from my CentOS7 server in both .bson and .json formats. Now, I am trying to import them into my MongoDB on Windows 10. Despite setting an environment variable with the name "mongorestore" and value ".../mongorestore ...

Customizing the main icon in the Windows 10 Action Center through a notification from Microsoft Edge

I am facing an issue with setting the top icon of a notification sent from a website in Microsoft Edge. Let's consider this code as an example: Notification.requestPermission(function (permission) { if (permission == "granted") { new ...

What can be done if the npm live-server command does not work when using Git Bash and trying to exit with (^C)?

The key combination ^C for stopping the npm live-server command does not work on Git Bash in Windows 10: https://i.stack.imgur.com/V8FQ7.jpg ...

Guide to making a batch file in Windows 10 that opens a Node app stored locally

I am working on creating a .bat file to run two separate applications locally on my Windows 10 operating system - a React app and the Strapi service it depends on. Here is what I have tried so far: echo Starting React C:WindowsSystem32cmd.exe /k " ...

When I try to run npm run build in a Vagrant environment on Windows 10, I receive an error message saying "rimraf: not found"

I am attempting to run a webpack project in Vagrant (on Windows 10) with an embedded Ubuntu 16.04 virtual machine. Successfully installed npm 5.6.0 and nodejs v8.9.4. After running npm install for dependencies, encountered the following errors : ... gyp ...

The npm module will not run if the file does not exist, even though it is present

Currently using Windows 10 with git bash. I have encountered an issue while trying to execute the webdriver io npm module. Even though it is installed on my system, I keep getting an error stating that the file does not exist. Strangely, I don't seem to h ...

Installation of electron was unsuccessful due to the inability to establish a tunneling socket

I'm currently in the process of setting up Electron on my Windows 10 system by executing these commands: - git clone https://github.com/electron/electron-quick-start - cd electron-quick-start - npm install - npm start Environment variables have already b ...

Encountering a Node-gyp Issue while using Windows 10

I've set up a repository at https://github.com/maximusnikulin/react-gulp-boilerplate After cloning it to my local disk, I run npm install to install all the necessary packages. While this process runs smoothly on Windows 7, I encounter an error on Window ...

Having trouble setting up create-react-app on my Windows 10 machine

Struggling with installing create-react-app on my Windows 10 operating system. I've meticulously followed the given steps, however, the installation process seems to never-ending and eventually comes to a halt. Here's a breakdown of the steps I t ...

NPM encounters issues when attempting to install type definitions

Encountering an issue with npm install failing to install @types has left me puzzled. The command below functions correctly: npm install --save lodash However, trying to install types results in errors: npm install --save @types/lodash PS C:\Deve ...

Encountering EPIPE error in Webpack Build on Linux Subsystem Only

When running Webpack from the command line using the Windows version of installed node/yarn, my project compiles perfectly fine. However, if I attempt to do a Webpack build from the Linux subsystem, it breaks with the following error: events.js:167 ...

Utilizing Aldryn cloud on a Windows 10 system with the integration of Hyper-V and the Beta version 1.12 rc2 of Docker

Looking for help setting up Aldryn Cloud Solution on Windows 10 with the latest Docker beta and Hyper-V. When running the command docker-compose -f C:\Users\Me\project\docker-compose-windows.yml build, I encountered errors related to np ...

How can I convert the stylesheet link from fonts.google.com into a CSS class and include it in my file.css as an internal style instead of an external one?

Looking to incorporate a font from fonts.google.com? Here's how you can do it: <link rel="preconnect" href="https://fonts.gstatic.com"> <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400& ...

I am encountering issues with Selenium not functioning properly on Windows 10 when using the syntax driver.findElement(By.cssSelector

I'm encountering problems with the CSS selector while using Selenium on Windows 10. It appears that the tag is incorrect. How can I resolve this issue? import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.By ...