Git Product home page Git Product logo

Comments (2)

Cryodev1 avatar Cryodev1 commented on July 18, 2024

Update: Installing Ultraviolet-Static worked but now the error has changed to

SecurityError: Failed to register a ServiceWorker for scope ('http://localhost:8080/service/') with script ('http://localhost:8080/uv/sw.js'): The path of the provided scope ('/service/') is not under the max scope allowed ('/uv/'). Adjust the scope, move the Service Worker script, or use the Service-Worker-Allowed HTTP header to allow the scope.

Along with

uv.sw.js:30 Uncaught TypeError: Class extends value undefined is not a constructor or null
at uv.sw.js:30:43
at uv.sw.js:1:4641
at sw.js:10:1

from ultraviolet-app.

e9x avatar e9x commented on July 18, 2024

SecurityError: Failed to register a ServiceWorker for scope ('http://localhost:8080/service/') with script ('http://localhost:8080/uv/sw.js'): The path of the provided scope ('/service/') is not under the max scope allowed ('/uv/'). Adjust the scope, move the Service Worker script, or use the Service-Worker-Allowed HTTP header to allow the scope.

You will either need to move the UV scripts to the root of your static directory, or configure your config to run on /uv/service/.

uv.sw.js:30 Uncaught TypeError: Class extends value undefined is not a constructor or null at uv.sw.js:30:43 at uv.sw.js:1:4641 at sw.js:10:1

This is due to cache or you have not updated your uv.bundle.js.

from ultraviolet-app.

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.