FS#72394 - [pulumi] lacks files: pulumi-resource-pulumi-nodejs & pulumi-resource-pulumi-python
Attached to Project:
Arch Linux
Opened by Arthur Woimbée (awoimbee) - Monday, 11 October 2021, 17:24 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:17 GMT
Opened by Arthur Woimbée (awoimbee) - Monday, 11 October 2021, 17:24 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:17 GMT
|
Details
Description:
This package is missing 2 files compared to the .tar.gz we can download from pulumi: `pulumi-resource-pulumi-nodejs` & `pulumi-resource-pulumi-python`. Using pulumi on a nodejs project gives (example with the pulumi-postgres provider): ``` error: could not load plugin for pulumi-nodejs provider 'urn:pulumi:[redacted]::postgres::pulumi:providers:pulumi-nodejs::[redacted]` no resource plugin 'pulumi-nodejs' found in the workspace or on your $PATH ``` This issue is old, up until now I used pulumi-bin from AUR, but it's now gone. Additional info: * package version(s): all up until the latest one (3.14.0-1) Steps to circumvent the bug: - go to https://www.pulumi.com/docs/get-started/install/ - download the latest version as .tar.gz (https://get.pulumi.com/releases/sdk/pulumi-v3.14.0-linux-x64.tar.gz) - extract `pulumi-resource-pulumi-nodejs` & `pulumi-resource-pulumi-python` to /usr/bin/ |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:17 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/pulumi/issues/1
Saturday, 25 November 2023, 20:17 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/pulumi/issues/1
$ pulumi-resource-pulumi-nodejs
node:internal/modules/cjs/loader:1080
throw err;
^
Error: Cannot find module '@pulumi/pulumi/cmd/dynamic-provider'
Require stack:
- /tmp/tmp.7T7yoWlo2F/pulumi/[eval]
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Function.resolve (node:internal/modules/cjs/helpers:127:19)
at [eval]:1:21
at Script.runInThisContext (node:vm:123:12)
at Object.runInThisContext (node:vm:299:38)
at node:internal/process/execution:79:19
at [eval]-wrapper:6:22
at evalScript (node:internal/process/execution:78:60)
at node:internal/main/eval_string:28:3 {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/tmp/tmp.7T7yoWlo2F/pulumi/[eval]' ]
}
Node.js v18.17.1
$ pulumi-resource-pulumi-python
/usr/bin/python3: Error while finding module specification for 'pulumi.dynamic' (ModuleNotFoundError: No module named 'pulumi')
FS#79604(duplicate)```
error: could not start policy pack "aws-tags-policies" because the built-in analyzer plugin that runs policy plugins is missing. This might occur when the plugin directory is not on your $PATH, or when the installed version of the Pulumi SDK does not support resource policies
```
I am attaching a new patch that fixes the issue by installing the analyzer binaries.