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

升级到3.1.0后启动报错,并且错误提示中代码位置有误 #5931

Closed
anobaka opened this issue Feb 16, 2023 · 2 comments
Closed
Labels

Comments

@anobaka
Copy link

anobaka commented Feb 16, 2023

Describe the bug

image
image

Expected behavior

2.x版本正常
希望至少能有正确的代码位置,否则很难找到问题

Actual behavior

No response

Version of ice.js

3.1.0

Content of build.json or ice.config.mts

import { defineConfig } from '@ice/app';
import store from '@ice/plugin-store';

// The project config, see https://v3.ice.work/docs/guide/basic/config
export default defineConfig(() => ({
  ssr: false,
  ssg: false,
  plugins: [
    store(),
  ],
  routes: {
  },
}));

Additional context

No response

@anobaka anobaka added the bug label Feb 16, 2023
@ClarkXia
Copy link
Collaborator

最好提供复现问题的代码片段

@anobaka
Copy link
Author

anobaka commented Feb 22, 2023

感谢您的回复,
不好意思由于项目紧急,调整为自定义路由(by defineRoutes)后可以正常运行。
暂时先关闭issue,等后续有空了再提供minimal repro。

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

2 participants