Demos Network Specifications
  • Introduction
    • What is Demos Network
    • Demos Network Architecture
  • FAQ
  • Cookbook
    • Project setup
      • Run the project (MacOS)
      • Run the project (Windows)
        • WSL 2 Setup on Windows (10 and 11 only)
        • Issue Troubleshooting
      • Run the project (Ubuntu)
  • SDK
    • Getting Started
    • WebSDK
      • Authentication
        • FIDO2 Passkeys
          • Under the Hood: FIDO2 Passkeys
      • NodeCalls
      • Transactions
        • Creating a transaction
        • Signing a transaction
        • Broadcasting a transaction
      • L2PS SDK
        • The l2ps module
        • Interacting with the L2PS
        • L2PS Messaging System
      • Instant Messaging
        • What is the Instant Messaging Protocol?
        • Architecture Overview
        • Encryption
        • Quickstart
        • Message Types
        • API Reference
        • FAQ
    • Cross Chain
      • General layout of the XM SDKs
      • EVM
      • BTC
      • Solana
      • MultiversX (EGLD)
      • NEAR
      • IBC
      • TON
      • XRPL
      • The XMScript
      • Identities
    • Demoswork
    • Cookbook
      • Demoswork
        • Creating work steps
        • Conditional Operation
        • Base Operation
        • Signing and broadcasting
      • Transactions
        • Crosschain Transaction
        • Native Transactions
      • SWAP
        • Crosschain SWAP
    • Web2
      • Quick Start
      • DAHR API Reference
        • Types
      • Making Requests
      • Identities
        • Twitter
        • GitHub
    • API Reference
    • Bridges
      • Rubic Bridge Test
    • Post Quantum Cryptography
  • Backend
    • Internal Mechanisms
      • Network Time Synchronization
      • Cross Context Identities
    • Global Change Registry
      • GCR Structure
      • How is GCR Synced?
    • Consensus Mechanism
      • Unparalleled Scalability
      • Decentralization in PoR-BFT
      • Enhanced Security
      • Comparative Advantage
      • Addressing Potential Criticisms
      • Conclusion
    • Communications Stack
    • L2PS (Subnet) Framework
      • How are L2PS transactions handled?
    • Miscellaneous
      • Browsing the Postgres DB via psql
    • Bridges
      • Rubic Bridge
    • Developers Testbed
      • Setting up the environment
      • Setting up the repository
      • Installing dependencies
      • Node Configuration
      • Running the node
  • Frontend
    • Demos Providers Discovery Mechanism
Powered by GitBook
On this page
  1. Cookbook
  2. Project setup
  3. Run the project (Windows)

Issue Troubleshooting

PreviousWSL 2 Setup on Windows (10 and 11 only)NextRun the project (Ubuntu)

Last updated 5 months ago

  1. In case of facing the following issue, do the following steps

    1. First, remove any existing installations:

      sudo apt-get remove nodejs npm

      sudo apt-get clean

      sudo apt-get autoremove

      1. Update your package lists:

        sudo apt-get update

      2. Install curl if you don't have it (you can skip this if curl is already installed):

        sudo apt-get install curl

      3. Add the NodeSource repository for Node.js 20.x (you can change 20.x to another version if needed):

        curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -

      4. Install Node.js (this will include npm):

        sudo apt-get install -y nodejs

      5. Verify the installation:

        node --version

        npm --version

  2. Error: Command 'yarn' failed

    1. First, check if the Node version is 20.15.1

    2. Clean your yarn cache and remove node_modules

      yarn cache clean

      rm -rf node_modules

    3. Make sure you have the necessary build tools

      sudo apt-get update

      sudo apt-get install -y build-essential python3 make gcc g++

    4. If you’re still facing issues with eiows, we can try using a pre-built binary. Add this to your package.json

      {

      "resolutions": {

      "eiows": "^6.7.2"

      }

      }

    5. Then run

      yarn install