我正在使用aws-sdk for javascript。在独立程序中使用时,下面的代码运行良好const firehose = new AWS.Firehose({/aws-sdk/lib/config.js:315:7)
at /api-project/node_modules/aws-sdk/lib/conf
现在我得到以下错误:LoadError cannot load such file -- aws-sdk (You may need to install the aws-sdk gem)。image_updated_at"这是我的Gemfile:gem 'jquery-rails'gem 'simple_form'
gem 'aws-sdk</