Vineet
1
Hi, I am facing below issue when creating package using command serverless package
Error:
Cannot read file node_modules\static-eval\node_modules\estraverse\LICENSE.BSD due to: EMFILE: too many open files
Framework Core: 3.22.0 (local) 3.22.0 (global)
Plugin: 6.2.2
SDK: 4.3.2
OS: window 11
1 Like
i was facing the same issue while deploying the code to aws lambda the way i solved it was by using serverless-webpack plugin.
plugins:
package:
individually: true
create a file webpack.config.js:
module.exports={
target : ‘node’,
mode : ‘production’
}