Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Node to 18 caused bitbucket pipeline issues with memfs #116

Closed
cjewvuit opened this issue Oct 31, 2022 · 2 comments
Closed

Upgrade to Node to 18 caused bitbucket pipeline issues with memfs #116

cjewvuit opened this issue Oct 31, 2022 · 2 comments

Comments

@cjewvuit
Copy link

31 10 2022 14:18:41.739:ERROR [karma-server]: UncaughtException: TypeError: Cannot set property closed of #<Readable> which has only a getter
    at FsReadStream.close (/opt/atlassian/pipelines/agent/build/services/web/angular/node_modules/memfs/lib/volume.js:2047:17)
    at FsReadStream._destroy (/opt/atlassian/pipelines/agent/build/services/web/angular/node_modules/memfs/lib/volume.js:2032:10)
    at _destroy (node:internal/streams/destroy:109:10)
    at class_1.destroy (node:internal/streams/destroy:71:5)
    at class_1.<anonymous> (/opt/atlassian/pipelines/agent/build/services/web/angular/node_modules/memfs/lib/volume.js:1962:22)
    at class_1.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
@timbru31
Copy link
Owner

Thanks. Can you provide me a reproducible sample of your issue in order to narrow down the issue?

You can also downgrade to sha256:201a382e48aa475bd14395caa563877519c1b374dc0c65ca34f469542a9bab1a (last Node.js v16 image) in the meantime.

@timbru31
Copy link
Owner

The underlying issue is memfs: streamich/memfs#828 - you probably want to upgrade your Angular version or rebuild your lockfiles in order to get a newer memfs version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants