The question is generally of the same topic as Bpmnlint: Configure Lint Rules question
I already have a bpmn modeler used in my angular application, nothing wrong with it, it works perfectly. Now i try to use bpmn-js-bpmnlint, which requires me to compile linter rules. This is kinda simple task: i just need to extend angular default webpack config to add bpmnlint-loader, but i’m facing many angular version troubles, i dont wanna waste time to solve 'em, so i decided to use bpmnlint-pack-config. Here’s the command:
npx bpmnlint-pack-config -c .bpmnlintrc -o packed-config.js -t es
But it gives me an error:
Error: Failed to compile config: Cannot resolve config <recommended> from <bpmnlint-plugin-playground> at error (D:\git\app\node_modules\rollup\dist\shared\node-entry.js:5400:30) at throwPluginError (D:\git\app\node_modules\rollup\dist\shared\node-entry.js:11878:12) at Object.error (D:\git\app\node_modules\rollup\dist\shared\node-entry.js:12912:24) at Object.error (D:\git\app\node_modules\rollup\dist\shared\node-entry.js:12081:38) at Object.transform (D:\git\app\node_modules\rollup-plugin-bpmnlint\index.js:45:21)
Why does it try to access bpmnlint-plugin-playground? I’m executing command from D:\git\app\ directory, not from bpmnlint-plugin-playground. Did i do something wrong?
I’ll attach all the needed code on demand
Thanks in advance!