VITE v4.3.9 ready in 227 ms ➜ Local: http://localhost:3006/ ➜ Network: use --host to expose ➜ press h to show help Error: Failed to scan for dependencies from entries: /Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/index.html ✘ [ERROR] Failed to resolve entry for package "@voiceflow/react-chat". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan] node_modules/esbuild/lib/main.js:1360:21: 1360 │ let result = await callback({ ╵ ^ at packageEntryFailure (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23382:11) at resolvePackageEntry (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23379:5) at tryNodeResolve (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23113:20) at Context.resolveId (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:22874:28) at Object.resolveId (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:42847:46) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async resolve (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43145:26) at async file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43322:34 at async requestCallbacks.on-resolve (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1360:22) at async handleRequest (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:723:13) This error came from the "onResolve" callback registered here: node_modules/esbuild/lib/main.js:1279:20: 1279 │ let promise = setup({ ╵ ^ at setup (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43312:19) at handlePlugins (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1279:21) at buildOrContextImpl (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:968:5) at Object.buildOrContext (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:776:5) at /Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2172:68 at new Promise () at Object.context (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2172:27) at Object.context (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2012:58) at prepareEsbuildScanner (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43097:26) The plugin "vite:dep-scan" was triggered by this import src/main.tsx:1:27: 1 │ import { ChatWidget } from '@voiceflow/react-chat'; ╵ ~~~~~~~~~~~~~~~~~~~~~~~ ✘ [ERROR] Failed to resolve entry for package "@voiceflow/react-chat". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan] node_modules/esbuild/lib/main.js:1360:21: 1360 │ let result = await callback({ ╵ ^ at packageEntryFailure (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23382:11) at resolvePackageEntry (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23379:5) at tryNodeResolve (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23113:20) at Context.resolveId (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:22874:28) at Object.resolveId (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:42847:46) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async resolve (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43145:26) at async file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43322:34 at async requestCallbacks.on-resolve (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1360:22) at async handleRequest (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:723:13) This error came from the "onResolve" callback registered here: node_modules/esbuild/lib/main.js:1279:20: 1279 │ let promise = setup({ ╵ ^ at setup (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43312:19) at handlePlugins (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1279:21) at buildOrContextImpl (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:968:5) at Object.buildOrContext (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:776:5) at /Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2172:68 at new Promise () at Object.context (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2172:27) at Object.context (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2012:58) at prepareEsbuildScanner (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43097:26) The plugin "vite:dep-scan" was triggered by this import src/context.tsx:1:48: 1 │ ...t { RuntimeProvider as BaseProvider } from '@voiceflow/react-chat'; ╵ ~~~~~~~~~~~~~~~~~~~~~~~ ✘ [ERROR] Failed to resolve entry for package "@voiceflow/react-chat". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan] node_modules/esbuild/lib/main.js:1360:21: 1360 │ let result = await callback({ ╵ ^ at packageEntryFailure (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23382:11) at resolvePackageEntry (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23379:5) at tryNodeResolve (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23113:20) at Context.resolveId (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:22874:28) at Object.resolveId (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:42847:46) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async resolve (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43145:26) at async file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43322:34 at async requestCallbacks.on-resolve (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1360:22) at async handleRequest (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:723:13) This error came from the "onResolve" callback registered here: node_modules/esbuild/lib/main.js:1279:20: 1279 │ let promise = setup({ ╵ ^ at setup (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43312:19) at handlePlugins (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1279:21) at buildOrContextImpl (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:968:5) at Object.buildOrContext (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:776:5) at /Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2172:68 at new Promise () at Object.context (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2172:27) at Object.context (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2012:58) at prepareEsbuildScanner (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43097:26) The plugin "vite:dep-scan" was triggered by this import src/config.ts:1:45: 1 │ import { AssistantOptions, ChatConfig } from '@voiceflow/react-chat'; ╵ ~~~~~~~~~~~~~~~~~~~~~~~ ✘ [ERROR] Failed to resolve entry for package "@voiceflow/react-chat". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan] node_modules/esbuild/lib/main.js:1360:21: 1360 │ let result = await callback({ ╵ ^ at packageEntryFailure (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23382:11) at resolvePackageEntry (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23379:5) at tryNodeResolve (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:23113:20) at Context.resolveId (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:22874:28) at Object.resolveId (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:42847:46) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async resolve (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43145:26) at async file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43322:34 at async requestCallbacks.on-resolve (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1360:22) at async handleRequest (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:723:13) This error came from the "onResolve" callback registered here: node_modules/esbuild/lib/main.js:1279:20: 1279 │ let promise = setup({ ╵ ^ at setup (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43312:19) at handlePlugins (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1279:21) at buildOrContextImpl (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:968:5) at Object.buildOrContext (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:776:5) at /Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2172:68 at new Promise () at Object.context (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2172:27) at Object.context (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:2012:58) at prepareEsbuildScanner (file:///Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:43097:26) The plugin "vite:dep-scan" was triggered by this import src/use-live-agent.hook.ts:3:25: 3 │ import { TurnType } from '@voiceflow/react-chat'; ╵ ~~~~~~~~~~~~~~~~~~~~~~~ at failureErrorWithLog (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1636:15) at /Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1048:25 at runOnEndCallbacks (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1471:45) at buildResponseToResult (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1046:7) at /Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1058:9 at new Promise () at requestCallbacks.on-end (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:1057:54) at handleRequest (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:723:19) at handleIncomingPacket (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:745:7) at Socket.readFromStdout (/Users/rublev/dev/valery/voiceflow/react-chat/examples/live-agent/node_modules/esbuild/lib/main.js:673:7) server is running on port 9099