What I did was to ensure that all imported or used libraries appear inside dependencies in the package.json file. I made a mistake of installing them on the project path instead of cd functions, then install them which will make allow them to appear under dependencies on the .