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

运行编译报错 #71

Open
QuanyiGu opened this issue Jul 6, 2024 · 0 comments
Open

运行编译报错 #71

QuanyiGu opened this issue Jul 6, 2024 · 0 comments

Comments

@QuanyiGu
Copy link

QuanyiGu commented Jul 6, 2024

运行编译报错
error in ./node_modules/image-size/dist/index.js

Module parse failed: Unexpected token (47:31)
You may need an appropriate loader to handle this file type.
| var size = index_1.typeHandlers[type].calculate(input, filepath);
| if (size !== undefined) {

    size.type = size.type ?? type;

| return size;
| }

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

1 participant