nestjs / nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
https://nestjs.com
MIT License
66.9k stars 7.55k forks source link

No matching version found for @nestjs/websockets@^5.0.0 - Cats Sample #633

Closed maikthomas closed 6 years ago

maikthomas commented 6 years ago

I'm submitting a...


[ ] Regression 
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

Running npm install fails due to missing packages for specified versions

MacBook-Pro-4:01-cats-app mgt$ npm i
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @nestjs/websockets@^5.0.0
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! notarget 
npm ERR! notarget It was specified as a dependency of 'nest-typescript-starter'

Expected behavior

npm successfully installs dependencies

Minimal reproduction of the problem with instructions

# 1 clone repo
git clone git@github.com:nestjs/nest.git
# 2 cd into cats-app
cd nest/sample/01-cats-app/
# install dependencies with npm
npm i

What is the motivation / use case for changing the behavior?

Environment


Nest version: 5.0.0


For Tooling issues:
- Node version: XX  
Node: v8.11.1 
npm: 5.6.0
- Platform:  
Mac            
kamilmysliwiec commented 6 years ago

Hi @maikthomas, The reason is that the final v5.0.0 version is not published yet. However, the release candidate (v5.0.0-rc.2) is available already. Let's use it instead.

kamilmysliwiec commented 6 years ago

Note: the final v5.0.0 will be published very soon

maikthomas commented 6 years ago

OK thanks, the samples probably should've been updated after publishing in that case. I just checked out an older tag and used those samples though 👍

chandra1123 commented 6 years ago

W 1 2 

C1 zx Sent from my Samsung Galaxy smartphone. null

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.