Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Can't run Snapcode #360

Open
ShadyRover opened this issue Jul 19, 2022 · 0 comments
Open

Can't run Snapcode #360

ShadyRover opened this issue Jul 19, 2022 · 0 comments

Comments

@ShadyRover
Copy link

ShadyRover commented Jul 19, 2022

Describe the bug
when you run "yarn dev" it showed something like:

To Reproduce
Steps to reproduce the behavior:

  1. yarn dev
  2. See error

image

Custom directive is missing corresponding SSR transform and will be ignored.
9:01:36 PM [vite] Internal server error: Custom directive is missing corresponding SSR transform and will be ignored.
  Plugin: vite:vue
  File: /app/src/components/ui/InputUi.vue
  12 |        ></v-mdi>
  13 |        <input
  14 |          v-autofocus="autofocus"
     |           ^
  15 |          class="rounded-lg bg-input hover:bg-input-dark w-full focus:bg-input-dark transition"
  16 |          :class="[
      at Object.createCompilerError (/app/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:19:19)
      at createSSRCompilerError (/app/node_modules/@vue/compiler-sfc/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js:145:24)
      at Array.ssrPostTransformElement (/app/node_modules/@vue/compiler-sfc/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js:589:41)
      at traverseNode (/app/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2205:19)
      at traverseChildren (/app/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2147:9)
      at traverseNode (/app/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2198:13)
      at traverseChildren (/app/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2147:9)
      at traverseNode (/app/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2198:13)
      at traverseChildren (/app/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2147:9)
      at traverseNode (/app/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2198:13)
Custom directive is missing corresponding SSR transform and will be ignored.

warn - The `purge`/`content` options have changed in Tailwind CSS v3.0.
warn - Update your configuration file to eliminate this warning.
warn - https://tailwindcss.com/docs/upgrade-guide#configure-content-sources

Expected behavior
Launch app

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Chrome
  • vite v2.9.1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant