Recently, my company transitioned to DevContainer. I had a few PACT tests that were running successfully with vitest in my local environment. However, upon moving to DevContainer, I encountered the following error when attempting to run the same command:
Command used to run tests :
vitest run src/contract-test/consumer/action-consumer.test.ts
Error Message :
RangeError: Maximum call stack size exceeded
at get hasIndices [as hasIndices] (<anonymous>)
at get flags [as flags] (<anonymous>)
at String.matchAll (<anonymous>)
at _searchLast (file:///app/.yarn/__virtual__/vite-virtual-68526d8c1a/0/cache/vite-npm-5.0.11-d5457a8b86-74a3ddc6d4.zip/node_modules/vite/dist/node/chunks/dep-V3BH7oO1.js:38476:34)
at _interpolate (file:///app/.yarn/__virtual__/vite-virtual-68526d8c1a/0/cache/vite-npm-5.0.11-d5457a8b86-74a3ddc6d4.zip/node_modules/vite/dist/node/chunks/dep-V3BH7oO1.js:38509:12)
at _interpolate (file:///app/.yarn/__virtual__/vite-virtual-68526d8c1a/0/cache/vite-npm-5.0.11-d5457a8b86-74a3ddc6d4.zip/node_modules/vite/dist/node/chunks/dep-V3BH7oO1.js:38509:12)
at _interpolate (file:///app/.yarn/__virtual__/vite-virtual-68526d8c1a/0/cache/vite-npm-5.0.11-d5457a8b86-74a3ddc6d4.zip/node_modules/vite/dist/...