Skip to content

Content Tagged "nodejs"

Page 1 of 1

Content Tagged "nodejs"

Fix Not Found Package Errors with .staging Warnings on Npm Install

September 5, 2018Category: Software
TL;DR : Clean the npm cache and the package-lock.json The other day I started to get ENOENT warning when running npm install like: only to have the compilation failing with something like: I've looked into it and the conclusion was that the error occurred because I've updated my node/npm…

Debug Electron in VS Code

December 2, 2016Category: Software
TL;DR: You need to follow the server (electron) client (VS code debugger) approach. Be aware of OS specifics! So far, my approach towards development/debugging would be to write some code, test it, rewrite, test... all with a bunch of console.log() statements. That's not efficient at all and…

Rise and Fall of WebPack Dev Server in My Project

December 1, 2016Category: Software
Disclaimer: This is a log of my journey developing an electron app. I'm working at a small electron app and I was experimenting with webpack-dev-server , so I can try to do live reloads. First, I've started the app as a web app (no electron dependencies whatsoever). At this stage, running: off…

Change Packages Paths in NodeJS

November 25, 2016Categories: Software, Tutorial
TL;DR: Edit %appdata%\npm\etc\npmrc and add prefix and cache entries to specify the locations where node puts packages. Every time I install a new framework/dev environment I have to look where they put files. Having a roaming profile is a pain and I need to make sure it doesn't get too…

Tweak Paths with Gulp-Connect

August 22, 2015Category: Software
I've recently started to work on a front-end project using nodejs , gulp , bower and angular . Its back-end is a java application and it's configured like this: Serve all the UI (frontend) from a /static path http://mysite.com/static/... Serve all the API-related URLs with a /dynamic prefix…

A Mini-List of Useful (Gulp) Plug-ins

August 20, 2015Category: Software
I'm currently starting with nodejs , gulp and bower as part of a front-end project I'm working on. Here are some plugins for gulp I found and which help me with a cleaner, more featured build system. gulp-connect Gulp-connect is capable of starting a small web server on your local machine…

All tags