nx-extensions
nx-extensions copied to clipboard
Stencil: App serve command failing with error
nx serve
To Reproduce Steps to reproduce the behavior:
- Create empty nx workplace
npx create-nx-workspace@latest
(choose empty apps workspace) - Install this package
npm install @nxext/stencil --save
- Create app
nx g @nxext/stencil:app my-app
- Run serve command
nx serve my-app
This command gives error
[ ERROR ] config.sys.getDevServerExecutingPath is not a function TypeError: config.sys.getDevServerExecutingPath is not a function at taskWatch (<my-project>/node_modules/@stencil/core/cli/index.cjs:1111:46) at async taskBuild
Expected behavior App should serve on localhost
Good morning, seems like there's a change with 2.7.2. Could you downgrade to the stencil version 2.7.1 and try again?
With 2.7.1 stencil core version, serve command worked, but other commands - test, e2e and build were failing And I was getting warning that peer dependency ^2.15.1 is required for stencil core, so tried 2.15.1 version, all commands are working with that version Thanks
Ah sorry I meant 2.17 not 2.7. missed the one