ice icon indicating copy to clipboard operation
ice copied to clipboard

@ice/plugin-moment-locales: Failed to convert napi value into rust type `bool`

Open frank-xlab opened this issue 10 months ago • 1 comments

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 avatar Feb 11 '25 01:02 frank-xlab

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

ClarkXia avatar Feb 11 '25 02:02 ClarkXia