cancel
Showing results for 
Search instead for 
Did you mean: 

load a new polymer project : 404 error on the service-worker.js file

jelninos_
Champ in-the-making
Champ in-the-making

I use the nuxeo bootstrap to create a new polymer project :

nuxeo bootstrap polymer
cd *-web
mvn package

But when I access my application in my browser, I have a 404 error on the service-worker.js file.

I added this file in polymer.json :

  "extraDependencies": [
    "manifest.json",
    "bower_components/webcomponentsjs/webcomponents-lite.min.js",
    "service-worker.js"
  ],

And now It's ok. My environment :

Nuxeo CLI             : 1.8.2
Modules
 - generator-nuxeo    : 2.8.0 
 - yeoman-environment : 2.0.5 
0 REPLIES 0
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.