We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It appears that the Bookshop Browser won't run in an Astro project in v3.10.0 (perhaps other SSGs, untested).
v3.10.0
npx @bookshop/browser
Following error message:
📚 Looking for Bookshop component libraries... 📚 —— Loading Bookshop from ./src > src/components/sample/sample.bookshop.yml:4:12: error: Expected ";" but found "Component" 4 │ label: My Component ╵ ~~~~~~~~~ /Users/adonmoskal/astro-bookshop/node_modules/@bookshop/builder/node_modules/esbuild/lib/main.js:1493 let error = new Error(`${text}${summary}`); ^ Error: Build failed with 1 error: src/components/sample/sample.bookshop.yml:4:12: error: Expected ";" but found "Component" at failureErrorWithLog (/Users/adonmoskal/astro-bookshop/node_modules/@bookshop/builder/node_modules/esbuild/lib/main.js:1493:15) at /Users/adonmoskal/astro-bookshop/node_modules/@bookshop/builder/node_modules/esbuild/lib/main.js:1151:28 at runOnEndCallbacks (/Users/adonmoskal/astro-bookshop/node_modules/@bookshop/builder/node_modules/esbuild/lib/main.js:941:63) at buildResponseToResult (/Users/adonmoskal/astro-bookshop/node_modules/@bookshop/builder/node_modules/esbuild/lib/main.js:1149:7) at /Users/adonmoskal/astro-bookshop/node_modules/@bookshop/builder/node_modules/esbuild/lib/main.js:1258:14 at /Users/adonmoskal/astro-bookshop/node_modules/@bookshop/builder/node_modules/esbuild/lib/main.js:629:9 at handleIncomingPacket (/Users/adonmoskal/astro-bookshop/node_modules/@bookshop/builder/node_modules/esbuild/lib/main.js:726:9) at Socket.readFromStdout (/Users/adonmoskal/astro-bookshop/node_modules/@bookshop/builder/node_modules/esbuild/lib/main.js:596:7) at Socket.emit (node:events:518:28) at addChunk (node:internal/streams/readable:559:12) { errors: [ { detail: undefined, location: { column: 12, file: 'src/components/sample/sample.bookshop.yml', length: 9, line: 4, lineText: ' label: My Component', namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'Expected ";" but found "Component"' } ], warnings: [] } Node.js v20.12.2
Reverting Bookshop back to v3.9.0 works.
v3.9.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It appears that the Bookshop Browser won't run in an Astro project in
v3.10.0
(perhaps other SSGs, untested).Steps to recreate
v3.10.0
as per these docsnpx @bookshop/browser
Following error message:
Reverting Bookshop back to
v3.9.0
works.The text was updated successfully, but these errors were encountered: