getting-started icon indicating copy to clipboard operation
getting-started copied to clipboard

PS D:\wechaty\wechaty-getting-started> npm install安装失败

Open livingbody opened this issue 3 years ago • 10 comments

🚨 The issue tracker is not for questions 🚨

If you have a question, please ask it on https://stackoverflow.com/questions/tagged/wechaty

[question] 9 verbose type range 2710 verbose stack wechaty-puppet-whatsapp: No matching version found for wechaty-puppet-whatsapp@^0.2.4. 2710 verbose stack at module.exports (C:\Users\livingbody\AppData\Roaming\npm\node_modules\npm\node_modules\npm-pick-manifest\index.js:209:23) 2710 verbose stack at C:\Users\livingbody\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\registry.js:118:26 2710 verbose stack at async Arborist.[nodeFromEdge] (C:\Users\livingbody\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:936:19) 2710 verbose stack at async Arborist.[buildDepStep] (C:\Users\livingbody\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:882:11) 2710 verbose stack at async Arborist.buildIdealTree (C:\Users\livingbody\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:218:7) 2710 verbose stack at async Promise.all (index 1) 2710 verbose stack at async Arborist.reify (C:\Users\livingbody\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\reify.js:134:5) 2710 verbose stack at async Install.install (C:\Users\livingbody\AppData\Roaming\npm\node_modules\npm\lib\install.js:150:5) 2711 verbose cwd D:\wechaty\wechaty-getting-started 2712 verbose Windows_NT 10.0.19043 2713 verbose argv "D:\\Program Files\\nodejs\\node.exe" "C:\\Users\\livingbody\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" 2714 verbose node v16.4.2 2715 verbose npm v7.19.1 2716 error code ETARGET 2717 error notarget No matching version found for wechaty-puppet-whatsapp@^0.2.4. 2718 error notarget In most cases you or one of your dependencies are requesting 2718 error notarget a package version that doesn't exist. 2719 verbose exit 1

livingbody avatar Aug 05 '21 07:08 livingbody

同样遇到此问题

zhaobingss avatar Aug 15 '21 08:08 zhaobingss

+1,我也无法安装,无法运行 demo

lixiyu avatar Oct 28 '21 18:10 lixiyu

同上,node版本v16.11.1,好难运行起来,太乱了,各种不兼容

goldcome avatar Nov 04 '21 09:11 goldcome

@goldcome @lixiyu @zhaobingss For easy getting started, I'd like to suggest that you can following our official getting start guide at https://wechaty.js.org/2021/02/06/wechaty-getting-started-without-leave-your-browser/

TL;DR: click it -> Click me

huan avatar Nov 04 '21 09:11 huan

@huan I meet the problem at last week ,It also can‘t running in Gitpod something going wrong in nodejs environment . but it runnable in this week

lixiyu avatar Nov 04 '21 10:11 lixiyu

@lixiyu Thanks for the reporting.

We are upgrading versions in the past week and there might be some version mismatch problem.

Please feel free to let me know if you have any problems in the current getting started repo, especially in the GitPod & google cloud shell environments because they are reproducible.

huan avatar Nov 04 '21 11:11 huan

@huan Ok, Thank You. I will be more free in next time

lixiyu avatar Nov 04 '21 11:11 lixiyu

You are welcome!

huan avatar Nov 04 '21 12:11 huan

我的问题是出现npm ERR! notarget No matching version found for wechaty-puppet@^1.2.7. 我用的是淘宝源,后面发现淘宝同步的版本只到1.0.1,我手动同步下淘宝源,然后现在没有问题了

goldcome avatar Nov 04 '21 15:11 goldcome

@goldcome Glad to know that it works for you now!

huan avatar Nov 04 '21 15:11 huan