Questions tagged [claudia.js]
15 questions
6
votes
2 answers
issues with Claudia.js text responses and Alexa
I'm working on a Claudia.js bot that can be reached through Slack, FB messenger, and as an Alexa skill. Supposedly in claudia, you can return plain text and the framework will give it back to the "frontend" correctly... What I have currently have…

two7s_clash
- 5,755
- 1
- 27
- 44
3
votes
1 answer
Claudia.js Auto generated lambda function not displaying on AWS console
So I have created a restAPI backend with express.js and have used claudia.js to upload my endpoints to lambda functions and everything went smoothly. The end points work as expected and return the correct information. My only issue is that when I go…

Dillon Sykes
- 31
- 2
2
votes
1 answer
Claudia.js create cannot find module lambda in typescript project
After searching for hours I can't figure out how to properly run claudia create in my project.
Following this turoial, I created a group and a user the AWS console, then I added the keys to my .aws/credentials file.
Then I ran this command that…

Louis
- 1,913
- 2
- 28
- 41
2
votes
2 answers
Claudia.js NetworkingError creating Lambda Function - Times out after 120000ms
I've built a bot using the claudia.js claudia-bot-builder and all was working fine until I tried to push an update this morning. Now the script is timing out.
Script
claudia create --region ap-southeast-2 --api-module index --profile…

Jordan Walsh
- 144
- 7
1
vote
0 answers
Why does claudia.js fail package validation when using nconf in a specific way?
I am using nconf in a NodeJS project, which I want to deploy to AWS Lambda using claudia.js. I have followed this example:
const path = require('path');
const nconf = require('nconf');
function Configuration(){
nconf.argv().env({ lowerCase:…

reikje
- 2,850
- 2
- 24
- 44
1
vote
1 answer
How to return the API response while using claudia-api-builder?
I am using Claudia-api-builder with Sequelize and facing issues while returning the response from an API
app.js :
const ApiBuilder = require('claudia-api-builder');
const app = new ApiBuilder();
const citizenPersonalDetails =…

Akshay
- 107
- 2
- 11
1
vote
2 answers
EROFS error when hitting lambda function endpoint
I have deployed my expressjs code to lambda using claudiajs.When I hit the API endpoint generated every alternate request gives me internal server error.I checked the logs and found this
"errorType": "Error",
"errorMessage": "EROFS: read-only…

dave Miller
- 304
- 1
- 6
- 16
1
vote
1 answer
Unable to import module 'index': Error in aws cloud watch logs while using claudia.js
Unable to import module 'index': Error in aws cloud watch logs.
upload lambda using claudia works fine but api does not work and cloud watch logs displays following errors:
Unable to import module 'index': Error
at Function.Module._resolveFilename…

Dhruv Goradiya
- 85
- 12
0
votes
0 answers
Which is better Claudia.js or Serverless framework to deploy projects to AWS lambda
I just wanted the concrete difference between serverless framework and Claudia.js for AWS deployment as there are not much differences available on the internet.

Jeet
- 23
- 4
0
votes
0 answers
Claudia Create issue : Error: EPERM: operation not permitted
I have an express js project connected with postgres sql database engine (aws rds) and my front end are in cloud front distribution. I am trying to turn it into a lambda function using claudia.
Error: EPERM: operation not permitted, unlink…

Blockchain Kid
- 315
- 2
- 9
0
votes
1 answer
Response contains a circular reference and cannot be serialized to JSON in AWS
I am developing a API with AWS. I am using Claudia API Builder.
const AWS = require('aws-sdk')
const docClient = new AWS.DynamoDB.DocumentClient()
const createOrder = async (order) => {
if(!order || !order.id || !order.address )
throw new…

Asaduzzaman Himel
- 97
- 1
- 7
0
votes
1 answer
Unable to insert id into a table that belongs to a foreign key referenced table using Sequelize
I am building serverless application using node js and using claudia-api-builder as a framework to launch APIs in AWS.
In app.js file, i call the required api as
const ApiBuilder = require('claudia-api-builder');
const api = new…

Priyanka
- 95
- 5
- 12
0
votes
1 answer
ClaudiaJs with multi-route ExpressJS app deploying to AWS Lambda and AWS API Gateway
I have an ExpressJS project with several routes
var app = new express();
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'jade');
app.use(express.static(path.join(__dirname, 'public')));
app.use('/car', car);
app.use('/bike',…

pellyadolfo
- 981
- 10
- 23
0
votes
1 answer
Claudia Api Builder is creating the lambda function but not adding a trigger
I am using Claduiajs to create lambda functions and i'm still discovering what it can and can't do, so far I was able to create a lambda function that connects to AWS DynamoDB and everything is working as expected, but when I try adding in an API by…

Naguib Ihab
- 4,259
- 7
- 44
- 80
0
votes
2 answers
Using postman to test POST request, how do I access the form-data inside the request?
I've been googling for a few hours, and I need help. I dont think I'm using the correct words. Anyhow, I'm using Claudia.JS to set up a POST request to my AWS Lambda function. Here's the basics of the function:
api.post('/leads', function (request)…

Capella
- 115
- 1
- 9