0

I cannot install the microsoft/signalr package inside my Vue.js project.

Import

import signalR from '@microsoft/signalr';

Install Command:

npm install @microsoft/signalr

During runtime I get:

Uncaught Error: This is a placeholder package!
Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
Matthias
  • 1,386
  • 3
  • 24
  • 59
  • Are there any other packages you're referencing? Seems unlikely that it's related to the SignalR package. – Brennan Jun 03 '21 at 17:00

1 Answers1

0

USE =>

npm install @microsoft/signalr --save
Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
  • Unless the OP is using a very old version of NPM, [the `--save` option is no longer needed](https://stackoverflow.com/a/19578808/4468423). – Erich Jun 03 '22 at 14:42