cwebp-bin icon indicating copy to clipboard operation
cwebp-bin copied to clipboard

Strange file created on arm64

Open dbcesar opened this issue 2 years ago • 2 comments

Hello everyone,

I'm using [email protected], which requires [email protected] on a ubuntu 18.04 with arm64 architecture I end up having a file with

user@manager-web$ nodejs --version
v16.16.0
user@manager-web$ npm -v
8.16.0
user@manager-web$ ls node_modules/cwebp-bin/ -lah
total 52K
drwxr-xr-x   4 user user 4.0K Aug 11 10:48  .
drwxr-xr-x 537 user user  20K Aug 11 10:20  ..
-rw-r--r--   1 user user    0 Aug 11 10:18 ''$'\001\225\001''@'$'\b\v''@@8'
-rwxr-xr-x   1 user user  219 Aug 11 10:18  cli.js
-rw-r--r--   1 user user   62 Aug 11 10:18  index.js
drwxr-xr-x   2 user user 4.0K Aug 11 10:18  lib
-rw-r--r--   1 user user 1.1K Aug 11 10:18  license
-rw-r--r--   1 user user  924 Aug 11 10:18  package.json
-rw-r--r--   1 user user  915 Aug 11 10:18  readme.md
drwxr-xr-x   6 user user 4.0K Aug 11 10:20  vendor

Do you have any idea where is that coming from? I can confirm that using same setup, but on a x86_64 architecture I don't have this file.

Thanks in advance

dbcesar avatar Aug 11 '22 11:08 dbcesar

It comes from this weird bug. It even causes a crash when installing with yarn instead of npm. I pushed a workaround in #60.

gilbsgilbs avatar Aug 23 '22 16:08 gilbsgilbs

Thanks for replying. I was afraid to be the only one experiencing it. I'm waiting for the PR to be merged so I can test it.

dbcesar avatar Aug 30 '22 09:08 dbcesar