Comments (4)
@weisheng-homage a new minor release was published earlier this week (3.13.0
). Could you try that version?
from vonage-node-sdk.
hi @manchuck thanks for the response.
I don't think 3.13.0 is published yet. the latest is 3.12.2 on npmjs.com and github releases.
this is what i get when i run the npm command to install
% npm i @vonage/[email protected] --save
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vonage/[email protected].
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/_logs/2024-02-14T01_05_20_963Z-debug-0.log
detailed npm log says the same thing
37 silly fetch manifest @vonage/[email protected]
38 timing arborist:ctor Completed in 0ms
39 http fetch GET 200 https://registry.npmjs.org/@vonage%2fserver-sdk 8ms (cache hit)
40 silly placeDep ROOT @vonage/server-sdk@ OK for: [email protected] want: 3.13.0
41 timing idealTree:#root Completed in 12ms
42 timing idealTree:node_modules/@vonage/server-sdk Completed in 0ms
43 timing idealTree:buildDeps Completed in 12ms
44 timing idealTree:fixDepFlags Completed in 0ms
45 timing idealTree Completed in 23ms
46 timing command:i Completed in 29ms
47 verbose type version
48 verbose stack @vonage/server-sdk: No matching version found for @vonage/[email protected].
48 verbose stack at module.exports (/usr/local/lib/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js:209:23)
48 verbose stack at RegistryFetcher.manifest (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:119:22)
48 verbose stack at async #nodeFromEdge (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1049:19)
48 verbose stack at async #buildDepStep (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:917:11)
48 verbose stack at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:196:7)
48 verbose stack at async Promise.all (index 1)
48 verbose stack at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:159:5)
48 verbose stack at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:152:5)
48 verbose stack at async module.exports (/usr/local/lib/node_modules/npm/lib/cli-entry.js:61:5)
49 verbose cwd vonage_broke_ts
50 verbose Darwin 23.1.0
51 verbose node v20.11.0
52 verbose npm v10.2.4
53 error code ETARGET
54 error notarget No matching version found for @vonage/[email protected].
55 error notarget In most cases you or one of your dependencies are requesting
55 error notarget a package version that doesn't exist.
56 verbose exit 1
57 timing npm Completed in 145ms
58 verbose unfinished npm timer reify 1707872721079
59 verbose unfinished npm timer reify:loadTrees 1707872721083
60 verbose code 1
from vonage-node-sdk.
in case anyone stumble into the same issue.
there are at least 2 workarounds
- upgrade to node 18 and beyond. This allow you to use the build in
fetch
API. (we chose to do this) - move away from
node-fetch
v3 there are plenty of other polyfill fetch library that do not force people to move toesm-only
mode
additional note: fetch is consider experimental before node 21 - it works well for our use cases, your experience might varies.
from vonage-node-sdk.
@weisheng-homage Apologies again, I'm at ConFoo and must have missed publishing 3.13. During the Con I published 3.13.1 to address an issue with the public key reading. I have confirmed that 3.13.1 is published: https://www.npmjs.com/package/@vonage/server-sdk/v/3.13.1
from vonage-node-sdk.
Related Issues (20)
- [Bug]: vonage video createSession returns undefined sessionId HOT 4
- How Do I: transfer call HOT 2
- How Do I: connect 2 real phones? HOT 2
- Action Required: Fix Mend Configuration File - .whitesource - autoclosed HOT 1
- Action Required: Fix Mend Configuration File - .whitesource
- [Bug]: many deprecations when installed HOT 1
- [Bug]: Can not link vonage application with my VR phone number HOT 6
- [Bug]: Differences between documentation and implementation HOT 4
- [Bug]: voice.playTTS: TypeError: instanceof called on an object with an invalid prototype property. HOT 6
- [Bug]: numbers.getOwnedNumbers does not return all numbers HOT 2
- [Bug]: Update to use `fetch` over `node-fetch`? HOT 1
- How Do I: Send this template HOT 4
- How Do I: Send this template HOT 1
- How Do I: Send a whatsapp template from the same bot while running the AI Studio application HOT 1
- [Bug]: No matching version found for @vonage/conversations@^1.3.0. HOT 2
- ¿How do I authenticate sending this whatsapp Template using an ACL?
- ¿How do I authenticate sending this whatsapp Template using an ACL? HOT 3
- [Bug]: Switch to ESM breaks existing applications HOT 5
- [Bug]: Users Update should be PATCH not PUT HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vonage-node-sdk.