wechaty / puppet-whatsapp

Wechaty Puppet for Whatsapp
https://npmjs.com/package/wechaty-puppet-whatsapp
Apache License 2.0
24 stars 17 forks source link

npm i wechaty-puppet-whatsapp ERR! code ETARGET #11

Open JiaQi-0827 opened 3 years ago

JiaQi-0827 commented 3 years ago

E:\bot\wechaty-getting-started>npm i wechaty-puppet-whatsapp npm ERR! code ETARGET npm ERR! notarget No matching version found for wechaty-puppet-whatsapp@^0.2.4. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in: npm ERR! D:\node\node_cache_logs\2021-08-05T06_40_46_306Z-debug.log

byteHulk commented 3 years ago

+1

nosun commented 3 years ago

+1

huan commented 3 years ago

I have just had a test under Linux:

┌ huan@huan-home:/tmp [11:05:05] tty:[2] jobs:[0]
└ $ mkdir t
┌ huan@huan-home:/tmp [11:05:06] tty:[2] jobs:[0]
└ $ cd t
┌ huan@huan-home:/tmp/t [11:05:07] tty:[2] jobs:[0]
└ $ npm init -y
Wrote to /tmp/t/package.json:

{
  "name": "t",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}

┌ huan@huan-home:/tmp/t [11:05:09] tty:[2] jobs:[0]
└ $ npm i wechaty-puppet-whatsapp

> sharp@0.28.3 install /tmp/t/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

sharp: Using cached /home/huan/.npm/_libvips/libvips-8.10.6-linux-x64.tar.br

> puppeteer@10.2.0 install /tmp/t/node_modules/puppeteer
> node install.js

Downloading Chromium r901912 - 140.9 Mb [====================] 99% 0.0s 
Chromium (901912) downloaded to /tmp/t/node_modules/puppeteer/.local-chromium/linux-901912
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN wechaty-puppet-whatsapp@0.2.4 requires a peer of wechaty-puppet@* but none is installed. You must install peer dependencies yourself.
npm WARN t@1.0.0 No description
npm WARN t@1.0.0 No repository field.

+ wechaty-puppet-whatsapp@0.2.4
added 117 packages from 261 contributors and audited 117 packages in 35.616s

11 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

┌ huan@huan-home:/tmp/t [11:05:47] tty:[2] jobs:[0]
└ $ 

Maybe it's related to the Windows platform?