Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

functions-internal is emptied - adapter-netlify #8903

Closed
lemusthelroy opened this issue Feb 6, 2023 · 0 comments · Fixed by #8899
Closed

functions-internal is emptied - adapter-netlify #8903

lemusthelroy opened this issue Feb 6, 2023 · 0 comments · Fixed by #8899
Labels
bug Something isn't working pkg:adapter-netlify
Milestone

Comments

@lemusthelroy
Copy link
Contributor

Describe the bug

Some Netlify integrations, such as the emails integration, auto generate functions prior to the build and these will exist in the functions-internal folder.

I am not totally aware of why the functions-internal directory is emptied currently by this adapter, however, by emptying the folder completely, any auto-generated functions will be deleted.

Reproduction

  • Create any app using sveltekit
  • Follow the steps to add the Netlify adapter
  • Follow these docs to add the Netlify emails integration
  • Run netlify build and observe that the emails function is create in .netlify/functions-internal and is then removed

Logs

No response

System Info

System:
    OS: macOS 13.2
    CPU: (10) arm64 Apple M1 Pro
    Memory: 357.80 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.16.0/bin/yarn
    npm: 9.1.1 - ~/.nvm/versions/node/v16.16.0/bin/npm
  Browsers:
    Chrome: 109.0.5414.119
    Firefox: 108.0.1
    Safari: 16.3
  npmPackages:
    @sveltejs/adapter-auto: ^1.0.0 => 1.0.2 
    @sveltejs/adapter-netlify: ^1.0.5 => 1.0.5 
    @sveltejs/kit: ^1.0.0 => 1.3.10 
    svelte: ^3.54.0 => 3.55.1 
    vite: ^4.0.0 => 4.1.1

Severity

annoyance

Additional Information

No response

@dummdidumm dummdidumm added bug Something isn't working pkg:adapter-netlify labels Feb 6, 2023
@dummdidumm dummdidumm added this to the soon milestone Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pkg:adapter-netlify
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants