Giter Club home page Giter Club logo

Comments (7)

mabunixda avatar mabunixda commented on August 17, 2024 1

ok i was not able to access your repo previously ... may be copy&paste error.. or some docker foo problem because i install it in a docker container ;-)

from node-red-contrib-loxone.

mabunixda avatar mabunixda commented on August 17, 2024 1

@Noschvie you need to generate your own dockerfile. afterwards you can add deps:

FROM nodered/node-red:latest-12-minimal
USER root
RUN npm install node-red-contrib-loxone
USER node-red

from node-red-contrib-loxone.

codmpm avatar codmpm commented on August 17, 2024

Should not be...

GitHub URLs
As of version 1.1.65, you can refer to GitHub urls as just “foo”: “user/foo-project”. Just as with git URLs, a commit-ish suffix can be included. For example:

{
  "name": "foo",
  "version": "0.0.0",
  "dependencies": {
    "express": "expressjs/express",
    "mocha": "mochajs/mocha#4727d357ea",
    "module": "user/repo#feature\/branch"
  }
}

https://docs.npmjs.com/files/package.json#github-urls

The package is located at https://github.com/codm/node-lox-ws-api and installs here without any problems. Also info's from the LoxForum state that this works.
Be sure to install 0.10.4 as I had a mistake in 0.10.3 by referencing a local path.

If you have a permission error, delete ~/.node-red/node_modules/node-lox-ws-api and install again.

from node-red-contrib-loxone.

codmpm avatar codmpm commented on August 17, 2024

I've just filed a pull request to get my changes into the published node-lox-ws-api: alladdin/node-lox-ws-api#18

from node-red-contrib-loxone.

Noschvie avatar Noschvie commented on August 17, 2024

Support needed : how have the statement inside a docker file be changed to get working again ?
RUN npm install --save node-red-contrib-loxone
Thanks!

from node-red-contrib-loxone.

codmpm avatar codmpm commented on August 17, 2024

Hey @Noschvie, you need git inside your docker container as the required library is now pulled via github. Sadly @alladdin did not merge my pull request yet, to put into the npm published version.

@mabunixda could you give @Noschvie some support on how you managed to get it working again?

from node-red-contrib-loxone.

Noschvie avatar Noschvie commented on August 17, 2024

... but this doesn't work, what seems to be wrong?

Step 6/13 : RUN npm install --unsafe-perm node-red-contrib-loxone
 ---> Running in 1c69775aefc8
npm ERR! code 128
npm ERR! Command failed: git clone --mirror -q git://github.com/codm/node-lox-ws-api.git /root/.npm/_cacache/tmp/git-clone-30ffe56e/.git
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-30ffe56e/.git'
npm ERR! 

from node-red-contrib-loxone.

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.