Category "terminal"

How to setup react properly

I have been following the react setup instructions on codecademy: When I type in "npm run build" into the terminal I get this error: I can't seem to figure out

dotnet --version gives "the folder [/usr/local/share/dotnet/host/fxr] does not contain any version-numbered child folders"

When I run dotnet --version in Terminal on my Mac it gives an error: A fatal error occurred, the folder [/usr/local/share/dotnet/host/fxr] does not contain any

adb command not found

I need to run an adb forward command before I could use the ezkeyboard application which allows user to type on the phone using browser. When I run adb forwar

`npm install` fails on node-gyp rebuild with `gyp: No Xcode or CLT version detected!`

Every time I try npm install. I get the following error. How do I fix it? gyp: No Xcode or CLT version detected! I am on node -v → v8.8.0 & npm -v &ra

How is the UI of terminal texteditors implemented?

Terminal texteditors like emacs,vim,joe or even nano have the ability to display arbitrary UI elements inside a command line without completely rewriting the wh

React Native - FBReactNativeSpec Command PhaseScriptExecution failed with a nonzero exit code

I am using a MacBook Pro with M1 chip MacOS Big Sur Xcode Version 13.2.1 node v14.17.5 I wanted to follow this tutorial to set up a new React Native project cal

-bash: /Users/myname/.bash_profile: Permission denied

I installed rvm (ruby version manager) and it was success, but I got WARNING: You have '~/.profile' file, you might want to load it, to do that add the fo

Running gdb on xv6-riscv-fall19

So I follow the commands on the website. I open one windows and I used the command: sudo make qemu-gdb. And it asked me to use another terminal to start gdb.

Can not run Elastic Search on ubuntu (Error opening log file)

I have problems with running Elastic Search on my ubuntu 20.04 server (I can do it locally). When I run ./bin/elasticsearch in terminal I get lines below Excep

history -a vs -w in BASH. How to replace/append and ignore/erase duplicates?

I'm writing my PROMPT_COMMAND="history -a;$PROMPT_COMMAND" but I still get some duplicates from different terminal sessions. It seems I still will get some dupl

-bash: emacs: command not found (after updating mac to CATALINA)

After updating my mac to CATALINA, I have been dealing with some issues, and one of them is the fact that I can't open EMACS on the terminal: -bash: emacs:

Why "Watchman crawl failed" error in react-native immediately after updating to macOS catalina?

Trying to run react-native run-ios or build RN project from xcode, as soon as metro bundler starts, this error appears in the terminal: Loading dependency grap

Mac Terminal Sending Email With Attachment

I'm trying to make a bash script that will send an email to all contacts which will contain a message and an attachment. This is not for malicious purposes. Ho

How to Save PyCharm Embedded Terminal Tabs?

Is there a way to save the Embedded Tabs so each time you open PyCharm you don't have to reconfigure the tab names? It seems like such a simple issue to have bu

Setting environment variables osx 12.0.1

I need some help to set environment variables on osX 12.0.1. I tried to edit .bash_profile (it doesnt exist), .zprofile and also a pllist approach. What irritat

android enable disable bluetooth via command line

I am trying to enable disable bluetooth on android device using command line. I can enable it using adb shell am start -a android.bluetooth.adapter.action.RE

Factory reset mac terminal

Looks like I've messed up my terminal really badly. Im trying simple commands like ls, cd but I get: -bash: ls: command not found No brew commands are found ei

Lost dollar signs in terminal on Mac OSX

I was messing around in the terminal on my mac with virtualenv but now I lost the dollar signs on the command line! Does anybody know what this means and how

How to avoid terminal to catch error instead of Symfony profiler

[edited on 19th june] The question is not regarding the content of the logs, but why logs doesn't not appear in my symfony profiler My symfony profiler doesn't