Node js in Linux Embedded - node.js

Hi I'm trying to install nodejs in a Pengwyn board (TI Sitara AM3354 ARM) after installing Yocto Linux successfully.
I don't know how to install node inside. I've tried opkg but it shows this error in the MiniCom:
opkg_install_cmd: Cannot install package <Packag name's>
I'm a bit frustrated and I don't know any page that can help me.
Any help will be apreciated,

The easiest solution is include nodejs before build image.
For include node, when you run hob, you must click on view packages and include nodejs.

Related

Something went wrong installing the "sharp" module, on Mac M1

I had been trying to resolve this issue and had tried running the app via rosetta terminal, but same issue persists. I tried installing the sharp package globally but that to did not help.
Here is a snippet of the error :-
I think the issue is something related to Sharp package specific for the arm architecture
I was trying to setup a repo on my system locally and simply ran yarn dev. I expected the server to start but the same error keeps coming again and again .
I think your problem is related to this conversation: https://github.com/lovell/sharp/pull/3514
Specifically "On an M1/M2 based machine, the dylib files provided by a globally-installed vips (via Homebrew or otherwise) will be ARM64, therefore we cannot use these when running Node.js under x64 emulation as there will be a runtime conflict."

Electron build for windows shows sqlite3 error. But same build for Ubuntu Works

Packed using: Electron-Packager
Database: sqlite
The app uses Knex as a driver to query to mysqlite.
The module which it says that it cannot find is already present! But then too the error shows up.
I tried to navigate to the resource/app and then use commands like
npm run rebuild
tried installing python, node and then tried but seems like it required some CL.exe file so had to dowload Visual Studio C++ packages too but unfortunately it didn't have that file in my case.
Also tried
npm install sqlite3 --build-from-source
but got error
Can anyone help me with the exact steps to take? I also need help in knowing do i have to take this steps on the package that is already build or before i build it?
The best possible fix i got is the build the system in windows and then deploy it for windows. You need to google at every step where it breaks and then fix it. There are many possibilities and hence i cannot describe it here.

Nodejs throwing 'Illegal Instruction' w/ SQLite3

I'm struggling to figure out what to do, please help. I have an embedded device (similar to a pi but not) running;
arm linux (armv5tejl).
node v0.10.44
npm v2.15.0
sqlite3 v3.8.3.1
I have a few problems and I've tried a slew of things, basically
npm install sqlite3
fails because the embedded board doesn't have make, I do have gcc 4.8.2. The reason I don't have make is because I cannot find the right .ipk package (using opkg). The versions of node and npm were all from opkg as well.
The closest version I could find of sqlite was node-v11-linux-arm and I think is the reason for the Illegal Instruction errors - instructions for a later version than my 5.
Any pointers on how to move forward? Thanks!

nginx binary files not available linux

Hi I have a requirement like that i should be able to install nginx in a machine that doesnt have internet connection so below are the approaches that i tried
created a debian package from the source and tried installing
downloaded the source(tar file) and tried make and make install
But downloading the source requires internet and make and make install is not recommended
The last option is to build nginx using binary file.
I am not able to find any binaries for nginx.Am stuck here any help will be much helpful

How to install libjpeg-turbo8 on Ubuntu 12.0.4

As suggested by Google, I'm trying to get http://jpegclub.org/jpegtran/ working on my Ubuntu server, but I'm getting the error:
"jpegtran: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory"
A Google search told me to install (via apt-get) libjpeg-turbo8, however apt-get can't find the package. My own Ubuntu computer (running 12.0.10) can find the package just fine.
I tried installing http://sourceforge.net/projects/libjpeg-turbo/ with no luck.
Am I doing something wrong or have I missed something? How do I get jpegtran working?
This question may be old, but i was trying to run the glassfish updatetool and it failed because of the lack of the libjpeg library.
Steps i did take:
1. install libjpeg62:i386 (for 64 bit ubuntu amd6)
I hope it helps someone

Resources