Getting a terminal error in Atom.io - atom-editor

I am getting a error in the terminal when I am running the 'Gem Dependencies'.
I am not sure how to fix this issue.
This the terminal error.
Thanks.

Remove the $ in front of your console input:
gem install compass modular-scale sass
If the error is not created by you typing this command into the PowerShell, you should contact the Atom crew.

Related

How to fix 'command rails not found' in ubuntu wsl

I am using Ubuntu on windows with wsl.
I installed zsh, it works after installation but after closing the terminal and trying to run commands like rails c it would have an error telling me
"Command 'rails' not found, but can be installed"
I have rails already installed and I have a temporary fix for this problem.
If i run exec bash then exec zsh again zsh would work as expected.
The problem occurs every time I open the terminal. How do i fix this?

I can not call riscv64-unknown-elf-gcc in archlinux

After installed the toolchain of xv6 needed on archlinux, following Tools Used in 6.S081 , I run the riscv64-unknown-elf-gcc --version, but my command line shows zsh: command not found: riscv64-unknown-elf-gcc, how can I do next?
In my archlinux, use the riscv64-linux-gnu-gcc command to compile, in macOS I use riscv64-unknown-elf-gcc, maybe try the first one, Or try typing risc and then pressing the tab key, maybe the shell will help you complete the rest of the command

Opening the atom editor from iTerm2 window is displaying - 'zsh: command not found: atom'

Just installed iTerm2 with oh-my-zsh, with atom already installed..
I have cloned a git repo of mine to use on an older laptop and for some reason oh-my-zsh is not opening my atom on the usual command.
➜ LandingPage git:(master) atom .
zsh: command not found: atom
Tried rectifying it by accessing and changing the .zshrc file but permission is denied. Anyone any suggestions?
Thanks,
Ant
As per this question/answer it looks like atom may not have created a symlink to the atom command.
This has nothing to do with zsh -- the first argument is just telling you the shell, the information after it is the error.
For example on my machine (which doesn't have atom) when running zsh and trying to open a file with atom I get zsh: command not found: atom. When I try the same command with bash, I get bash: atom: command not found.
Let me know if the above link doesn't work! Hopefully this helps.

Error when creating a Meteor project [duplicate]

I just install Meteor 1.4.1.1. on my 32 bit Ubuntu 12.04. But I haven't luck when trying to add angular templates.
Here is the error message I've got:
/home/wandyatmono/.meteor/packages/meteor-tool/.1.4.1_1.1l5666a++os.linux.x86_32+web.browser+web.cordova/mt-os.linux.x86_32/isopackets/ddp/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:165
throw error;
^
Error: ENOENT: no such file or directory, open '/tmp/mt-14c7sa8/os.json'
at Error (native)
Can somebody tell me why?!
Use this command:
meteor npm rebuild
If the issue is still un-resolved- Try this
To Quote the solution there:
Adding "54.192.225.217 warehouse.meteor.com" to my host file fixed the issue.
If your environment is Ubuntu, then open the terminal and paste
sudo -i gedit /etc/hosts Paste: "54.192.225.217 warehouse.meteor.com"
at the end of the file. save and close. Now run your app.

Getting install_pyuic5 error during PyQt5 install

I have built source files for installing PyQt5 but when I executed sudo make install, after a while, it prompts this error message:
sudo make install
.
.
.
install -m 755 -p /home/bora/Desktop/PyQt-gpl-5.4.1/pyuic5 /usr/bin/
strip /usr/bin/pyuic5
strip:/usr/bin/pyuic5: File format not recognized
make: [install_pyuic5] Error 1 (ignored)
How can I fix this problem? I am using Qt 5.4.1 and I am sure that I have properly set the path to Qt5's qmake. If I didn't, it would gave me an error during compilation of source files. Do I need to install any dependecy for PyQt5 another than SIP?
I incurred in the same problem after following this link:
https://michalcodes4life.wordpress.com/2014/03/16/pyqt5-python-3-3-in-virtualenv-on-ubuntu/, I managed to narrow the errors down to the one you're reporting.
Notice in the link where it mentions to run configure.py with the -verboseflag:
python configure.py -verbose --qmake /path/to/Qt/5.2.1/gcc_64/bin/qmake --sip-incdir=/usr/include/python3.3m
Go through the stacktrace and see if the error you reported is the only one. If that is so then ignore it as it's just a "warning" in Python parlance. In your command line enter:
import sip
import PyQt5
should give no errors.
It's not really an error, so you can safely ignore it (just as make did).
The output is coming from the strip command, which is mainly used for removing debugging symbols from binaries. However, /usr/bin/pyuic5 is a shell-script rather than a binary, and so strip cannot process that file. As a consequence, it outputs a warning message and returns a non-zero exit status. The make process sees this, but has been configured to ignore it, and so there is no fatal error.

Resources