daily-demos / chat-integrations

BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Twilio flex webchat not working #7

Open nitishymtpl opened 2 weeks ago

nitishymtpl commented 2 weeks ago

yarn start yarn run v1.22.22 $ react-app-rewired start node:internal/modules/cjs/loader:599 throw e; ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /workspaces/chat-integrations/twilio-flex-webchat/node_modules/postcss-safe-parser/node_modules/postcss/package.json at exportsNotFound (node:internal/modules/esm/resolve:304:10) at packageExportsResolve (node:internal/modules/esm/resolve:651:9) at resolveExports (node:internal/modules/cjs/loader:592:36) at Module._findPath (node:internal/modules/cjs/loader:669:31) at Module._resolveFilename (node:internal/modules/cjs/loader:1131:27) at Module._load (node:internal/modules/cjs/loader:986:27) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at Object. (/workspaces/chat-integrations/twilio-flex-webchat/node_modules/postcss-safe-parser/lib/safe-parser.js:1:17) at Module._compile (node:internal/modules/cjs/loader:1358:14) { code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' }

Node.js v20.14.0 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

nitishymtpl commented 2 weeks ago

Hi @jessmitch42, Flex flow sid is considered obsolete and it is only available for the accounts with older UI versions 1.x.. Could you update this repo? that would be helpful!

jessmitch42 commented 2 weeks ago

Hey @nitishymtpl! Feel free to open a PR with the changes you're recommending and someone from Daily can review. This isn't a codebase I'm personally maintaining.