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-moment-locales: Failed to convert napi value into rust type bool #7048

Open
frank-xlab opened this issue Feb 11, 2025 · 1 comment
Assignees
Labels

Comments

@frank-xlab
Copy link

Describe the bug

An exception occurs when plug-in @ice/plugin-moment-locales is added to the ice.config.mts configuration file.

Image

Environment:
Node: v20.18.1
OS: Mac OS Sequoia 15.3
Chip: Apple M3

Expected behavior

Runing

Actual behavior

No response

Version of ice.js

3.5.1

Content of build.json or ice.config.mts

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

export default defineConfig(() => ({
  // console 等级为 trace < debug < log < info < warn < error
  dropLogLevel: 'log',
  plugins: [moment({ locales: ['en-US', 'zh-CN'] })],
}));

Additional context

No response

@frank-xlab frank-xlab added the bug label Feb 11, 2025
@ClarkXia
Copy link
Collaborator

@ice/plugin-moment-locales does not support speedup mode yet. We will implement it in the next major version.

@ClarkXia ClarkXia self-assigned this Feb 11, 2025
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