Snappy ubuntu core on BeagleBone Black?

What is the best way to develop Snappy applications for Beagle bone black due to snapcraft cross building problem. I can run my Snappy nodejs web in kvm but service is failing on BeagleBone Black Answer You don’t mention what version of Ubuntu Core you’re using, so I’ll assume 15.04. In that case, consider an … Read more

node syslog outputs “Error processing log message”

In syslog-ng.conf I have the following: source s_imp { tcp(ip(“localhost”) port(514)); }; filter f_imp {program(“imp”);}; destination d_imp {file(“/home/rpr/syslog.log”);}; log {source(s_imp); filter(f_imp); destination(d_imp);}; I’m using the syslog package to log from a node server. This is the code that I have: var impLogger = syslog.createClient(514, ‘localhost’, {name: ‘imp’}); impLogger.crit(‘hello’); The output that I get in syslog.log … Read more

Trying to install AngularJS, but I can’t install Yeoman

I’m trying to install AngularJS though Yeoman, but I keep running into problems and can’t install Yeoman. My version of NodeJS is v0.12.10 (updated, as far as I can tell), my npm verison is 3.7.3 (also updated, I believe). Here’s what happens when I try to install Yeoman: npm WARN deprecated npmconf@2.1.2: this package has … Read more

How do I install Yeoman on Ubuntu 19.04?

I am having a hard time figuring out what I should do to install Yeoman on Ubuntu 19.04. What is the recommended procedure for installing on my personal laptop that nobody else uses? Ideally a reasonably recent but stable version. The official documentation suggests npm install -g yo but I get permission errors, and apparently … Read more

Why is the semver error happening?

frederick@frederickpina:~$ npm install internal/modules/cjs/loader.js:1023 throw err; ^ Error: Cannot find module ‘semver’ Require stack: /usr/share/npm/lib/utils/unsupported.js /usr/share/npm/bin/npm-cli.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1020:15) at Function.Module._load (internal/modules/cjs/loader.js:890:27) at Module.require (internal/modules/cjs/loader.js:1080:19) at require (internal/modules/cjs/helpers.js:72:18) at Object. (/usr/share/npm/lib/utils/unsupported.js:2:14) at Module._compile (internal/modules/cjs/loader.js:1176:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1196:10) at Module.load (internal/modules/cjs/loader.js:1040:32) at Function.Module._load (internal/modules/cjs/loader.js:929:14) at Module.require (internal/modules/cjs/loader.js:1080:19) { code: ‘MODULE_NOT_FOUND’, requireStack: [ ‘/usr/share/npm/lib/utils/unsupported.js’, ‘/usr/share/npm/bin/npm-cli.js’ ] } … Read more

Error: ENOSPC: System limit for number of file watchers reached, watch : Ubuntu 18.04

I received the topic error when starting the react app in the VS Code terminal. I have seen the answers to the topic questions as below. Temporary Fix: $ sudo sysctl fs.inotify.max_user_watches=524288 $ sudo sysctl -p Permanent Fix: $ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf $ sudo sysctl -p What actually causes this error? … Read more

Strange recursive folder created on npm installation

something very strange is happening to my system. I’m running Ubuntu 12.04 and I use it for node.js deveopment. Every time I perform an installation either (sudo npm install -g myPackage) a srtange folder is created: [sudo] password for emanuele: cointaining a recursive infinite structure: [sudo] password for emanuele: /home/emanuele/[sudo] password for emanuele: /home/emanuele/[sudo] password … Read more