Skip to content

TS wraps don't build due to missing pwr cli #1923

Description

@krisbitney

Describe the bug

> docker run --rm -v /Users/kris/WebstormProjects/monorepo/packages/templates/wasm/typescript/.polywrap/wasm/build/project:/project -v /Users/kris/WebstormProjects/monorepo/packages/templates/wasm/typescript/.polywrap/wasm/build/linked-packages:/linked-packages polywrap/vm-base-js:0.1.0 /bin/bash --verbose /project/polywrap-build.sh
Unable to find image 'polywrap/vm-base-js:0.1.0' locally

0.1.0: Pulling from polywrap/vm-base-js

20274425734a: Already exists

f475ed9a033c: Pulling fs layer
eaca3bcecbd1: Pulling fs layer
dab2e8cf2524: Pulling fs layer

dab2e8cf2524: Verifying Checksum
dab2e8cf2524: Download complete

eaca3bcecbd1: Verifying Checksum

eaca3bcecbd1: Download complete

f475ed9a033c: Verifying Checksum

f475ed9a033c: Download complete

f475ed9a033c: Pull complete

eaca3bcecbd1: Pull complete

dab2e8cf2524: Pull complete

Digest: sha256:f47a651cf8cd6927831a7cf94f29eec068bc316bd57270e8dc9e978c27f1597f

Status: Downloaded newer image for polywrap/vm-base-js:0.1.0

set -e

/root/.pwr/bin/pwr js build -f ./bundled/wrap.js -o build

/project/polywrap-build.sh: line 3: /root/.pwr/bin/pwr: No such file or directory

❌ Failed to compile Polywrap: {
  "stdout": "",
  "stderr": "Unable to find image 'polywrap/vm-base-js:0.1.0' locally\n0.1.0: Pulling from polywrap/vm-base-js\n20274425734a: Already exists\nf475ed9a033c: Pulling fs layer\neaca3bcecbd1: Pulling fs layer\ndab2e8cf2524: Pulling fs layer\ndab2e8cf2524: Verifying Checksum\ndab2e8cf2524: Download complete\neaca3bcecbd1: Verifying Checksum\neaca3bcecbd1: Download complete\nf475ed9a033c: Verifying Checksum\nf475ed9a033c: Download complete\nf475ed9a033c: Pull complete\neaca3bcecbd1: Pull complete\ndab2e8cf2524: Pull complete\nDigest: sha256:f47a651cf8cd6927831a7cf94f29eec068bc316bd57270e8dc9e978c27f1597f\nStatus: Downloaded newer image for polywrap/vm-base-js:0.1.0\nset -e\n\n/root/.pwr/bin/pwr js build -f ./bundled/wrap.js -o build\n/project/polywrap-build.sh: line 3: /root/.pwr/bin/pwr: No such file or directory\n"
}
error Command failed with exit code 1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions