Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js NPM私有模块:如何在AWS Beanstalk实例上安装私有模块?_Node.js_Npm_Amazon Elastic Beanstalk_Npm Private Modules - Fatal编程技术网

Node.js NPM私有模块:如何在AWS Beanstalk实例上安装私有模块?

Node.js NPM私有模块:如何在AWS Beanstalk实例上安装私有模块?,node.js,npm,amazon-elastic-beanstalk,npm-private-modules,Node.js,Npm,Amazon Elastic Beanstalk,Npm Private Modules,NPM私有模块看起来很棒,但我不确定如何在AWS Beanstalk实例上安装它们 有关于这方面的文献发表吗 此外,在默认的Node.js配置上,Beanstalk使用npm版本2.7.4。这会有问题吗?那么,在elastic beanstalk的启动命令中将您的存储库(密钥等)添加到配置中。ebextensions/00 my tasks.config: container_commands: 00-my-task: command: echo "some config" >

NPM私有模块看起来很棒,但我不确定如何在AWS Beanstalk实例上安装它们

有关于这方面的文献发表吗


此外,在默认的Node.js配置上,Beanstalk使用npm版本2.7.4。这会有问题吗?

那么,在elastic beanstalk
的启动命令中将您的存储库(密钥等)添加到配置中。ebextensions/00 my tasks.config

container_commands:
  00-my-task:
    command: echo "some config" >> /etc/config_of_npm
Idk,这对于npm是如何工作的,但是可以通过私有docker存储库来实现。你基本上可以“黑客”那里的任何东西,包括一些实用程序的更新,如果需要的话。我希望它能帮助你