Skip to content

Document how to build SES distribution files #6

Open
@warner

Description

@warner

I saw the checked-in yarn.lock file, so I ran yarn install, which seemed to mostly work:

warner@agony:~/trees/SES-beta$ yarn install
yarn install v1.21.1
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "lerna-update-wizard > [email protected]" has incorrect peer dependency "inquirer@^5.0.0 || ^6.0.0".
warning "workspace-aggregator-6f1d24a7-7efe-4e0c-827f-55bc3601c77a > @agoric/harden > [email protected]" has unmet peer dependency "rollup@>=1.11.0".
warning "workspace-aggregator-6f1d24a7-7efe-4e0c-827f-55bc3601c77a > ses > @rollup/[email protected]" has unmet peer dependency "rollup@^1.20.0".
warning "workspace-aggregator-6f1d24a7-7efe-4e0c-827f-55bc3601c77a > ses > [email protected]" has unmet peer dependency "rollup@>=0.66.0 <2".
warning "workspace-aggregator-6f1d24a7-7efe-4e0c-827f-55bc3601c77a > ses > @rollup/plugin-node-resolve > @rollup/[email protected]" has unmet peer dependency "rollup@^1.20.0".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 4.67s.

and then yarn build, which did not:

$ yarn build
yarn run v1.21.1
$ lerna run build
lerna notice cli v3.19.0
lerna info Executing command in 5 packages: "npm run build"
lerna ERR! npm run build exited 1 in '@agoric/make-hardener'
lerna ERR! npm run build stdout:

> @agoric/[email protected] build /home/warner/bindmounts/trees/SES-beta/packages/make-hardener
> rollup -c rollup.config.js


lerna ERR! npm run build stderr:

src/index.js → dist/make-hardener.umd.js, dist/make-hardener.cjs.js...
[!] Error: Could not resolve entry module (src/index.js).
Error: Could not resolve entry module (src/index.js).
    at error (/home/warner/bindmounts/trees/SES-beta/node_modules/rollup/dist/rollup.js:5363:30)
    at /home/warner/bindmounts/trees/SES-beta/node_modules/rollup/dist/rollup.js:12034:20
    at async Promise.all (index 0)
    at async Promise.all (index 0)
    at async Promise.all (index 0)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @agoric/[email protected] build: `rollup -c rollup.config.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @agoric/[email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/warner/.npm/_logs/2020-02-03T22_15_55_154Z-debug.log

lerna ERR! npm run build exited 1 in '@agoric/make-hardener'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

What commands should I be using to build the SES dist file?

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationkriskowal-just-do-it-2024-01Tasks that kriskowal can close out quickly to clear weedskriskowal-reviewed-2024-01Issues that kriskowal is satisfied do not need attention from team bug review as of January, 2024

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions