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

记录一下手机端跑不动的Node API #4

Open
zombieyang opened this issue Sep 9, 2022 · 0 comments
Open

记录一下手机端跑不动的Node API #4

zombieyang opened this issue Sep 9, 2022 · 0 comments

Comments

@zombieyang
Copy link
Contributor

zombieyang commented Sep 9, 2022

ios:

  1. fs.copyFile 报ENOSYS。替代做法为:fs.createReadStream(abc).pipe(fs.createWriteStream(cba))
  2. process.spawnSync 报EPERM。ios app不允许创建子进程。process.execSync同理
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