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

Error while running pnpm run ... #8088

Closed
2 of 4 tasks
shrinktofit opened this issue May 15, 2024 · 2 comments
Closed
2 of 4 tasks

Error while running pnpm run ... #8088

shrinktofit opened this issue May 15, 2024 · 2 comments

Comments

@shrinktofit
Copy link

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

9.1.1

Which area(s) of pnpm are affected? (leave empty if unsure)

Package manager compatibility

Link to the code that reproduces this issue or a replay of the bug

https://github.com/shrinktofit/pnpm-issue

Reproduction steps

Run followings:

pnpm i
pnpm run test

Describe the Bug

Run the above snippet, then an error would be thrown. It seems like pnpm code want to modify a function object's name, which by default, is readonly.

image

Expected Behavior

No error, everything works fine.

Which Node.js version are you using?

22.1.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

@btea
Copy link
Contributor

btea commented May 15, 2024

Couldn't reproduce.

image

@shrinktofit
Copy link
Author

It should be irrelevant from pnpm, sorry.

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

No branches or pull requests

2 participants