'Elastic Beanstalk can not create environment without semver
I'm trying to create a new Elastic Beanstalk environment but seeing an error relating a a missing versionn of semver:
Creating application version archive "app-a538-220504_144649322441".
ERROR: FileNotFoundError - [Errno 2] No such file or directory: './node_modules/babel-jest/node_modules/@jest/transform/node_modules/@babel/core/node_modules/.bin/semver'
The error appears since I've added an .ebignore file which includes node_modules (which is intended and should remain ignored):
.ebignore
# dependencies
node_modules/
# repository/project stuff
.idea/
.git/
.gitlab-ci.yml
README.md
# misc
.DS_Store
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
To me this makes no sense at all. Why should eb need a dependency from my node_modules folder for it's internal versioning.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
