Skip to content

Build failure on WSL Ubuntu but not on OS/X #1762

@rickmcgeer

Description

@rickmcgeer

Describe the bug
I've tried to freeze https://github.com/engageLively/galyleo-dashboard, and the freeze works on my Mac but repeatedly fails on WSL, with the error message:

TypeError: Could not load https://jspm.dev/[email protected]: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11457:11)
    at async WebDAVResource.read (file:///home/rick/lively.next/lively.resources/src/http-resource.js:232:17)
    at async fetchFile (/home/rick/lively.next/lively.freezer/src/resolvers/node.cjs:150:14)
    at async Object.load (/home/rick/lively.next/lively.freezer/src/resolvers/node.cjs:165:11)
    at async LivelyRollup.load (file:///home/rick/lively.next/lively.freezer/src/bundler.js:581:13)
    at async file:///home/rick/lively.next/lively.next-node_modules/rollup/2.70.2/dist/es/shared/rollup.js:22093:83
    at async Queue.work (file:///home/rick/lively.next/lively.next-node_modules/rollup/2.70.2/dist/es/shared/rollup.js:21677:32) {
  cause: SocketError: other side closed
      at TLSSocket.onSocketEnd (node:internal/deps/undici/undici:9689:26)
      at TLSSocket.emit (node:events:525:35)
      at endReadableNT (node:internal/streams/readable:1359:12)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    code: 'UND_ERR_SOCKET',
    socket: {
      localAddress: '172.19.148.218',
      localPort: 34326,
      remoteAddress: undefined,
      remotePort: undefined,
      remoteFamily: undefined,
      timeout: undefined,
      bytesWritten: 190,
      bytesRead: 0
    }
  },
  code: 'PLUGIN_ERROR',
  plugin: 'commonjs--resolver',
  hook: 'resolveId',

It was working fine until yesterday, but something is wrong today. I tried rebooting just in case it was system load. Same version of Lively

To Reproduce

  1. Pull https://github.com/engageLively/galyleo-dashboard
  2. On WSL, in the root directory, run npm build

Screenshots
If applicable, add screenshots to help explain your problem.

Setup
Please delete non-applicable items!

  • Windows
  • Linux

Version: Please paste the lively.next commit on which the problem occurred here (use the copy button of the Version Checker in the bottom left corner).
c725a77

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions