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

Infinite refresh running vite with @prefresh/vite plugin #1769

Closed
3 tasks done
vtenfys opened this issue Jan 28, 2021 · 1 comment
Closed
3 tasks done

Infinite refresh running vite with @prefresh/vite plugin #1769

vtenfys opened this issue Jan 28, 2021 · 1 comment

Comments

@vtenfys
Copy link

vtenfys commented Jan 28, 2021

⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

  • Read the docs.
  • Use Vite >=2.0. (1.x is no longer supported)
  • If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.

Describe the bug

As of vite@2.0.0-beta.52, @prefresh/vite causes an inifinite refresh when opened in the browser. This seems to be caused by b2110af.

Reproduction

  1. Clone https://github.com/davidbailey00/vite-prefresh-issue
    • OR yarn create/npm init @vitejs/app using preact template, then upgrade dependencies
  2. Install dependencies with npm install or yarn install
  3. Start app using npm run dev or yarn dev
  4. Open the app in a browser

Expected result: the page opens and doesn't refresh without a subsequent change
Actual result: the page starts refreshing repeatedly, and the following is logged to the console each time:

13:33:39 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:39 [vite] ✨ dependencies updated.

System Info

  • vite version: 2.0.0-beta.52
  • Operating System: macOS 11.2 arm64
  • Node version: v15.7.0
  • Package manager (npm/yarn/pnpm) and version: npm 7.4.3, yarn 1.22.10

Logs (Optional if provided reproduction)

  1. Run vite or vite build with the --debug flag.
  2. Provide the error log here.
$ vite
$ vite
Port 3000 is in use, trying another one...

⚡Vite dev server running at:

Local: http://localhost:3001/
Network: http://192.168.1.5:3001/

ready in 118ms.

13:33:39 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:39 [vite] ✨ dependencies updated.
13:33:39 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:39 [vite] ✨ dependencies updated.
13:33:39 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:39 [vite] ✨ dependencies updated.
13:33:40 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:40 [vite] ✨ dependencies updated.
13:33:40 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:40 [vite] ✨ dependencies updated.
13:33:40 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:40 [vite] ✨ dependencies updated.
13:33:40 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:40 [vite] ✨ dependencies updated.
13:33:40 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:40 [vite] ✨ dependencies updated.
13:33:41 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:41 [vite] ✨ dependencies updated.
13:33:41 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:41 [vite] ✨ dependencies updated.
13:33:41 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:41 [vite] ✨ dependencies updated.
13:33:41 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:41 [vite] ✨ dependencies updated.
13:33:42 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:42 [vite] ✨ dependencies updated.
13:33:42 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:42 [vite] ✨ dependencies updated.
13:33:42 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:33:42 [vite] ✨ dependencies updated.

$ vite --debug
$ /Users/david/Code/my-vue-app/node_modules/.bin/vite --debug
  vite:config bundled config file loaded in 41ms +0ms
  vite:config using resolved config: {
  vite:config   esbuild: {
  vite:config     jsxFactory: 'h',
  vite:config     jsxFragment: 'Fragment',
  vite:config     jsxInject: "import { h, Fragment } from 'preact'"
  vite:config   },
  vite:config   plugins: [
  vite:config     'vite:pre-alias',
  vite:config     'alias',
  vite:config     'vite:dynamic-import-polyfill',
  vite:config     'vite:resolve',
  vite:config     'vite:html',
  vite:config     'vite:css',
  vite:config     'vite:esbuild',
  vite:config     'vite:json',
  vite:config     'vite:wasm',
  vite:config     'vite:worker',
  vite:config     'vite:asset',
  vite:config     'prefresh',
  vite:config     'vite:css-post',
  vite:config     'vite:client-inject',
  vite:config     'vite:import-analysis'
  vite:config   ],
  vite:config   server: {},
  vite:config   configFile: '/Users/david/Code/my-vue-app/vite.config.js',
  vite:config   inlineConfig: {
  vite:config     root: undefined,
  vite:config     base: undefined,
  vite:config     mode: undefined,
  vite:config     configFile: undefined,
  vite:config     logLevel: undefined,
  vite:config     clearScreen: undefined,
  vite:config     server: {}
  vite:config   },
  vite:config   root: '/Users/david/Code/my-vue-app',
  vite:config   command: 'serve',
  vite:config   mode: 'development',
  vite:config   isProduction: false,
  vite:config   optimizeCacheDir: '/Users/david/Code/my-vue-app/node_modules/.vite',
  vite:config   alias: [ { find: /^\/@vite\//, replacement: [Function: replacement] } ],
  vite:config   build: {
  vite:config     target: [ 'es2019', 'edge16', 'firefox60', 'chrome61', 'safari11' ],
  vite:config     polyfillDynamicImport: true,
  vite:config     outDir: 'dist',
  vite:config     assetsDir: 'assets',
  vite:config     assetsInlineLimit: 4096,
  vite:config     cssCodeSplit: true,
  vite:config     sourcemap: false,
  vite:config     rollupOptions: {},
  vite:config     commonjsOptions: { include: [Array], extensions: [Array] },
  vite:config     minify: 'terser',
  vite:config     terserOptions: {},
  vite:config     cleanCssOptions: {},
  vite:config     write: true,
  vite:config     emptyOutDir: null,
  vite:config     manifest: false,
  vite:config     lib: false,
  vite:config     ssr: false,
  vite:config     ssrManifest: false
  vite:config   },
  vite:config   env: { BASE_URL: '/', MODE: 'development', DEV: true, PROD: false },
  vite:config   assetsInclude: [Function: assetsInclude],
  vite:config   logger: {
  vite:config     hasWarned: false,
  vite:config     info: [Function: info],
  vite:config     warn: [Function: warn],
  vite:config     error: [Function: error],
  vite:config     clearScreen: [Function: clearScreen]
  vite:config   },
  vite:config   base: '/',
  vite:config   createResolver: [Function: createResolver]
  vite:config } +2ms
  vite:deps Hash is consistent. Skipping. Use --force to override. +0ms
Port 3000 is in use, trying another one...
  vite:deps Hash is consistent. Skipping. Use --force to override. +2ms

⚡Vite dev server running at:

Local: http://localhost:3001/
Network: http://192.168.1.5:3001/

ready in 122ms.

vite:spa-fallback Rewriting GET / to /index.html +0ms
vite:time 9ms /index.html +0ms
vite:resolve 0ms /@vite/client -> /Users/david/Code/my-vue-app/node_modules/vite/dist/client/client.js +0ms
vite:load 1ms [fs] /@vite/client +0ms
vite:transform 3ms /@vite/client +0ms
vite:time 6ms /@vite/client +41ms
vite:resolve 0ms /src/main.jsx -> /Users/david/Code/my-vue-app/src/main.jsx +22ms
vite:load 1ms [fs] /src/main.jsx +21ms
vite:resolve 0ms preact -> /Users/david/Code/my-vue-app/node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +152ms
vite:resolve 0ms /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 -> /Users/david/Code/my-vue-app/node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +0ms
vite:resolve 0ms ./app -> /Users/david/Code/my-vue-app/src/app.jsx +1ms
vite:resolve 0ms /src/app.jsx -> /Users/david/Code/my-vue-app/src/app.jsx +0ms
vite:resolve 0ms ./index.css -> /Users/david/Code/my-vue-app/src/index.css +0ms
vite:resolve 0ms /src/index.css -> /Users/david/Code/my-vue-app/src/index.css +1ms
vite:transform 153ms /src/main.jsx +171ms
vite:time 154ms /src/main.jsx +171ms
vite:load 3ms [fs] /src/index.css +164ms
vite:load 3ms [fs] /src/app.jsx +1ms
vite:hmr [self-accepts] src/index.css +0ms
vite:transform 7ms /src/index.css +18ms
vite:time 11ms /src/index.css +18ms
vite:resolve 2ms @prefresh/vite/runtime -> /Users/david/Code/my-vue-app/node_modules/@prefresh/vite/runtime/index.mjs +29ms
vite:resolve 0ms /node_modules/@prefresh/vite/runtime/index.mjs -> /Users/david/Code/my-vue-app/node_modules/@prefresh/vite/runtime/index.mjs +0ms
vite:resolve 0ms @prefresh/vite/utils -> /Users/david/Code/my-vue-app/node_modules/.vite/@prefresh/vite/utils/index.js?v=7ba37087 +0ms
vite:resolve 0ms /node_modules/.vite/@prefresh/vite/utils/index.js?v=7ba37087 -> /Users/david/Code/my-vue-app/node_modules/.vite/@prefresh/vite/utils/index.js?v=7ba37087 +0ms
vite:resolve 0ms ./logo -> /Users/david/Code/my-vue-app/src/logo.jsx +0ms
vite:resolve 0ms /src/logo.jsx -> /Users/david/Code/my-vue-app/src/logo.jsx +0ms
vite:hmr [self-accepts] src/app.jsx +12ms
vite:transform 19ms /src/app.jsx +14ms
vite:time 23ms /src/app.jsx +14ms
vite:load 0ms [fs] /node_modules/@prefresh/vite/runtime/index.mjs +25ms
vite:resolve 1ms @prefresh/core -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/index.js +10ms
vite:resolve 0ms /node_modules/@prefresh/core/src/index.js -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/index.js +0ms
vite:transform 1ms /node_modules/@prefresh/vite/runtime/index.mjs +7ms
vite:time 3ms /node_modules/@prefresh/vite/runtime/index.mjs +7ms
vite:load 1ms [fs] /src/logo.jsx +3ms
vite:hmr [self-accepts] src/logo.jsx +19ms
vite:transform 11ms /src/logo.jsx +12ms
vite:time 12ms /src/logo.jsx +12ms
vite:load 0ms [fs] /node_modules/@prefresh/core/src/index.js +12ms
vite:resolve 0ms ./runtime/catchError -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/catchError.js +14ms
vite:resolve 0ms /node_modules/@prefresh/core/src/runtime/catchError.js -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/catchError.js +0ms
vite:resolve 0ms ./runtime/debounceRendering -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:resolve 0ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:resolve 0ms ./runtime/vnode -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:resolve 0ms /node_modules/@prefresh/core/src/runtime/vnode.js -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/vnode.js +0ms
vite:resolve 0ms ./runtime/unmount -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/unmount.js +0ms
vite:resolve 0ms /node_modules/@prefresh/core/src/runtime/unmount.js -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/unmount.js +0ms
vite:resolve 0ms ./constants -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/constants.js +0ms
vite:resolve 0ms /node_modules/@prefresh/core/src/constants.js -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/constants.js +0ms
vite:resolve 1ms ./computeKey -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/computeKey.js +1ms
vite:resolve 0ms /node_modules/@prefresh/core/src/computeKey.js -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/computeKey.js +0ms
vite:resolve 0ms ./runtime/vnodesForComponent -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
vite:resolve 0ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
vite:resolve 0ms ./runtime/signaturesForType -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/signaturesForType.js +3ms
vite:resolve 0ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/signaturesForType.js +0ms
vite:transform 6ms /node_modules/@prefresh/core/src/index.js +7ms
vite:time 7ms /node_modules/@prefresh/core/src/index.js +7ms
vite:load 1ms [fs] /node_modules/@prefresh/core/src/runtime/catchError.js +11ms
vite:resolve 0ms ../constants -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/constants.js +5ms
vite:transform 1ms /node_modules/@prefresh/core/src/runtime/catchError.js +6ms
vite:time 2ms /node_modules/@prefresh/core/src/runtime/catchError.js +6ms
vite:load 1ms [fs] /node_modules/@prefresh/core/src/runtime/debounceRendering.js +1ms
vite:transform 2ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js +2ms
vite:time 4ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js +2ms
vite:load 0ms [fs] /node_modules/@prefresh/core/src/runtime/unmount.js +5ms
vite:resolve 0ms ./vnodesForComponent -> /Users/david/Code/my-vue-app/node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +7ms
vite:transform 1ms /node_modules/@prefresh/core/src/runtime/unmount.js +4ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/unmount.js +4ms
vite:load 1ms [fs] /node_modules/@prefresh/core/src/constants.js +1ms
vite:rewrite 0ms [no imports] node_modules/@prefresh/core/src/constants.js +0ms
vite:transform 0ms /node_modules/@prefresh/core/src/constants.js +0ms
vite:time 1ms /node_modules/@prefresh/core/src/constants.js +0ms
vite:load 2ms [fs] /node_modules/@prefresh/core/src/runtime/signaturesForType.js +0ms
vite:rewrite 0ms [no imports] node_modules/@prefresh/core/src/runtime/signaturesForType.js +0ms
vite:transform 0ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js +0ms
vite:time 2ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js +0ms
vite:load 4ms [fs] /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:transform 0ms /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:time 4ms /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:load 3ms [fs] /node_modules/@prefresh/core/src/runtime/vnode.js +0ms
vite:transform 1ms /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:time 4ms /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:load 3ms [fs] /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +1ms
vite:rewrite 0ms [no imports] node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +2ms
vite:transform 0ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
vite:time 3ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
13:39:28 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:39:28 [vite] ✨ dependencies updated.
vite:spa-fallback Rewriting GET / to /index.html +419ms
vite:time 1ms /index.html +128ms
vite:cache [304] /@vite/client +0ms
vite:time 0ms /@vite/client +33ms
vite:cache [304] /src/main.jsx +22ms
vite:time 0ms /src/main.jsx +22ms
vite:cache [304] /src/index.css +7ms
vite:time 0ms /src/index.css +7ms
vite:load 0ms [fs] /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +190ms
vite:resolve 0ms ../../chunk.LOKNKD75.js -> /Users/david/Code/my-vue-app/node_modules/.vite/chunk.LOKNKD75.js +193ms
vite:resolve 0ms /node_modules/.vite/chunk.LOKNKD75.js?v=7ba37087 -> /Users/david/Code/my-vue-app/node_modules/.vite/chunk.LOKNKD75.js?v=7ba37087 +0ms
vite:transform 0ms /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +191ms
vite:time 2ms /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +1ms
vite:load 2ms [fs] /src/app.jsx +2ms
vite:hmr [self-accepts] src/app.jsx +221ms
vite:transform 7ms /src/app.jsx +8ms
vite:time 9ms /src/app.jsx +8ms
vite:load 0ms [fs] /node_modules/@prefresh/vite/runtime/index.mjs +9ms
vite:transform 0ms /node_modules/@prefresh/vite/runtime/index.mjs +2ms
vite:time 0ms /node_modules/@prefresh/vite/runtime/index.mjs +2ms
vite:load 0ms [fs] /src/logo.jsx +1ms
vite:hmr [self-accepts] src/logo.jsx +12ms
vite:transform 10ms /src/logo.jsx +11ms
vite:time 10ms /src/logo.jsx +11ms
vite:cache [304] /node_modules/@prefresh/core/src/index.js +23ms
vite:time 1ms /node_modules/@prefresh/core/src/index.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/catchError.js +7ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/catchError.js +7ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/constants.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/constants.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:time 1ms /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
13:39:28 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:39:28 [vite] ✨ dependencies updated.
vite:spa-fallback Rewriting GET / to /index.html +204ms
vite:time 1ms /index.html +108ms
vite:cache [304] /@vite/client +144ms
vite:time 1ms /@vite/client +37ms
vite:cache [304] /src/main.jsx +22ms
vite:time 0ms /src/main.jsx +21ms
vite:cache [304] /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:time 0ms /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:load 1ms [fs] /src/app.jsx +195ms
vite:cache [304] /src/index.css +1ms
vite:time 0ms /src/index.css +1ms
vite:hmr [self-accepts] src/app.jsx +193ms
vite:transform 6ms /src/app.jsx +191ms
vite:time 7ms /src/app.jsx +6ms
vite:load 1ms [fs] /node_modules/@prefresh/vite/runtime/index.mjs +9ms
vite:transform 0ms /node_modules/@prefresh/vite/runtime/index.mjs +3ms
vite:time 1ms /node_modules/@prefresh/vite/runtime/index.mjs +3ms
vite:load 1ms [fs] /src/logo.jsx +1ms
vite:hmr [self-accepts] src/logo.jsx +11ms
vite:transform 8ms /src/logo.jsx +9ms
vite:time 9ms /src/logo.jsx +9ms
vite:cache [304] /node_modules/@prefresh/core/src/index.js +19ms
vite:time 1ms /node_modules/@prefresh/core/src/index.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/catchError.js +2ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/catchError.js +2ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/debounceRendering.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnode.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnode.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/constants.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/constants.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/computeKey.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/computeKey.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
13:39:28 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:39:28 [vite] ✨ dependencies updated.
vite:spa-fallback Rewriting GET / to /index.html +206ms
vite:time 1ms /index.html +115ms
vite:cache [304] /@vite/client +154ms
vite:time 1ms /@vite/client +39ms
vite:cache [304] /src/main.jsx +21ms
vite:time 0ms /src/main.jsx +21ms
vite:cache [304] /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:time 0ms /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:load 0ms [fs] /src/app.jsx +197ms
vite:cache [304] /src/index.css +1ms
vite:time 0ms /src/index.css +1ms
vite:hmr [self-accepts] src/app.jsx +195ms
vite:transform 5ms /src/app.jsx +194ms
vite:time 5ms /src/app.jsx +4ms
vite:load 1ms [fs] /node_modules/@prefresh/vite/runtime/index.mjs +8ms
vite:transform 0ms /node_modules/@prefresh/vite/runtime/index.mjs +3ms
vite:time 1ms /node_modules/@prefresh/vite/runtime/index.mjs +3ms
vite:load 1ms [fs] /src/logo.jsx +1ms
vite:hmr [self-accepts] src/logo.jsx +10ms
vite:transform 7ms /src/logo.jsx +8ms
vite:time 8ms /src/logo.jsx +8ms
vite:cache [304] /node_modules/@prefresh/core/src/index.js +15ms
vite:time 0ms /node_modules/@prefresh/core/src/index.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/catchError.js +4ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/catchError.js +4ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/constants.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/constants.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +1ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
13:39:29 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:39:29 [vite] ✨ dependencies updated.
vite:spa-fallback Rewriting GET / to /index.html +210ms
vite:time 1ms /index.html +119ms
vite:cache [304] /@vite/client +156ms
vite:time 0ms /@vite/client +37ms
vite:cache [304] /src/main.jsx +21ms
vite:time 1ms /src/main.jsx +21ms
vite:cache [304] /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:time 0ms /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:load 0ms [fs] /src/app.jsx +199ms
vite:cache [304] /src/index.css +1ms
vite:time 0ms /src/index.css +1ms
vite:hmr [self-accepts] src/app.jsx +198ms
vite:transform 5ms /src/app.jsx +197ms
vite:time 5ms /src/app.jsx +4ms
vite:load 0ms [fs] /node_modules/@prefresh/vite/runtime/index.mjs +7ms
vite:transform 0ms /node_modules/@prefresh/vite/runtime/index.mjs +2ms
vite:time 0ms /node_modules/@prefresh/vite/runtime/index.mjs +2ms
vite:load 0ms [fs] /src/logo.jsx +1ms
vite:hmr [self-accepts] src/logo.jsx +10ms
vite:transform 7ms /src/logo.jsx +8ms
vite:time 8ms /src/logo.jsx +9ms
vite:cache [304] /node_modules/@prefresh/core/src/index.js +15ms
vite:time 0ms /node_modules/@prefresh/core/src/index.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/catchError.js +3ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/catchError.js +3ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/unmount.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/unmount.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/constants.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/constants.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
13:39:29 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:39:29 [vite] ✨ dependencies updated.
vite:spa-fallback Rewriting GET / to /index.html +215ms
vite:time 0ms /index.html +127ms
vite:cache [304] /@vite/client +166ms
vite:time 1ms /@vite/client +39ms
vite:cache [304] /src/main.jsx +21ms
vite:time 0ms /src/main.jsx +21ms
vite:cache [304] /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:time 1ms /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:cache [304] /src/index.css +1ms
vite:time 0ms /src/index.css +1ms
vite:load 1ms [fs] /src/app.jsx +212ms
vite:hmr [self-accepts] src/app.jsx +221ms
vite:transform 18ms /src/app.jsx +223ms
vite:time 21ms /src/app.jsx +21ms
vite:load 0ms [fs] /node_modules/@prefresh/vite/runtime/index.mjs +21ms
vite:transform 1ms /node_modules/@prefresh/vite/runtime/index.mjs +4ms
vite:time 2ms /node_modules/@prefresh/vite/runtime/index.mjs +4ms
vite:load 1ms [fs] /src/logo.jsx +2ms
vite:hmr [self-accepts] src/logo.jsx +17ms
vite:transform 11ms /src/logo.jsx +12ms
vite:time 12ms /src/logo.jsx +12ms
vite:cache [304] /node_modules/@prefresh/core/src/index.js +37ms
vite:time 0ms /node_modules/@prefresh/core/src/index.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/catchError.js +3ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/catchError.js +3ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnode.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/constants.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/constants.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
13:39:29 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:39:29 [vite] ✨ dependencies updated.
vite:spa-fallback Rewriting GET / to /index.html +236ms
vite:time 1ms /index.html +125ms
vite:cache [304] /@vite/client +163ms
vite:time 0ms /@vite/client +38ms
vite:cache [304] /src/main.jsx +21ms
vite:time 0ms /src/main.jsx +21ms
vite:cache [304] /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:time 1ms /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:cache [304] /src/index.css +1ms
vite:time 0ms /src/index.css +1ms
vite:load 2ms [fs] /src/app.jsx +211ms
vite:hmr [self-accepts] src/app.jsx +210ms
vite:transform 10ms /src/app.jsx +210ms
vite:time 12ms /src/app.jsx +11ms
vite:load 0ms [fs] /node_modules/@prefresh/vite/runtime/index.mjs +12ms
vite:transform 0ms /node_modules/@prefresh/vite/runtime/index.mjs +2ms
vite:time 0ms /node_modules/@prefresh/vite/runtime/index.mjs +2ms
vite:load 0ms [fs] /src/logo.jsx +1ms
vite:hmr [self-accepts] src/logo.jsx +11ms
vite:transform 7ms /src/logo.jsx +8ms
vite:time 7ms /src/logo.jsx +8ms
vite:cache [304] /node_modules/@prefresh/core/src/index.js +21ms
vite:time 0ms /node_modules/@prefresh/core/src/index.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/catchError.js +5ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/catchError.js +5ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/unmount.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/unmount.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/constants.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/constants.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/signaturesForType.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js +0ms
13:39:29 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:39:29 [vite] ✨ dependencies updated.
vite:spa-fallback Rewriting GET / to /index.html +218ms
vite:time 1ms /index.html +122ms
vite:cache [304] /@vite/client +158ms
vite:time 0ms /@vite/client +36ms
vite:cache [304] /src/main.jsx +21ms
vite:time 0ms /src/main.jsx +21ms
vite:cache [304] /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:time 0ms /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:cache [304] /src/index.css +1ms
vite:time 0ms /src/index.css +1ms
vite:load 1ms [fs] /src/app.jsx +203ms
vite:hmr [self-accepts] src/app.jsx +208ms
vite:transform 12ms /src/app.jsx +209ms
vite:time 15ms /src/app.jsx +14ms
vite:load 0ms [fs] /node_modules/@prefresh/vite/runtime/index.mjs +15ms
vite:transform 0ms /node_modules/@prefresh/vite/runtime/index.mjs +2ms
vite:time 1ms /node_modules/@prefresh/vite/runtime/index.mjs +3ms
vite:load 0ms [fs] /src/logo.jsx +1ms
vite:hmr [self-accepts] src/logo.jsx +11ms
vite:transform 7ms /src/logo.jsx +8ms
vite:time 7ms /src/logo.jsx +7ms
vite:cache [304] /node_modules/@prefresh/core/src/index.js +25ms
vite:time 0ms /node_modules/@prefresh/core/src/index.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/catchError.js +2ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/catchError.js +2ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/debounceRendering.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnode.js +0ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/vnode.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/unmount.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/constants.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/constants.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:time 1ms /node_modules/@prefresh/core/src/computeKey.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
13:39:30 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:39:30 [vite] ✨ dependencies updated.
vite:spa-fallback Rewriting GET / to /index.html +224ms
vite:time 1ms /index.html +128ms
vite:cache [304] /@vite/client +165ms
vite:time 1ms /@vite/client +37ms
vite:cache [304] /src/main.jsx +20ms
vite:time 0ms /src/main.jsx +20ms
vite:cache [304] /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:time 1ms /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +6ms
vite:cache [304] /src/index.css +1ms
vite:time 0ms /src/index.css +1ms
vite:load 1ms [fs] /src/app.jsx +208ms
vite:hmr [self-accepts] src/app.jsx +216ms
vite:transform 16ms /src/app.jsx +217ms
vite:time 18ms /src/app.jsx +17ms
vite:load 0ms [fs] /node_modules/@prefresh/vite/runtime/index.mjs +18ms
vite:transform 1ms /node_modules/@prefresh/vite/runtime/index.mjs +3ms
vite:time 1ms /node_modules/@prefresh/vite/runtime/index.mjs +3ms
vite:load 0ms [fs] /src/logo.jsx +2ms
vite:hmr [self-accepts] src/logo.jsx +12ms
vite:transform 7ms /src/logo.jsx +8ms
vite:time 8ms /src/logo.jsx +8ms
vite:cache [304] /node_modules/@prefresh/core/src/index.js +29ms
vite:time 1ms /node_modules/@prefresh/core/src/index.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/catchError.js +2ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/catchError.js +2ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/debounceRendering.js +1ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnode.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnode.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/constants.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/constants.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/computeKey.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/computeKey.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
13:39:30 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:39:30 [vite] ✨ dependencies updated.
vite:spa-fallback Rewriting GET / to /index.html +224ms
vite:time 1ms /index.html +124ms
vite:cache [304] /@vite/client +162ms
vite:time 1ms /@vite/client +38ms
vite:cache [304] /src/main.jsx +21ms
vite:time 1ms /src/main.jsx +21ms
vite:cache [304] /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +7ms
vite:time 0ms /node_modules/.vite/preact/dist/preact.module.js?v=7ba37087 +7ms
vite:cache [304] /src/index.css +1ms
vite:time 0ms /src/index.css +1ms
vite:load 1ms [fs] /src/app.jsx +207ms
vite:hmr [self-accepts] src/app.jsx +208ms
vite:transform 8ms /src/app.jsx +208ms
vite:time 10ms /src/app.jsx +9ms
vite:load 1ms [fs] /node_modules/@prefresh/vite/runtime/index.mjs +12ms
vite:transform 1ms /node_modules/@prefresh/vite/runtime/index.mjs +5ms
vite:time 3ms /node_modules/@prefresh/vite/runtime/index.mjs +5ms
vite:load 2ms [fs] /src/logo.jsx +2ms
vite:cache [304] /node_modules/@prefresh/core/src/index.js +16ms
vite:time 0ms /node_modules/@prefresh/core/src/index.js +2ms
vite:hmr [self-accepts] src/logo.jsx +13ms
vite:transform 9ms /src/logo.jsx +10ms
vite:time 12ms /src/logo.jsx +8ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/catchError.js +10ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/catchError.js +2ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/debounceRendering.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnode.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnode.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/unmount.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/constants.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/constants.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/runtime/vnodesForComponent.js +0ms
vite:cache [304] /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
vite:time 1ms /node_modules/@prefresh/core/src/runtime/signaturesForType.js +1ms
vite:cache [304] /node_modules/@prefresh/core/src/computeKey.js +0ms
vite:time 0ms /node_modules/@prefresh/core/src/computeKey.js +0ms
13:39:30 [vite] new dependencies found: @prefresh/vite/runtime, @prefresh/core, updating...
13:39:30 [vite] ✨ dependencies updated.

@frandiox
Copy link
Contributor

frandiox commented Jan 28, 2021

In case it helps with the debugging, I can see the same error without @prefresh/vite. In my case it's an infinite loop of

11:16:48 PM [vite] new dependencies found: firebase/auth, firebase/firestore, updating...
11:16:49 PM [vite] ✨ dependencies updated.

With optimizeDeps: { include: ['firebase/app', 'firebase/auth', 'firebase/firestore'] }.

Edit: Looks like beta.49 is the first one complaining about these dependencies. Beta.48 works well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants