I installed rollup globally:
npm install -g rollup
Then, I tried to install a plugin, locally:
C:\wwwroot\speech-to-text [master +9 ~0 -0 !]> npm install rollup-plugin-json
npm WARN [email protected] requires a peer of rollup@>=0.60.0 <1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of rollup@>=0.56.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
+ [email protected]
updated 1 package in 1.895s
It gives warnings that rollup isn't installed. Does anyone know why? Here is me checking the version, in case you doubt that rollup was actually installed:
C:\wwwroot\speech-to-text [master +9 ~0 -0 !]> rollup -v
rollup v0.66.2
I believe the problem is that you have installed rollup in the global context.
You may try to install rollup this way
npm install rollup --save-dev
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With