-
Notifications
You must be signed in to change notification settings - Fork 127
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
Install module in node docker image #38
Comments
What's in your package.json? Could be a npm version issue. |
|
I am using npm version 6.4.1. |
And also I am using node:10.15.3-jessie as a base image in my docker file. |
@eskimoquinn , it's an known issue, my fix ("github:kzhou57/serverless-openapi-documentation"), cannot be submit to npm repository yet, so we are using the github as the repository, and I am using a new feature from npm to support compile the package on place, unfortunately the compilation of serverless-openapi-documentation need another program called 'yarn'. You probably can add following command to your docker file, it should solve the problem : npm install yarn Since it sounds like troublesome to use the compiling in place feature, I am thinking to just commit the compiled dist folder to github repo. |
I am trying to install this plugin in a node docker image (v.10.10.0). However, after npm install, serverless says that this plugin could not be found and indeed the dist folder is missing from the node modules directory. Does this module have dependencies on bash?
The text was updated successfully, but these errors were encountered: