[ https://issues.apache.org/jira/browse/LENS-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013538#comment-15013538 ]
Ajay Yadava commented on LENS-868: ---------------------------------- Although I am not an expert on node, I think node doesn't restrict you to installing modules in same directory. A quick look through the documentation(https://docs.npmjs.com/misc/config) reveals the following section: {quote} global Default: false Type: Boolean Operates in "global" mode, so that packages are installed into the prefix folder instead of the current working directory. See npm-folders for more on the differences in behavior. packages are installed into the {prefix}/lib/node_modules folder, instead of the current working directory. bin files are linked to {prefix}/bin man pages are linked to {prefix}/share/man {quote} Also: http://stackoverflow.com/questions/14742553/npm-local-install-package-to-custom-location > Should not bundle node & node_modules (generated files) in source-release > archive file > -------------------------------------------------------------------------------------- > > Key: LENS-868 > URL: https://issues.apache.org/jira/browse/LENS-868 > Project: Apache Lens > Issue Type: Bug > Components: UI > Reporter: Raju Bairishetti > Fix For: 2.4 > > > We have seen the node & node_modules files from lens-ui are presented in the > source-release archive. We should not bundle node & node_modules in the > release archive. -- This message was sent by Atlassian JIRA (v6.3.4#6332)