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

在其他项目中@flowgram.ai报 File was processed with these loaders: #90

Open
luoruirui opened this issue Mar 26, 2025 · 1 comment

Comments

@luoruirui
Copy link

./node_modules/@flowgram.ai/utils/dist/esm/index.js 1769:48
Module parse failed: Unexpected token (1769:48)
File was processed with these loaders:

  • ./node_modules/babel-loader/lib/index.js
    You may need an additional loader to handle the result of these loaders.
    | }
    | } else if (autoDelete) {
      const deleteLimit = opts.deleteLimit ?? 0;

| if (cache.length - count > deleteLimit) {
| const deleted = cache.splice(count);

@dragooncjw
Copy link
Collaborator

It seems that there is a lack of support for ES2020+ syntax on the business side. You can try upgrading the babel configuration for compatibility or use the commonjs version we provide.

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