Skip to content

houdini does not work with current sveltkit version ($app/env has been renamed to $app/environment) #515

Closed
@nhe23

Description

@nhe23

Describe the bug

In recent sveltekit changes $app/env has been renamed to $app/environment. Houdini however generates code with references to '$app/env' which breaks the sveltekit app.

Severity

blocking an upgrade

Steps to Reproduce the Bug

  1. Use houdini in sveltekit project with the newest version

Expected behavior

I expect houdini to work with sveltekit

System Info

System:
    OS: macOS 12.5.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 74.70 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.4.0 - ~/.volta/tools/image/node/18.4.0/bin/node
    Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
    npm: 8.12.1 - ~/.volta/tools/image/node/18.4.0/bin/npm
  Browsers:
    Brave Browser: 103.1.41.96
    Chrome: 105.0.5195.102
    Firefox: 104.0
    Safari: 15.6.1
  npmPackages:
    @sveltejs/adapter-node: 1.0.0-next.88 => 1.0.0-next.88 
    @sveltejs/kit: 1.0.0-next.471 => 1.0.0-next.471 
    houdini: 0.15.9 => 0.15.9 
    svelte: ^3.44.0 => 3.48.0 
    vite: 3.1.0 => 3.1.0

Reproduction

No response

Additional context

No response

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