Closed JulienHenrotin closed 10 months ago
Could you try using 'npm i @rollup/rollup-win32-x64-msvc' to install this package?
Could you try using 'npm i @rollup/rollup-win32-x64-msvc' to install this package?
Already try it but no apparent change.
After several minutes trying to fix it I decided to use another package manager.
I used the commands npm cache clean --force
and rm -rf node_modules package-lock.json
.
Then I realized that I could prevent the same error from occurring without needing to add the optional rollup
dependency. It was just necessary to remove the --no-optional
flag in the "Install Dependencies" section of my ci.yml file
.
I hope that helps!
+1
necessary @mahsarajabpour
I am facing the above issues in angular. I am not getting your point. Can you please elaborate this.
@Bhavanesh22 did you find the solution for this? I am facing the same issue in angular and I have tried almost everything mentioned above
@Bhavanesh22 did you find the solution for this? I am facing the same issue in angular and I have tried almost everything mentioned abov
@DikshaAdhikari
This issue happens because of jfrog configuration and npm is not installing properly. I didn't find the permanent solution for this issue.
But I have a temporary solution.
Get a copy of nodemodules/@rollup file from any of your previous working project or get it from your colleague and replace the file in your current project.
Keep the working rollup file for future use .
Thank you @Bhavanesh22, it worked for me :)
Rollup Version
4.9.2
Operating System (or Browser)
Windows 11
Node Version (if applicable)
20.10.0
Link To Reproduction
https://github.com/JulienHenrotin/testNuxt3
Expected Behaviour
I can no longer launch my Nuxt 3 project due to Rollup package
I cloned my web project into a machine with a fresh Windows 11 installation but I'm unable to get past the package installation step.
Before this, I installed Node using NVM (Node Version Management).
After clone project I just have to install dependencies before run the project.
Environment
Runtime Modules: @nuxtjs/tailwindcss@6.10.1, @nuxtjs/google-fonts@3.1.3, @nuxtjs/html-validator@1.6.0, @vueuse/nuxt@10.7.0, @nuxtjs/i18n@8.0.0-beta.9, nuxt-icons@3.2.1, @nuxt/image@1.1.0, @nuxtjs/fontaine@0.4.1, nuxt-schema-org@3.2.1, nuxt-delay-hydration@1.3.3
Actual Behaviour
When I run
npm install
, I get the following error:What I tried:
"overrides": {"rollup": "4.6.1"}