Coder Social home page Coder Social logo

Refused to execute script about analytics HOT 12 CLOSED

vercel avatar vercel commented on April 30, 2024 1
Refused to execute script

from analytics.

Comments (12)

ghoshnirmalya avatar ghoshnirmalya commented on April 30, 2024 1

@chriswdmr I'm getting the same error even after deployment. I'm using the following versions:

"@vercel/analytics": "0.1.3",
"next": "12.1.4",

Can you please re-open this issue?

from analytics.

alex289 avatar alex289 commented on April 30, 2024 1

I did not check if it was resolved after this but if it is I can say it's resolved for me

from analytics.

ghoshnirmalya avatar ghoshnirmalya commented on April 30, 2024 1

@tobiaslins You can use https://devrel-stack-guides.vercel.app/guides.

from analytics.

chriswdmr avatar chriswdmr commented on April 30, 2024

Thanks for reaching out!
It seems like you haven't redeployed after you enabled the feature on the Vercel dashboard.

Please make sure you:

  1. Enable the feature on the Vercel dashboard
  2. Install the package based on the instructions
  3. Redeploy your app

Once you redeployed after enabling the feature, the route /va/script.js will become available on your deployment

from analytics.

alex289 avatar alex289 commented on April 30, 2024

I redeployed but still the same error

from analytics.

alex289 avatar alex289 commented on April 30, 2024

@chriswdmr I'm getting the same error even after deployment. I'm using the following versions:

"@vercel/analytics": "0.1.3",
"next": "12.1.4",

Can you please re-open this issue?

I still have this error too but I don’t have the permission to reopen it sorry

from analytics.

tobiaslins avatar tobiaslins commented on April 30, 2024

@ghoshnirmalya can you please share a deployment URL with us? When was your last redeployment?

@alex289 I see your production deployment already exposes https://alexanderkonietzko.vercel.app/va/script.js for you, so resolved?

from analytics.

ghoshnirmalya avatar ghoshnirmalya commented on April 30, 2024

@tobiaslins You can check out https://rapidapi.com/guides/categories/graphql. The last deployment was 4 days ago.

from analytics.

tobiaslins avatar tobiaslins commented on April 30, 2024

@ghoshnirmalya I can't see the deployment url (vercel.sh) easily because the /guides thing is proxied right?
Can you just try redeploying and see if it works? If not please send me the deployment url (ending with .vercel.sh)
Thanks :)

from analytics.

tobiaslins avatar tobiaslins commented on April 30, 2024

@ghoshnirmalya I just found out that you're proxying the Next.js app and the root is not rapidapi.com but rapidapi.com/guides right?

from analytics.

ghoshnirmalya avatar ghoshnirmalya commented on April 30, 2024

@tobiaslins That is correct.

from analytics.

tobiaslins avatar tobiaslins commented on April 30, 2024

@ghoshnirmalya Can you tell us more on your proxy setup? It seems like (https://rapidapi.com/guides/va/script.js) is also not available. Could you please send us a deployment url (ending with .vercel.sh)? Thanks!

from analytics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.