Jump to content
Search Community

Please help me. When I deploy my application to vercel, it doesn't run like local

devdongvi
Moderator Tag

Recommended Posts

Posted

Hi there,

 

I can't load this stackblitz so it's a little hard to help -

  - Environments: .env

  Starting...
   Downloading swc package @next/swc-wasm-nodejs...
  Attempted to load @next/swc-linux-x64-gnu, but an error occurred: Cannot load native addon because loading addons is disabled: /home/vidongls/portfolio-ivgnod/node_modules/@next/swc-linux-x64-gnu/next-swc.linux-x64-gnu.node
  Attempted to load @next/swc-linux-x64-musl, but an error occurred: Cannot load native addon because loading addons is disabled: /home/vidongls/portfolio-ivgnod/node_modules/@next/swc-linux-x64-musl/next-swc.linux-x64-musl.node
  Failed to load SWC binary for linux/x64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc


Can you explain what you mean by "it doesn't run like local" and give us some steps to replicate this?

It's worth mentioning that if your GSAP code is working locally but not on vercel, this is likely an issue with your build process or deployment process, rather than with your GSAP code, so we may not be able to assist. These forums are mainly for questions and help with the GSAP API. We'll see what we can do though.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...