Giter Site home page Giter Site logo

Comments (8)

muhlba91 avatar muhlba91 commented on June 12, 2024 2

thank you for these updates! i was now able to reproduce this issue, and am working on a fix to include the install script in the final release.

i‘ll update here once a release has been made.
fyi: changes will be added to the curren WIP update at #20

from pulumi-proxmoxve.

muhlba91 avatar muhlba91 commented on June 12, 2024 1

the release v2.1.0 contain the install script now. i tested it on multiple platforms and it was working.

@maxwlang & @mario-campos : please try and confirm.

from pulumi-proxmoxve.

muhlba91 avatar muhlba91 commented on June 12, 2024 1

awesome, glad to hear! and thank you for confirming, and the patience. :)

@mario-campos i‘m closing this issue with that now.

from pulumi-proxmoxve.

muhlba91 avatar muhlba91 commented on June 12, 2024

i use the nodejs sdk as well within multiple projects (and build servers as well as client machines), and never had an issue installing it.

the install file is integrated in the release (https://github.com/muhlba91/pulumi-proxmoxve/blob/v2.0.0/sdk/nodejs/scripts/install-pulumi-plugin.js), and also autogenerated through pulumi’s boilerplate by pulumi itself (https://github.com/pulumi/pulumi/blob/master/pkg/codegen/nodejs/gen.go#L2933).

i am using node 16 though. do you have any knowledge of major changes regarding this in later node versions?

do you have more log files available?

from pulumi-proxmoxve.

maxwlang avatar maxwlang commented on June 12, 2024

Here's what I'm getting when running yarn:

> yarn
yarn install v1.22.19
warning package.json: No license field
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
warning homelab-pulumi: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
⠁
error /home/maxwlang/projects/homelab-pulumi/node_modules/@muhlba91/pulumi-proxmoxve: Command failed.
Exit code: 1
Command: node scripts/install-pulumi-plugin.js resource proxmoxve v2.0.0
Arguments:
Directory: /home/maxwlang/projects/homelab-pulumi/node_modules/@muhlba91/pulumi-proxmoxve
Output:
node:internal/modules/cjs/loader:959
  throw err;
  ^

Error: Cannot find module '/home/maxwlang/projects/homelab-pulumi/node_modules/@muhlba91/pulumi-proxmoxve/scripts/install-pulumi-plugin.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
    at Function.Module._load (node:internal/modules/cjs/loader:804:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Some info:

  • Running WSL ubuntu (uname: Linux MAX-TOWER 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux)
  • node v16.17.0
  • yarn 1.22.19

from pulumi-proxmoxve.

mario-campos avatar mario-campos commented on June 12, 2024

Here's the version of node I've been using:

> node --version
v19.0.1

from pulumi-proxmoxve.

maxwlang avatar maxwlang commented on June 12, 2024

Will give it a shot tonight. Thanks!

from pulumi-proxmoxve.

maxwlang avatar maxwlang commented on June 12, 2024

Woohoo! It works! Thank you for taking the time to look into this @muhlba91 and @mario-campos!

from pulumi-proxmoxve.

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.