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

[Bug]: broken caused by @rspack/lite-tabable reading a property from undefined #7981

Open
MisterLuffy opened this issue Sep 25, 2024 · 1 comment
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.

Comments

@MisterLuffy
Copy link

System Info

System:
OS: macOS 14.6.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 81.11 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.20.4 - ~/.nvm/versions/node/v18.20.4/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v18.20.4/bin/yarn
npm: 10.7.0 - ~/.nvm/versions/node/v18.20.4/bin/npm
Browsers:
Chrome: 129.0.6668.59
Safari: 17.6

Details

Hi, guys! Thanks for your amazing tool!

I'm migrating my project from Webpack to Rspack now, and met a problem caused by @rspack/lite-tapable reading property from undefined.

I don't find the Repo of that package, so I raise a issue here. The code is as below:

node_modules/@rspack/lite-tapable/dist/index.js L485

image

I don't know if this problem can be fixed via adding a return if tap is undefined. I think it's caused by Webpack plugins I used. If you need any more info, please notify me.

Reproduce link

No response

Reproduce Steps

Sorry, I cannot provide a repo to reproduce this problem for you now. But if this is necessary, I will try.

@MisterLuffy MisterLuffy added bug Something isn't working pending triage The issue/PR is currently untouched. labels Sep 25, 2024
@MisterLuffy MisterLuffy changed the title [Bug]: broken caused by reading property from undefined [Bug]: broken caused by @rspack/lite-tabable reading a property from undefined Sep 25, 2024
@hardfist
Copy link
Contributor

please provide full error report, the reason most lie in plugin use some unsupported hook so we need more error info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.
Projects
None yet
Development

No branches or pull requests

2 participants