Skip to content
New issue

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

Stencil: Cannot find module '@nrwl/workspace/src/utilities/ast-utils' #939

Closed
nathan2slime opened this issue May 8, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@nathan2slime
Copy link

Describe the bug

When trying to generate a stencil library, it returns the following error

Cannot find module '@nrwl/workspace/src/utilities/ast-utils'

To Reproduce

  1. Create a base monorepo using nx
yarn create nx-workspace app
  1. Add the manager as specified in the documentation in the installation step
yarn add @nxext/stencil -D
  1. Try to generate a stencil library as specified in the documentation
yarn nx g @nxext/stencil:library core

Expected behavior
It should generate a stencil component library

Additional context
If it is a compatibility issue with nx versions, please specify which dependencies are compatible, below is my package.json

package.json

{
  "name": "example",
  "version": "0.0.0",
  "license": "MIT",
  "private": true,
  "devDependencies": {
    "@nrwl/workspace": "^16.1.2",
    "nx": "16.1.2",
    "nx-cloud": "latest",
    "typescript": "^5.0.4"
  },
  "workspaces": [
    "packages/*"
  ],
  "dependencies": {
    "@nxext/stencil": "^15.7.0"
  }
}

Logs

Captura de tela 2023-05-08 165214

@nathan2slime nathan2slime added the bug Something isn't working label May 8, 2023
@matsgottenbos
Copy link

This seems like a duplicate of nxext/nx-extensions-ionic#10.
See my comment there for a pretty simple workaround: nxext/nx-extensions-ionic#10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants