You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
preview js fail on opening with the following errors: Build failed with 3 errors: (define name):1:0: ERROR: Expected identifier but found "import" (define name):1:0: ERROR: Expected identifier but found "import" (define name):1:0: ERROR: Expected identifier but found "import" at failureErrorWithLog (/.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:1476:15) at //.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:945:25 at runOnEndCallbacks (//.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:1316:45) at buildResponseToResult (//.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:943:7) at //.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:970:16 at responseCallbacks.<computed> (//.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:622:9) at handleIncomingPacket (//.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:677:12) at Socket.readFromStdout (//.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:600:7) at Socket.emit (node:events:520:28) at addChunk (node:internal/streams/readable:559:12)
Describe the bug
preview js fail on opening with the following errors:
Build failed with 3 errors: (define name):1:0: ERROR: Expected identifier but found "import" (define name):1:0: ERROR: Expected identifier but found "import" (define name):1:0: ERROR: Expected identifier but found "import" at failureErrorWithLog (/.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:1476:15) at //.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:945:25 at runOnEndCallbacks (//.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:1316:45) at buildResponseToResult (//.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:943:7) at //.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:970:16 at responseCallbacks.<computed> (//.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:622:9) at handleIncomingPacket (//.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:677:12) at Socket.readFromStdout (//.vscode/extensions/zenclabs.previewjs-1.30.0/dist/node_modules/.pnpm/esbuild@0.24.1/node_modules/esbuild/lib/main.js:600:7) at Socket.emit (node:events:520:28) at addChunk (node:internal/streams/readable:559:12)
Reproduction
open preview js on any component on in browser
Preview.js version
1.30.0
Framework
React 18.2.0
System Info
Used Package Manager
pnpm
Extension logs (useful for crashes)
No response
Preview logs (useful for rendering errors)
Repo link (if available)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: