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

在安装@ice/plugin-request插件之后,dataLoader.js 出现 Cannot use import statement outside a module #6059

Closed
1ncounter opened this issue Mar 15, 2023 · 1 comment
Assignees
Labels

Comments

@1ncounter
Copy link

Describe the bug

在安装@ice/plugin-request插件,启动项目出现如下错误提示:
image
具体代码错误点如下:
image

Expected behavior

不出现异常提示

Actual behavior

如上

Version of ice.js

3.1.2

Content of build.json or ice.config.mts

import request from '@ice/plugin-request';

plugins: [
  request()
]

Additional context

No response

@wssgcg1213
Copy link
Collaborator

wssgcg1213 commented Mar 15, 2023

本地试了一下, 本没有复现成功

@ice/app 3.1.2 + request 插件 1.0.1

可否提供更多信息?

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

No branches or pull requests

5 participants