Also another question is, when and how the complier changes the current path.. initially it traverses to current directory and after a while it switches a directory level up. what is happening inside is unknown to me.
/Users/me/data/enter/config/global.js <-- here it is in enter
info Cannot resolve 'path.join(modulesPath, md)'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
/Users/me/data/enter/app/schema.js <-- again in enter
warning Cannot resolve '"./models/" + file'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
/Users/me/data/node_modules/pow-mongoose-fixtures/mongoose_fixtures.js <-- NOW in data
warning Cannot resolve 'file'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
/Users/me/data/enter/upgrade.js <-- again back to lower level enter
warning Cannot resolve 'path.join(app.migrationDir, files[stepNo])'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
/Users/me/data/app/schema.js <-- NOW again back to up level data
warning Cannot resolve '"./models/" + file'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
/Users/me/data/config/global.js <-- up level, not in enter
info Cannot resolve 'path.join(modulesPath, md)'
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
/Users/me/data/node_modules/protagonist/build/Release/protagonist.node
warning Cannot include native addon into executable.
The addon file must be distributed with executable.
/Users/me/data/node_modules/mongoose-timestamp/node_modules/bson/ext/index.js
error Cannot find module '../build/Release/bson' from '/Users/me/data/node_modules/mongoose-timestamp/node_modules/bson/ext'
node enclose.js
from enter
directory .. and it switches a directory up automatically. why?
info Cannot resolve 'path.join(modulesPath, md)'
md
variable refers to and require that