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

[Bug?]: No valid compatibility date is specified. #1670

Open
2 tasks done
OrJDev opened this issue Nov 2, 2024 · 6 comments
Open
2 tasks done

[Bug?]: No valid compatibility date is specified. #1670

OrJDev opened this issue Nov 2, 2024 · 6 comments
Labels
bug Something isn't working vinxi related to vinxi

Comments

@OrJDev
Copy link
Contributor

OrJDev commented Nov 2, 2024

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

Seems like some commit broke something, using

    "@solidjs/router": "^0.15.0",
    "@solidjs/start": "^1.0.10",
    "autoprefixer": "^10.4.19",
    "postcss": "^8.4.38",
    "solid-js": "^1.9.2",
    "tailwindcss": "^3.4.3",
    "vinxi": "^0.4.3"

when running pnpm dev you get this warning:

 WARN  No valid compatibility date is specified.                                                                             nitro 1:12:01 AM

ℹ Using 2024-04-03 as fallback.                                                                                             nitro 1:12:01 AM
  Please specify compatibility date to avoid unwanted behavior changes:
     - Add compatibilityDate: '2024-11-03' to the config file.
     - Or set COMPATIBILITY_DATE=2024-11-03 environment variable.

this is a warning i got in a brand new SolidStart app + Tailwind using the Solid cli to create this app.

Screenshot 2024-11-03 at 1 13 34

Expected behavior 🤔

No response

Steps to reproduce 🕹

Steps:

  1. Create New SolidStart + Tailwind App
  2. Install Deps
  3. Run the dev server

Context 🔦

No response

Your environment 🌎

No response

@OrJDev OrJDev added the bug Something isn't working label Nov 2, 2024
@notKamui
Copy link

notKamui commented Nov 4, 2024

This seems like a vinxi issue as it is happening to me too with tanstack-start, which uses vinxi

@karimmaassen
Copy link

I have the same issue.

    "@solidjs/start": "^1.0.10",
    "firebase-admin": "^12.7.0",
    "firebase-functions": "^6.1.0",
    "firebase-functions-test": "^3.3.0",
    "solid-js": "^1.9.2",
    "vinxi": "^0.4.3"

@OrJDev
Copy link
Contributor Author

OrJDev commented Nov 10, 2024

I have the same issue.


    "@solidjs/start": "^1.0.10",

    "firebase-admin": "^12.7.0",

    "firebase-functions": "^6.1.0",

    "firebase-functions-test": "^3.3.0",

    "solid-js": "^1.9.2",

    "vinxi": "^0.4.3"

Yes its just a vinxi (nitro) issues @nksaraf

@ryansolid ryansolid added the vinxi related to vinxi label Nov 11, 2024
@ocombe
Copy link

ocombe commented Nov 12, 2024

Got the same error but I'm not using solidjs or vinxi, just nitrojs (which I guess is used by vinxi)

@OrJDev
Copy link
Contributor Author

OrJDev commented Nov 12, 2024

Got the same error but I'm not using solidjs or vinxi, just nitropack (which I guess is used by vinxi)

Ye looks like a nitro issues

@yurisich
Copy link
Contributor

Workaround:

   "name": "example-basic",
   "type": "module",
   "scripts": {
-    "dev": "vinxi dev",
+    "dev": "COMPATIBILITY_DATE=2024-11-24 vinxi dev",
     "build": "vinxi build",
     "start": "vinxi start",
     "version": "vinxi version"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vinxi related to vinxi
Projects
None yet
Development

No branches or pull requests

6 participants