I would like to ask if how should I fix this issue because I am already stuck and confused about this part. I already installed rollup globally using this command
npm install --global rollup
However when I tried to run the 'rollup' command then I should expect the rollup information or something will show in my CLI? but my CLI shows
'rollup' is not recognized as an internal or external command, operable program or batch file.
What I have done so far is.
- Updated the NPM
- Reinstall the rollup globally.
I already read some documentation but the issue is still showing.
Please enlighten me. Thank you
I would like to ask if how should I fix this issue because I am already stuck and confused about this part. I already installed rollup globally using this command
npm install --global rollup
However when I tried to run the 'rollup' command then I should expect the rollup information or something will show in my CLI? but my CLI shows
'rollup' is not recognized as an internal or external command, operable program or batch file.
What I have done so far is.
- Updated the NPM
- Reinstall the rollup globally.
I already read some documentation but the issue is still showing.https://github.com/Esri/ago-assistant/issues/176
Please enlighten me. Thank you
Share Improve this question edited Oct 4, 2021 at 7:26 cdt asked Oct 1, 2021 at 0:17 cdtcdt 1851 gold badge2 silver badges12 bronze badges 3 |3 Answers
Reset to default 7npm install
fixed this issue for me
What I just have done just to run the script globally.
I just added these scripts in my package.json to run the rollup using NPM.
"scripts": {
"rollup": "rollup"
is this okay?
Try restarting your terminal
Try locating where the Rollup binary is installed %AppData%\npm\node_modules or %AppData%\roaming\npm\node_modules and run it manually like
%AppData%\npm\node_modules\rollup\bin\rollup.exe
npm install
command in my corresponding folder. – Sezgin İbiş Commented Jun 25, 2022 at 14:39