Description of problem:
The npm_global_module_list file is missing under the template of Node.js applications, but the file is referred by both deplist.txt and README.md files.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a Node.js application
2. Check the README.md file of Node.js cartridge
3. list the contents under the app's repo
4. check the code in both master and stage branch in
The README.md file clearly indicates that npm_global_module_list file should be included in the template repo, but in Step 3 and Step 4, the file is missing, specifically, in Step 3, the results are:
-rw-rw-r--. 1 zhe zhe 444 Jul 1 15:37 deplist.txt
-rw-rw-r--. 1 zhe zhe 5235 Jul 1 15:37 index.html
drwxrwxr-x. 2 zhe zhe 4096 Jul 1 15:37 node_modules
-rw-rw-r--. 1 zhe zhe 642 Jul 1 15:37 package.json
-rw-rw-r--. 1 zhe zhe 175 Jul 1 15:37 README.md
-rwxrwxr-x. 1 zhe zhe 4770 Jul 1 15:37 server.js
There should be a npm_global_module_list file under the repo of Node.js applications' template, which is referred in both deplist.txt and README.md files.
Is this a documentation error or should this file be in the template application?
This is a documentation issue. The file, if available, is read, but its absence should not prevent application from functioning.
I will fix the documentation shortly.
It is a documentation issue, but the bits about the file's functions above are incorrect.
Either way, documentation will be fixed.
Commit pushed to master at https://github.com/openshift/origin-server
Clarify the purpose of npm_global_module_list
Tested on devenv_3711.
File "npm_global_module_list" is in "versions/0.6/configuration" only, which is the same as described in webpage "http://openshift.github.io/documentation/oo_cartridge_guide.html#nodejs".
So change the bug to "verified"