I'm looking for a guide to installing Meteor, including NodeJS and MongoDB, on Raspbian. I have seen a couple of online articles, however, they are 3-4 years old.
Found the answer and posting it here for others who may have the same question.
Part of these instructions are from:
https://github.com/4commerce-technologies-AG/meteor
Install meteor for ARM processors on Raspbian:
cd $HOME
git clone --depth 1 https://github.com/4commerce-technologies-AG/meteor.git
$HOME/meteor/meteor --version
Create a symlink
cd /usr/bin
sudo ln -s $HOME/meteor/meteor meteor
Test your install
cd $HOME
meteor create hello-world
cd hello-world
meteor
Open your browser to http://localhost:3000 to see the app working.
Related
I have tried to install dotnet core, but it does not worked. So, I would like to uninstall it and start refresh. How can I uninstall dotnet core from macOS Sierra(10.12.3).
you can find below, existing dotnet core info on the system
/usr/local/share/dotnet/sdk$ ls -la
total 0
drwxr-xr-x 4 root wheel 136 May 20 18:28 .
drwxr-xr-x 10 root wheel 340 May 20 20:44 ..
drwxr-xr-x 142 root wheel 4828 May 20 20:44 1.0.4
drwxr-xr-x 121 root wheel 4114 May 9 23:04 2.0.0-preview1-005977
/usr/local/share/dotnet/sdk$ sudo find / -name dotnet
find: /dev/fd/sdk: No such file or directory
find: /dev/fd/sdk: No such file or directory
/private/etc/paths.d/dotnet
/Users/melihtt/.dotnet/NuGetFallbackFolder/microsoft.codeanalysis.analyzers/1.1.0/analyzers/dotnet
/Users/melihtt/.dotnet/optimizationdata/2.0.0-preview1-005977/osx.10.12-x64/dotnet
/usr/local/share/dotnet
/usr/local/share/dotnet/dotnet
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.0.5/dotnet
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.1.2/dotnet
To uninstall dotnet core from macOS:
download dotnet-uninstall-pkgs.sh from https://github.com/dotnet/sdk/blob/main/scripts/obtain/uninstall/dotnet-uninstall-pkgs.sh
make dotnet-uninstall-pkgs.sh executable
execute dotnet-uninstall-pkgs.sh as root (requires superuser privileges to run).
curl -O https://raw.githubusercontent.com/dotnet/sdk/main/scripts/obtain/uninstall/dotnet-uninstall-pkgs.sh
chmod u+x dotnet-uninstall-pkgs.sh
sudo ./dotnet-uninstall-pkgs.sh
If you are using the M1 Mac
Confirm your cpu architecture
ls /usr/local/share/dotnet/
This may be x64 or x86. Set a variable to store the cpu arch
arch="x64"
Confirm your dotnet version
dotnet --version
Set a variable to store the version
version="5.0.403"
Run the following commands
sudo rm -rf /usr/local/share/dotnet/$arch/sdk/$version
sudo rm -rf /usr/local/share/dotnet/$arch/shared/Microsoft.NETCore.App/$version
sudo rm -rf /usr/local/share/dotnet/$arch/shared/Microsoft.AspNetCore.All/$version
sudo rm -rf /usr/local/share/dotnet/$arch/shared/Microsoft.AspNetCore.App/$version
sudo rm -rf /usr/local/share/dotnet/$arch/host/fxr/$version
Some of the above folders may not exist but that is fine. Confirm that no dotnet sdk is still present
ls /usr/local/share/dotnet/$arch/sdk/
dotnet --version
To uninstall dotnet core from MacOS, using dotnet-uninstall-tool.
Download the tool Here
Open terminal and change working directory to where the file (dotnet-core-uninstall.tar.gz) is located.
Install the Tool using following commands.
1. mkdir -p ~/dotnet-core-uninstall
2. tar -zxf dotnet-core-uninstall.tar.gz -C ~/dotnet-core-uninstall
3. cd ~/dotnet-core-uninstall
show help: ./dotnet-core-uninstall -h
./dotnet-core-uninstall list
Using this command you can check the list of .NET Core SDKS or Runtime that can be removed with this tool.
./dotnet-core-uninstall remove --sdk/--runtime version --force
Eg: For remove SDK 5.0.100
./dotnet-core-uninstall remove --sdk 5.0.100 --force
If you face any Privilege issue add sudo in front of the command
Give the user Key (Password).
(Do you want to continue) hit the "Y" then enter.
Check & conform the SDK list
You might as well use dotnet-core-uninstall tool which allow you to select a specific SDK or runtime version to remove. github docs
If you are experiencing issues with building Xamarin.Mac after installing preview version of .Net 5 SDK you might like to remove Mono using such script and Visual Studio like this and try to reinstall from scratch
good luck
The following is what I get when I start up my app:
meteor [[[[[ ~/......./app ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Starting your app...
It used to work on Meteor 0.7.1, but when I upgraded to 0.7.2 it never finishes loading up. Now I can't even run it on 0.7.1, only 0.7.0.1.
This happens to all my meteor apps on my computer. Any ideas of what the problem is or how I debug it?
The problem was a badly commented CSS file. I opened a comment tag in a CSS file and didn't close it which is what caused the problem.
You've posted this a couple of times. I've seen the problem with some of my projects. While I can't guarantee it will work, I hope it gives you a bit of an idea of where to look to clear your older data.
Look for all .build folders in your project and delete them.
cd your-project-name
rm -rf .build
cd .meteor
rm -rf .build
(Also repeat the same for your package folders)
Sounds like your install of Meteor is corrupt. Do a clean install:
Uninstall Meteor:
sudo rm `where meteor`
rm -rf ~/.meteor
Uninstall Meteorite:
sudo mrt uninstall
sudo mrt uninstall --system
sudo chown -R `whoami` ~/.npm
Install Meteor:
curl https://install.meteor.com | /bin/sh
Install Meteorite:
http://oortcloud.github.io/meteorite/
My meteor project gets bundled with a script and run with forever. Until now, the process used to work fine but for my last project it does not work.
I setup a clean server with no httpd process running to be sure there is no interference.
there are no errors but when I go to my application on http://dev.sertal.ch:4020 I get redirected to https://dev.sertal.ch
This is the bundle script:
#!/bin/bash
cd /root/projects/tablet-reporting/app
git pull
rm -Rf /opt/sertal/tablet-reporting-test
rm -f /opt/sertal/tablet-reporting-test.tgz
meteor bundle /opt/sertal/tablet-reporting-test.tgz
cd /opt/sertal
tar -xvzf tablet-reporting-test.tgz
mv bundle tablet-reporting-test
cd /opt/sertal/tablet-reporting-test/programs/server/node_modules
rm -Rf fibers
npm install fibers
this is how the app is started:
MONGO_URL="mongodb://localhost:27017/tablet-reporting-test" PORT=4020 ROOT_URL="http://dev.sertal.ch:4020" node tablet-reporting-test/main.js
it says
LISTENING
You might have the force-ssl package installed.
meteor remove force-ssl
Then rebundle and redeploy. Please let know if it doesn't work it might be some proxy thing instead.
Installed Qt Creator 2.8 in ArchLinux
Installed qt5-* (* as every related package) using pacman
examples were not available in the repositories so I used the one in the AUR, qt5-examples
examples are installed under /usr/share/doc/qt/examples
qmake-qt5 -query says:
QT_SYSROOT:
QT_INSTALL_PREFIX:/usr
QT_INSTALL_ARCHDATA:/usr/lib/qt
QT_INSTALL_DATA:/usr/share/qt
QT_INSTALL_DOCS:/usr/share/doc/qt
QT_INSTALL_HEADERS:/usr/include/qt
QT_INSTALL_LIBS:/usr/lib
QT_INSTALL_LIBEXECS:/usr/lib/qt/libexec
QT_INSTALL_BINS:/usr/lib/qt/bin
QT_INSTALL_TESTS:/usr/tests
QT_INSTALL_PLUGINS:/usr/lib/qt/plugins
QT_INSTALL_IMPORTS:/usr/lib/qt/imports
QT_INSTALL_QML:/usr/lib/qt/qml
QT_INSTALL_TRANSLATIONS:/usr/share/qt/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/usr/share/doc/qt/examples
QT_INSTALL_DEMOS:/usr/share/doc/qt/examples
QT_HOST_PREFIX:/usr
QT_HOST_DATA:/usr/lib/qt
QT_HOST_BINS:/usr/lib/qt/bin
QT_HOST_LIBS:/usr/lib
QMAKE_SPEC:linux-g++
QMAKE_XSPEC:linux-g++
QMAKE_VERSION:3.0
QT_VERSION:5.1.0
which means examples are in the right place
But they are not shown in Qt Creator!
How can I bring them in qtcreator?
PS: I don't wanna forget about the solution and install SDK.
I know OP asked for archlinux but I faced the same issue with Ubuntu 20.04. To solve it I had to install the following two packages:
sudo apt-get install qtbase5-examples qtbase5-doc-html
This will show the basic widget examples.
Additional examples (e.g. qt quick) can be added by installing them explicitly:
sudo apt install qtquickcontrols2-5-examples
To actually get them displayed in qtcreator I had to install:
sudo apt install qt5-doc qt5-doc-html
Here is the output of echo $(apt-mark showmanual | grep -P '(libqt|qt)')
cmake-qt-gui qt5-default qt5-doc qt5-doc-html qtbase5-dev qtbase5-doc-html qtbase5-examples qtcreator qtquickcontrols2-5-examples
Edit:
Also make sure to install the qml modules you need, for example:
sudo apt install qml-module-qtquick-controls2
QtCreator Examples are added in Official Repository 'Extra'
https://www.archlinux.org/packages/extra/any/qt5-examples/
install it using :-
sudo pacman -S qt5-examples
Navigate to the installation location of the examples and open the .pro project file with qt-creator.
Alternatively if you just want to build and run the example. Navigate to the directory qmake and then make and then simple run the output
Additionally if you strictly require the examples to show in the IDE, try launching with admin privileges as the installation directory of the examples may require admin privileges.
My situation is that qt example folder has no permission to read and execute for non-root users, fixed it and everything OK. In your case:
sudo chmod +rx /usr/share/doc/qt/examples
I am also using archlinux and have had the same problem. Despite not having the examples & demo installed the qmake-qt5 -query is printing a non-existence path.
It seems Qt5 examples are now on AUR(Arch User Repository).
To get the them
Download https://aur.archlinux.org/packages/qt/qt5-examples/qt5-examples.tar.gz
Extract the package maybe with $ tar xzf qt5-examples.tar.gz
cd qt5-examples which contains the PKGBUILD . Then run makepkg .This will download 165MB qt-everywhere-opensource-src-5.2.0.tar.xz
Run pacman -U qt-everywhere-opensource-src-5.2.0.tar.xz
Qtcreator cannot detect the example without its html file.
So, in my case I've already installed qtbase5-examples, but could not able to see examples in qtcreator.
After,
sudo apt-get install qtbase5-doc-html
examples are visible in qtcreator. It was the same with qt5serialport-examples.
sudo apt-get install qt5serialport-examples qtserialport5-doc-html
Have a nice one.
make sure you run the qt-opensource-linux-x86-android-5.4.0.run like this:
$sudo ./qt-opensource-linux-x86-android-5.4.0.run
please do not forget the "sudo"
or you will find that the examples in the qtcreator is missing.
I cloned the repository https://github.com/nothirst/TICoreDataSync
Create Podfile in TICoreDataSync folder
pod 'TICoreDataSync'
Open terminal
cd TICoreDataSync
pod install
The installation was successful and to create a folder pods.
4.I now want to see the work TICoreDataSync/Examples/iOSNotebook/iOSNotebook.iOSNotebook.xcodeproj
But the project has a 9000 error.
If you have someone working example of a fully assembled TICoreDataSync?
We've had one other CocoaPods error reported recently. Have you tried cloning the repository and using git submodule update --init --recursive to clone all the submodules? That should give you a working repo.