Results 1 to 3 of 3

Thread: Can't use ExtReact in a Lerna monorepo with yarn workspaces

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    14
    Vote Rating
    5
      0  

    Default Can't use ExtReact in a Lerna monorepo with yarn workspaces

    I created a repository with the exact problem we have in context of using lerna and yarn workspaces here:
    https://github.com/eucaos/ext-monorepo

    Inside the repository I just copied an ext boilerplate example from here https://github.com/sencha/ext-react/...pt-boilerplate
    This is the error we get:


    This is a debug view



    From what I see the extPath, determined by process.cwd() is not good.
    It wants to find node_modules in the package folder, but it's actually at the root of the ext-monorepo.
    This works fine with "ext-reactor" as there we can specify {sdk: "../../node_modules/@sencha/ext"}
    I also logged the issue here: https://github.com/sencha/ext-react/...ment-498273406

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,005
    Vote Rating
    -523
      0  

    Default

    Thank you so much for your post. I apologize for the delay. I have shared this with the support staff and someone will get back to provide assistance as soon as possible. Your patience is greatly appreciated!

    Kind Regards,

    Michele


  3. #3
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    476
    Vote Rating
    -336
      0  

    Default

    Hello,

    This has been reported to an Architect for review and will keep you posted as soon as there is an update.

    Regards,
    Kumar
    Sencha Support.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •