'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 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1