Search code examples
bootstrap-5amadeus

ArgumentError: Missing required argument: clientId


while running bootstrap-flight-search-form-part-2 using command npm run start it gives error like enter image description here


Solution

  • To run the project locally do the following steps:

    • Clone the repository
    • Install the dependencies with
    npm install
    
    • Add your API key and API secret at app.js
    const amadeus = new Amadeus({
      clientId: 'YOUR_API_KEY',
      clientSecret: 'YOUR_API_SECRET'
    });
    
    • Start the server with
    npm run start