WangYihang / acw-sc-v2.js

`acw_sc__v2` cookie generator
https://acw-sc-v2.vercel.app
6 stars 1 forks source link

ERROR: [Errno 2] No such file or directory: 'install' #1

Open hicaesarchan opened 2 months ago

hicaesarchan commented 2 months ago

Hi,

Got some error as below root@hk:~/acw-sc-v2.js# yarn install 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install' root@hk:~/acw-sc-v2.js# node app.js node:internal/modules/cjs/loader:1146 throw err; ^

Error: Cannot find module 'jsdom' Require stack:

WangYihang commented 2 months ago

Thanks for reporting, I will check it out soon.

WangYihang commented 2 months ago

Why your yarn install command outputed a wired log: 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'.

Could you please confirm you are running the correct yarn command?

Try to execute which yarn to investigate.

Or install yarn first ^1.

Everything works on my workstation, see the output.

➜  acw-sc-v2.js git:(main) npm install -g yarn
added 1 package in 6s
➜  acw-sc-v2.js git:(main) yarn install
yarn install v1.22.22
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
info There appears to be trouble with your network connection. Retrying...
[3/4] 🔗  Linking dependencies...
warning " > bootstrap@5.3.2" has unmet peer dependency "@popperjs/core@^2.11.8".
[4/4] 🔚  Building fresh packages...
✹  Done in 114.31s.
➜  acw-sc-v2.js git:(main) ls
Dockerfile                cli.js                    src
README.md                 docker-compose.yaml       webpack.config.browser.js
app.js                    node_modules              webpack.config.cli.js
assets                    package.json              yarn.lock
➜  acw-sc-v2.js git:(main) node app.js
Web server listening on port 3000
(node:50576) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
::1 - - [25/Aug/2024:03:52:02 +0000] "GET / HTTP/1.1" 404 139 "-" "curl"