Closed mschmidtkorth closed 2 years ago
npm i && npm run build fails with an error for the Hello World plugin (it worked e.g. for emoji picker):
npm i && npm run build
> logseq-hello-world@0.0.1 build > parcel build --public-url . --no-source-maps index.html 🚨 /Users/mschmidtkorth/Github/MSK/logseq-plugin-samples/logseq-hello-world/node_modules/@logseq/libs/dist/lsplugin.user.js: Unexpected token: punc (.) at Z.get (/Users/mschmidtkorth/Github/MSK/logseq-plugin-samples/logseq-hello-world/node_modules/terser/dist/bundle.min.js:1:525) at Object.errorToJson (/Users/mschmidtkorth/Github/MSK/logseq-plugin-samples/logseq-hello-world/node_modules/@parcel/utils/src/errorUtils.js:9:20) at Pipeline.process (/Users/mschmidtkorth/Github/MSK/logseq-plugin-samples/logseq-hello-world/node_modules/parcel-bundler/src/Pipeline.js:29:26) at async Object.run (/Users/mschmidtkorth/Github/MSK/logseq-plugin-samples/logseq-hello-world/node_modules/parcel-bundler/src/worker.js:15:12) at async Bundler.loadAsset (/Users/mschmidtkorth/Github/MSK/logseq-plugin-samples/logseq-hello-world/node_modules/parcel-bundler/src/Bundler.js:577:19) at async /Users/mschmidtkorth/Github/MSK/logseq-plugin-samples/logseq-hello-world/node_modules/parcel-bundler/src/Bundler.js:610:13 at async Promise.all (index 2) at async Bundler.loadAsset (/Users/mschmidtkorth/Github/MSK/logseq-plugin-samples/logseq-hello-world/node_modules/parcel-bundler/src/Bundler.js:599:21) at async /Users/mschmidtkorth/Github/MSK/logseq-plugin-samples/logseq-hello-world/node_modules/parcel-bundler/src/Bundler.js:610:13 at async Promise.all (index 0)```
npm i && npm run build
fails with an error for the Hello World plugin (it worked e.g. for emoji picker):