Using with quasar and vite.
johndiego opened this issue · 0 comments
How using neffos.js with quasar?
Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
node_modules/neffos.js/dist/neffos.js:20:19:
20 │ const nodeWS = await import('ws');
╵
error while updating dependencies: Error: Build failed with 1 error: node_modules/neffos.js/dist/neffos.js:20:19: ERROR: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1") at failureErrorWithLog (/app/node_modules/vite/node_modules/esbuild/lib/main.js:1624:15) at /app/node_modules/vite/node_modules/esbuild/lib/main.js:1266:28 at runOnEndCallbacks (/app/node_modules/vite/node_modules/esbuild/lib/main.js:1046:63) at buildResponseToResult (/app/node_modules/vite/node_modules/esbuild/lib/main.js:1264:7) at /app/node_modules/vite/node_modules/esbuild/lib/main.js:1377:14 at /app/node_modules/vite/node_modules/esbuild/lib/main.js:678:9 at handleIncomingPacket (/app/node_modules/vite/node_modules/esbuild/lib/main.js:775:9) at Socket.readFromStdout (/app/node_modules/vite/node_modules/esbuild/lib/main.js:644:7) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) Vite Error, /node_modules/.q-cache/vite/spa/deps/neffos_js.js?v=3ad3b7dc optimized info should be defined Vite Error, /node_modules/.q-cache/vite/spa/deps/neffos_js.js?v=3ad3b7dc optimized info should be defined