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

原生混合编译报错 #17166

Open
lupingW opened this issue Jan 10, 2025 · 2 comments
Open

原生混合编译报错 #17166

lupingW opened this issue Jan 10, 2025 · 2 comments

Comments

@lupingW
Copy link

lupingW commented Jan 10, 2025

相关平台

微信小程序

小程序基础库: 123
使用框架: React

复现步骤

执行npm run dev:weapp

期望结果

能够正常编译启动小程序服务

实际结果

⠴ 正在编译...EINVAL: invalid argument, mkdir 'C:\Users\34829\Desktop\test\dist\C:\Users\34829\Desktop\test\src\pages\test'

EINVAL: invalid argument, mkdir 'C:\Users\34829\Desktop\test\dist\C:\Users\34829\Desktop\test\src\pages\test'
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^

[Error: EINVAL: invalid argument, mkdir 'C:\Users\34829\Desktop\test\dist\C:\Users\34829\Desktop\test\src\pages\test'] {
errno: -4071,
code: 'EINVAL',
syscall: 'mkdir',
path: 'C:\Users\34829\Desktop\test\dist\C:\Users\34829\Desktop\test\src\pages\test'
}

环境信息

👽 Taro v3.6.35


  Taro CLI 3.6.35 environment info:
    System:
      OS: Windows 11 10.0.22631
    Binaries:
      Node: 16.20.2 - D:\node\node.EXE
      npm: 8.19.4 - D:\node\npm.CMD
    npmPackages:
      @tarojs/cli: 3.6.35 => 3.6.35
      @tarojs/components: 3.6.35 => 3.6.35
      @tarojs/helper: 3.6.35 => 3.6.35
      @tarojs/mini-runner: 3.6.35 => 3.6.35
      @tarojs/plugin-framework-react: 3.6.35 => 3.6.35
      @tarojs/plugin-platform-alipay: 3.6.35 => 3.6.35
      @tarojs/plugin-platform-h5: 3.6.35 => 3.6.35
      @tarojs/plugin-platform-jd: 3.6.35 => 3.6.35
      @tarojs/plugin-platform-qq: 3.6.35 => 3.6.35
      @tarojs/plugin-platform-swan: 3.6.35 => 3.6.35
      @tarojs/plugin-platform-tt: 3.6.35 => 3.6.35
      @tarojs/plugin-platform-weapp: 3.6.35 => 3.6.35
      @tarojs/react: 3.6.35 => 3.6.35
      @tarojs/runtime: 3.6.35 => 3.6.35
      @tarojs/shared: 3.6.35 => 3.6.35
      @tarojs/taro: 3.6.35 => 3.6.35
      @tarojs/webpack-runner: 3.6.35 => 3.6.35
      babel-preset-taro: 3.6.35 => 3.6.35
      eslint-config-taro: 3.6.35 => 3.6.35
      react: ^18.3.1 => 18.3.1

补充信息

复现仓库: https://github.com/lupingW/taroerror

@lupingW
Copy link
Author

lupingW commented Jan 10, 2025

@Chen-jj 大佬 有时间帮康康

@lupingW
Copy link
Author

lupingW commented Jan 10, 2025

补充一下: demo用webpack5没问题, 用webpack4有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant