nxrocks: [Bug] Using Latest Nx (14.1.4) make our CI break

Plugin Name

@nxrocks/nx-flutter

Plugin Version

3.0.2

Nx Version

14.1.4

Expected Behaviour

Run yarn / npm install smoothly

Actual Behaviour

Reference https://github.com/nrwl/nx/issues/10222

Our CI looks like this when installing

error ./node_modules/@nxrocks/common/node_modules/nx, /builds/zo-group/software/simpan/node_modules/@nxrocks/nx-flutter/node_modules/nx: Command failed.
Exit code: 1
Command: node ./bin/init
Arguments: 
Directory: ./node_modules/@nxrocks/nx-flutter/node_modules/nx
Output:
>  NX   Cannot read properties of undefined (reading 'endsWith')
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Temporary Solution and it works

  "overrides": {
    "@nxrocks/nx-flutter": {
      "@nrwl/cli": "14.1.4"
    }
  }

cc: @tinesoft I can help you to update Nx deps if needed

Steps to reproduce the behaviour

  1. Install Nx Latest with Nx flutter
  2. Yarn

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (3 by maintainers)

Commits related to this issue

Most upvoted comments

Hi Guys,

Thanks for using the plugin and for reporting the issue.

I will update it to be compatible with Nx 14. Stay tuned!