Skip to content

Starter Template Documentation #252

@marvfinsy

Description

@marvfinsy

Just tried following ur doc using the Starter Template and had numerous issues.

Using node v16.

  1. After using init to generate project. npm install failed. There were dependency issues with the vite/plugin library. Searching npm i modified the package.json to use the most versions of current vite/plugin and vite libraty. This seemed to fix the dependency issue.
  2. Tried to run using $> npm run dev. Received error because of the: disableDependencyReinclusion: ['@roxi/routify'] option that was set in svelte.config.js. The message was not clear but did mention the option as part of the plugin in vite.config.js. I tried moving the setting to the vite.config.js as follows: plugins: [svelte( { disableDependencyReinclusion: ['@roxi/routify'] } )]. It does run now but i'm not sure about the config setting.

Took me 2 hours to get the Starter Template to work.

Can u verify that moving that setting to vit.config.js as i described about is correct?

thx ~Marvin Foster
marvinfoster@finsync.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions