Giter Club home page Giter Club logo

Comments (14)

userquin avatar userquin commented on May 30, 2024 1

@Nickersoft found the problem, we need to create the .svelte-kit/output/client folder, since the kit pwa plugin runs after prerender but before adapter processes, that folder is not there on first build.

Can you just create client folder and test again? I'll send a fix ASAP.

EDIT: the folder is recreated every time we run build and so will not work

from sveltekit.

userquin avatar userquin commented on May 30, 2024

@Nickersoft using Node 18 with linked repo:

imagen

from sveltekit.

userquin avatar userquin commented on May 30, 2024

and the preview in oflline mode:

imagen

from sveltekit.

userquin avatar userquin commented on May 30, 2024

try removing node_modules and reinstalling dependencies

from sveltekit.

Nickersoft avatar Nickersoft commented on May 30, 2024

My apologies, my reproduction is linked at the bottom of the issue. The site you just ran is the example repo I gave that seems to be working, despite having the same setup as my failing reproduction. I've tried wiping node_modules, but to no avail.

from sveltekit.

userquin avatar userquin commented on May 30, 2024

ok, I'll check it later...

from sveltekit.

Nickersoft avatar Nickersoft commented on May 30, 2024

Thanks for looking into this @userquin! Interesting... any idea why it works for the first repo I linked, but not for my reproduction?

from sveltekit.

userquin avatar userquin commented on May 30, 2024

Using another previous kit version, iirc 1.5.0

from sveltekit.

Nickersoft avatar Nickersoft commented on May 30, 2024

Huh... could have sworn I tried 1.5.0 and it still failed. Maybe it was using a version range I wasn't aware of.

from sveltekit.

userquin avatar userquin commented on May 30, 2024

@Nickersoft can you try adding some pwa manifest icons?

from sveltekit.

Nickersoft avatar Nickersoft commented on May 30, 2024

I copied the exact manifest from WhatSend (that contains manifest icons), as well as its assets (in ./src/assets), and am still receiving the same error

from sveltekit.

userquin avatar userquin commented on May 30, 2024

@Nickersoft can you test with latest release v0.2.2?

from sveltekit.

Nickersoft avatar Nickersoft commented on May 30, 2024

Whoops, just saw this – seems to be building now, thanks!

from sveltekit.

leovoon avatar leovoon commented on May 30, 2024
  .svelte-kit/output/server/sw.js
  .svelte-kit/output/server/workbox-fc5f5acf.js
warnings
  One of the glob patterns doesn't match any files. Please remove or fix the following: {
  "globDirectory": "/home/msi/tatan/.svelte-kit/output",
  "globPattern": "prerendered/**/*.html",
  "globIgnores": [
    "server/*.*",
    "server/sw.js",
    "server/workbox-*.js"
  ]
}

I got this when no routes are prerendered.

from sveltekit.

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.