Comments (6)
This works for me with both npm and yarn, what version of npm are you using?
~/.ay/test is 📦 v1.0.0 via ⬢ v9.5.0 took 6s
➜ npm -v
5.6.0
~/.ay/test is 📦 v1.0.0 via ⬢ v9.5.0
➜ yarn -v
1.3.2
from node-red-contrib-home-assistant.
I'm using Debian unstable packaged version of npm (and all dependecies).
Version of npm is visible in the output above and I believe it's 1.4.12 (latest available as packaged by Debian):
apt show npm
Package: npm
Version: 1.4.21+ds-2
Priority: optional
Section: web
Maintainer: Debian Javascript Maintainers [email protected]
Installed-Size: 1,915 kB
Depends: nodejs, node-abbrev (>= 1.0.4), node-ansi (>= 0.3.0-2), node-ansi-color-table, node-archy, node-block-stream, node-fstream (>= 0.1.22), node-fstream-ignore, node-github-url-from-git, node-glob (>= 3.1.21), node-graceful-fs (>= 2.0.0), node-inherits, node-ini (>= 1.1.0), node-lockfile, node-lru-cache (>= 2.3.0), node-minimatch (>= 0.2.11), node-mkdirp (>= 0.3.3), node-gyp (>= 0.10.9), node-nopt (>= 3.0.1), node-npmlog, node-once, node-osenv, node-read, node-read-package-json (>= 1.1.0), node-request (>= 2.25.0), node-retry, node-rimraf (>= 2.2.2), node-semver (>= 2.1.0), node-sha, node-slide, node-tar (>= 0.1.18), node-underscore, node-which
Homepage: http://github.com/isaacs/npm
Download-Size: 354 kB
APT-Manual-Installed: yes
APT-Sources: http://ftp.pl.debian.org/debian unstable/main amd64 Packages
Description: package manager for Node.js
Node.js is an event-based server-side javascript engine.
.
npm is the package manager for the Node JavaScript platform. It puts
modules in place so that node can find them, and manages dependency
conflicts intelligently.
.
It is extremely configurable to support a wide variety of use cases.
Most commonly, it is used to publish, discover, install, and develop
node programs.
Some weeks ago I had this up'n'running on other computer (also Debian unstable). I was using previous version of your package (sorry don't recall exact number ; it had to be some 1-1.5 month ago). I've removed all on that one and wanted to start toying on more appropriate machine
from node-red-contrib-home-assistant.
So I suspect this is an issue with your version of npm
not handling commit'ish tags in the package.json
file. You should either install the latest npm or yarn version and use those, depending on how your PATH
is setup npm -ig npm@latest
may work for you to easily upgrade npm. If upgrading npm is not an option than you can just clone this repo, remove the line for the node-red dependency in package.json
then run npm link
in the cloned directory and npm link node-red-contrib-home-assistant
in the directory you'd normally npm install
in. Hopefully upgrading the package manager will be easy for you as the second is just a hack ;o)
from node-red-contrib-home-assistant.
Thx
I'll try the first route and report back :)
from node-red-contrib-home-assistant.
It worked :) It's bit messy cause now I have 2 npms. I'll figure out if I can safely remove the one provided by Debian later.
In case someone bumps here: proper command to install was npm install -g npm@latest
and make sure you have git installed too.
Thx for help :)
from node-red-contrib-home-assistant.
👍
from node-red-contrib-home-assistant.
Related Issues (20)
- Support SSL LetsEncrypt 443 port? HOT 1
- History Node Not Filtering Per Entity
- Can't install node-red-contrib-home-assistant HOT 1
- Call Service with Merge Context not working properly
- The node doesn't see all of my services. HOT 1
- Install error on bcrypt HOT 4
- DEPRECATED HOT 1
- Templating not working properly in data field
- Accept boolean inputs to call_service nodes HOT 1
- Node Red still broken after HA update (0.106.1) HOT 2
- current state error HOT 1
- Entity could not be found in cache for entity_id: HOT 2
- Issue Installing HOT 1
- Dead link to example flows on the Github page
- Error install HOT 1
- Change to OAuth Access Token HOT 2
- Node Red Stopped Responding after upgrading to HA 0.76.0 HOT 1
- Call service node replaces msg object
- install with npm: not a valid repo name HOT 1
- Updates? HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-home-assistant.