-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion failed: (!(handle->flags & UV_CLOSED)), function uv__finish_close, file ../deps/uv/src/unix/core.c, line 251. #492
Comments
Hi there @AkivaLandsberg, is there any chance it could be one of the other plugins you're using? Have you tried commenting each one out and trying |
Is that your whole package.json? Can you create a reproduction? Can you try it with the master branch? |
I tried running it with just severless-offline and severless-webpack and it happened again. |
My code is not yet in production. Here is my entire package.json {
"main": "handlers.js",
"dependencies": {
"airtable": "^0.5.9",
"apollo-server-express": "^2.2.6",
"aws-xray-sdk": "^2.1.0",
"axios": "^0.18.0",
"babel-runtime": "^6.26.0",
"body-parser": "^1.18.3",
"camelcase-keys": "^5.0.0",
"chance": "^1.0.13",
"cors": "^2.8.5",
"express": "^4.16.3",
"firebase-admin": "^7.2.0",
"graphql": "^14.0.2",
"graphql-iso-date": "^3.6.1",
"graphql-type-json": "^0.3.0",
"lambda-log": "^2.0.0",
"libphonenumber-js": "^1.7.14",
"lodash": "^4.17.11",
"mysql2": "^1.5.2",
"node-jose": "^1.1.0",
"pluralize": "^7.0.0",
"request": "^2.88.0",
"request-promise-native": "^1.0.5",
"sequelize": "^5.6.1",
"serverless": "^1.32.0",
"serverless-http": "^1.8.0",
"stripe": "^6.20.0",
"twilio": "^3.30.0"
},
"devDependencies": {
"aws-sdk": "^2.192.0",
"babel-core": "^6.26.0",
"babel-loader": "^8.0.5",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-3": "^6.24.1",
"eslint": "^5.10.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.11.1",
"graphql-playground-middleware-express": "^1.7.3",
"prettier": "1.17.0",
"serverless-offline": "^4.9.4",
"serverless-plugin-tracing": "^2.0.0",
"serverless-plugin-warmup": "^4.5.3-rc.1",
"serverless-webpack": "^5.2.0",
"webpack": "^4.30.0",
"webpack-node-externals": "^1.7.2"
},
"scripts": {
"start": "sls offline start --port 3006",
"test": "echo \"Error: no test specified\" && exit 1",
"prettier-watch": "onchange '**/*.js' -- prettier --write {{changed}}"
},
"author": "",
"license": "ISC"
} What would I try on master branch ? serveless-webpack? |
Yes, please try
OR
Is it possible to find out what version of Node are you running? I also noticed your |
Thank you for your help! At this point, it seems like I am not having the issue anymore. (I am using node 8.11.4. ) I pointed serverless-webpack at master, added a target to the .babelrc and also upgraded to the babel 7. I'm not sure which one fixed the issuse but seems to be resolved. |
@AkivaLandsberg does it work lately? |
This is a Bug Report
Description
This is the error I am getting.
For bug reports:
Crashes during development.
That there should not be an error.
Running serverless framework with the following plugins:
plugins:
This is my webpack config:
.babelrc
relevent dependecies
The text was updated successfully, but these errors were encountered: