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

copy folder not work on termux #281

Closed
yozman opened this issue Jul 4, 2020 · 3 comments
Closed

copy folder not work on termux #281

yozman opened this issue Jul 4, 2020 · 3 comments
Assignees
Milestone

Comments

@yozman
Copy link
Contributor

yozman commented Jul 4, 2020

Environment

  • OS Version: android with termux app
  • Node.js Version: 14.4.0

Actual behavior

copy folder is not work

Expected behavior

Steps to reproduce

  1. install termux app on android phone
  2. pkg install nodejs in termux
  3. npm i -g @angular/cli
  4. ng new reproduce
  5. cd reproduce
  6. ng serve

fast-glob use by @angular/cli
configure at angular.json

"assets": [
  "src/favicon.ico",
  "src/assets"
]

file type is works well,
folder with glob type will be suspend
so ng serve will waiting for
92% additional asset processing copy-webpack-plugin

Code sample

// Paste your code here.
@mrmlnc mrmlnc self-assigned this Aug 15, 2020
@mrmlnc
Copy link
Owner

mrmlnc commented Aug 15, 2020

Hello, @yozman,

Sorry, I don't know anything about how @angular/cli (and ng, copy-webpack-plugin, …) uses my package. If you can reproduce the problem on your phone directly by working with the fast-glob package, please let us know.

@mrmlnc mrmlnc closed this as completed Aug 15, 2020
@yozman
Copy link
Contributor Author

yozman commented Nov 17, 2020

Hello, @yozman,

Sorry, I don't know anything about how @angular/cli (and ng, copy-webpack-plugin, …) uses my package. If you can reproduce the problem on your phone directly by working with the fast-glob package, please let us know.

I found the reason.
os.cpus() will return [] on some platform like android.

@yozman
Copy link
Contributor Author

yozman commented Nov 17, 2020

@mrmlnc
here is pr to fix it
#296

@mrmlnc mrmlnc added this to the 3.2.5 milestone Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants