Agoric / ui-kit

Components and tools for building graphical UIs
https://ui-kit-dwm.pages.dev/
Apache License 2.0
3 stars 3 forks source link

unable to install @agoric/web-components. xsnap cat: build.env: No such file or directory #39

Closed 0xpatrickdev closed 11 months ago

0xpatrickdev commented 11 months ago

Describe the bug

When trying to install @agoric/web-components@0.6.4-u11.0 (the current latest from npm), I keep running into an xsnap error during install: xsnap cat: build.env: No such file or directory.

To Reproduce

Steps to reproduce the behavior:

  1. npm init test-project
  2. yarn add @agoric/web-components@0.6.4-u11.0

Expected behavior

The package should install without issues.

Platform Environment

Additional context

Console trace:

$ yarn add @agoric/web-components@0.6.4-u11.0
...

error /Users/u/test-repo/node_modules/@agoric/xsnap: Command failed.
Exit code: 1
Command: yarn build:from-env
Arguments:
Directory: /Users/u/test-repo/node_modules/@agoric/xsnap
Output:
yarn run v1.22.19
$ { cat build.env; echo node src/build.js; } | xargs env
cat: build.env: No such file or directory
Error: make error Error: spawn make ENOENT
    at ChildProcess.<anonymous> (file:///Users/u/test-repo/node_modules/@agoric/xsnap/src/build.js:40:16)
    at ChildProcess.emit (node:events:513:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
    at onErrorNT (node:internal/child_process:485:16)
0xpatrickdev commented 11 months ago

closing as duplicate of agoric-sdk#8288