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

pnpm run dev:h5 error #33

Open
zanjs opened this issue Oct 31, 2024 · 1 comment
Open

pnpm run dev:h5 error #33

zanjs opened this issue Oct 31, 2024 · 1 comment
Labels

Comments

@zanjs
Copy link

zanjs commented Oct 31, 2024

(node:21732) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use node --trace-warnings ... to show where the warning was created)

@sunpm
Copy link
Owner

sunpm commented Nov 1, 2024

image

我这里没有报错,可以看看你的系统信息吗?
通过在项目根目录下运行 npx create-uni@latest --info ,随便选择全部,获取它


基础环境信息:

  • os: macOS 12.6.5
  • node: 18.17.1
  • packageManager: pnpm

基础依赖信息:

  • vue: 3.5.12
  • vite: 5.2.8
  • @dcloudio/uni-app: 3.0.0-4020920240930001

uni-helper依赖信息:

  • @uni-helper/eslint-config: 0.2.1
    • eslint: 9.13.0
  • @uni-helper/uni-app-types: 1.0.0-alpha.5
  • @uni-helper/uni-network: 0.19.3
  • @uni-helper/uni-use: 0.19.14
    • @vueuse/core: 9.13.0
  • @uni-helper/unocss-preset-uni: 0.2.10
    • unocss: 0.58.9
  • @uni-helper/vite-plugin-uni-layouts: 0.1.10
  • @uni-helper/vite-plugin-uni-manifest: 0.2.7
  • @uni-helper/vite-plugin-uni-pages: 0.2.28

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