Questions tagged [git-bash]

The Git Bash shell is included with the Windows version of Git, allowing users to access and utilize Git directly from the command line interface.

Update NPM automatically in Bash/GitBash only when a newer version is detected

Is there a way to automatically check for the availability of a new stable version of NPM online without manually opening a browser? If a newer version is found and it's greater than what I currently have installed globally, then I want to run the command ...

Ways to avoid slash expansion in custom arguments for NPM?

For my application's build process, I have the following setup: "scripts": { ... "build": "ng build --prod", ... In order to set the base href for my project, I include this in my Bash script: npm run build -- --base-href "/mydir/" However, ...

The application unexpectedly stopped running while using nodemon

Recently, I've been having trouble running a nodejs application in debug mode using Git Bash. While I've done it successfully several times before, the most recent attempts have not been working. When I enter the command: npm run startwindows:i ...

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 ...

The npm script fails to properly start the karma test

Utilizing parcel for project building on a Windows system, I integrated karma as my test runner. My expectation was that any changes made to the source code would trigger Parcel to rebuild the project and Karma to execute the tests. To achieve this, I adde ...

Issue encountered: Module 'jasmine-expect' not found [Protractor]

I am facing an issue while trying to execute a protractor test that connects to my application. Upon running the command (git bash/terminal): protractor conf.js An error is displayed as follows: " Error: Cannot find module 'jasmine-expect&apo ...

Issues with running Vue commands have been reported in Git-Bash, however they seem to work fine in

Whenever I check the version of Vue in my Terminus bash by running vue --version, here's the output I receive: $ vue -v /bin/sh: /Users/kirkb/AppData/Local/Yarn/bin/../Data/global/node_modules/.bin/vue: No such file or directory In PowerShell, when I exec ...

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 ...

When using npm nodemon and npm colors together, unfortunately the colors are not displaying properly alongside nodemon

Can anyone provide guidance on how to use 'nodemon' to display console colors using the npm 'colors' package? Is this even feasible? I just learned today about the 'colors' package, which allows me to output colorful strings in the console, making things ...

What steps can I take to resolve the ERR_SSL_CIPHER_OPERATION_FAILED error while running an npm command in Git Bash?

Whenever I try to run npm create-react-app my-app or any npm command in gitbash console, I encounter the following error message: npm ERR! code ERR_SSL_CIPHER_OPERATION_FAILED npm ERR! BC0D0000:error:1C800066:Provider routines:ossl_gcm_stream_update:cipher ...

Encountering problems while attempting to npm install on Windows with Git Bash for Angular.io's quick start tutorial

I am attempting to perform an npm install on windows for the Angular.io quick start, available at: https://angular.io/docs/ts/latest/guide/setup.html However, I encountered a git bash error after cloning the repository: shasum check failed for... This i ...

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- ...

Utilize Git bash to set up the YoastSEO.js repository from Github for installation

I'm having some trouble installing Yoast.js using Git bash and Github. I am currently in the process of installing Yoast.js from its Github repository. After attempting to open the example page located in YoastSEO.jsexamplesrowserifiedindex.html, I no ...

Tips for successfully passing an argument to an npm script while including a leading slash

Within my package.json file, I have defined some scripts: "scripts": { "build": "webpack-cli --mode production", "build:dev": "webpack-cli --mode development", } I am trying to pass an additional ...

React dependency installation problem encountered

npm install axios moment react-file-base 64 redux redux-thunk npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! A complete log of this run can be found in: C:Usersapa10AppDataL ...