Sisense Community logo
    • Community Feedback
    • Chapters
    • Events
    • Forums
      • Help and How To
      • Product Feedback Forum
      • Strategy & Use Cases
    • Blogs
    • KB Docs
      • KB Docs
      • Add-Ons & Plug-Ins
      • APIs
      • Best Practices
      • Blox
      • CDT
      • Cloud Managed Service
      • Data Models
      • Data Sources
      • Embedding Analytics
      • How-Tos & FAQs
      • Onboarding
      • PySisense
      • Security
      • Sisense Administration
      • Sisense Intelligence & AI
      • Troubleshooting
      • Widget & Dashboard Scripts
    • Support
    • Learning
      • Sisense Academy: Free Courses and Certifications
      • Official Developer Documentation
      • Official Product Documentation
      • Official Sisense Youtube Channel
      • Sisense Compose SDK Playground
    • Use Case Gallery
    All PostsDiscussionsBlogsIdeasQuestions
    Leaderboards
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
    Discussions
    • Help and How-ToChevronRightIcon
    Unable to build Compose SDK

    Hi,

    I have cloned the Compose SDK from https://github.com/sisense/compose-sdk-monorepo 
    As per the instructions for installation, I am trying to install and build the repo.

    However, yarn complains about not finding a script named "build" when I ran it.

    Same goes for running Storybook.



    tzejan
    tzejan
    Posted 2 years ago·Last reply 1 year ago
                                           
             
    7 comments

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                   
    Rafael Ferreira

    Rafael Ferreira

    ·1 year ago

    tuanpham I resolved the issue. Thank you

                                           
    tuan

    tuan

    ·1 year ago

    Astroraf  We will need more details on your environment to troubleshoot this. I am using Node v18.16.0 and yarn 3.2.3 and the build went through successfully.

                                           
    Rafael Ferreira

    Rafael Ferreira

    ·1 year ago

    tuanpham I have tried replicating this and I getting multiple errors. One in particular is saying "canvas canvas@npm:2.11.2 must be built because it never has been before or the last one failed". I tried installing canvas-prebuilt but received more errors. 

                                           
    tuan

    tuan

    ·2 years ago

    Thanks tzejan for reporting this. We have updated https://github.com/sisense/compose-sdk-monorepo to fix the issue.

                                           
    Ilya Kvashenko

    Ilya Kvashenko

    Admin2 years ago

    Hello!

    Hope you are doing great.
    Kindly ask you to check node version that you are using along with the yarn version. 
    Just used node 18.16.0 and yarn 1.22.17 and the issue is not reproducible using this setup, both install and build were initiated successfully. 

    Best regards,

                                           
    tzejan

    tzejan

    OP2 years ago

    Hi Illia,

    Thank you for the tips, I have used Node v18.18.2 and it works.

    All the packages can be built except for sdk-ui-angular with the message

    [@sisense/sdk-ui-angular]: Cannot find package '@angular/compiler' imported from ...

    It is not an issue for us, but just wanted to let you know.

                                           
    Ilya Kvashenko

    Ilya Kvashenko

    Admin2 years ago

    Hello!

    Thanks for the update, passed your feedback to the relevant team, missed dependencies should be added in the nearest updates.

    Best regards,

                                           
                                                                                     
    •                                                              
    •                                                              
    •