Code Monkey home page Code Monkey logo

Comments (6)

AYapejian avatar AYapejian commented on May 31, 2024

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.

NameLessJedi avatar NameLessJedi commented on May 31, 2024

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.

AYapejian avatar AYapejian commented on May 31, 2024

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.

NameLessJedi avatar NameLessJedi commented on May 31, 2024

Thx
I'll try the first route and report back :)

from node-red-contrib-home-assistant.

NameLessJedi avatar NameLessJedi commented on May 31, 2024

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.

AYapejian avatar AYapejian commented on May 31, 2024

👍

from node-red-contrib-home-assistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.