aws-codebuild

node_modules directory not created when using npm install during AWS CodeBuild

与世无争的帅哥 提交于 2020-08-07 17:38:43
问题 After the CodeBuild is complete and I ssh into my environment, I can see that the server app's dependencies are installed and found in its node_modules. However in the client directory, there is no node_modules nor build directory. In the build logs, npm install --prefix client --production appears to run fine. My question is almost exactly like this one, except it is both the node_modules and the build folder. Is there a problem with the buildspec file? Here it is ( EDIT 4 : updated) version