neighbour-hoods / sensemaker-lite

11 stars 1 forks source link

Switch to PNPM #75

Closed weswalla closed 10 months ago

weswalla commented 10 months ago

npm run test gives the following error:

Error [ERR_LOADER_CHAIN_INCOMPLETE]: "ts-node/esm 'resolve'" did not call the next hook in its chain and did not explicitly signal a short circuit. If this is intentional, include `shortCircuit: true` in the hook's return.
    at new NodeError (node:internal/errors:399:5)
    at ESMLoader.resolve (node:internal/modules/esm/loader:846:13)
    at async ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:7) {
  code: 'ERR_LOADER_CHAIN_INCOMPLETE'
}
npm ERR! Lifecycle script `test` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace: tests@0.0.0
npm ERR!   at location: /Users/weswalla/neighbourhoods/sensemaker-lite/tests

coming from the command: TRYORAMA_LOG_LEVEL=debug RUST_BACKTRACE=1 RUST_LOG=holochain::core::ribosome::host_fn::debug=debug TRYORAMA_HOLOCHAIN_PATH=\"holochain\" node --loader ts-node/esm --experimental-specifier-resolution=node src/index.ts

adaburrows commented 10 months ago

Manually cherry picking some of these commits.