-
-
Notifications
You must be signed in to change notification settings - Fork 377
Closed
Labels
Type: ImprovementIncludes backwards-compatible fixesIncludes backwards-compatible fixes
Description
Reporting a bug?
import { createI18n, useI18n } from "vue-i18n/dist/vue-i18n.runtime.esm-bundler.js";
^^^^^^^^^^
SyntaxError: Named export 'createI18n' not found. The requested module 'vue-i18n/dist/vue-i18n.runtime.esm-bundler.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'vue-i18n/dist/vue-i18n.runtime.esm-bundler.js';
const { createI18n, useI18n } = pkg;
Expected behavior
- pnpm install
- pnpm build
- cd apps/docs
- pnpm build
Reproduction
branch: feat/date
https://github.com/huntersofbook/huntersofbook/tree/feat/date
System Info
System:
OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz
Memory: 17.10 GB / 31.12 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 16.17.0 - /usr/bin/node
Yarn: 1.22.19 - /usr/bin/yarn
npm: 8.15.0 - /usr/bin/npm
Browsers:
Chrome: 104.0.5112.101
npmPackages:
vitepress: 1.0.0-alpha.10 => 1.0.0-alpha.10
Screenshot
No response
Additional context
No response
Validations
- Read the Contributing Guidelines
- Read the Documentation
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion
- The provided reproduction is a minimal reproducible example of the bug.
bitsnaps
Metadata
Metadata
Assignees
Labels
Type: ImprovementIncludes backwards-compatible fixesIncludes backwards-compatible fixes