Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mastarm bulid faild, Cannot read property 'environments' of null #263

Open
alishan305 opened this issue Apr 25, 2019 · 0 comments
Open

mastarm bulid faild, Cannot read property 'environments' of null #263

alishan305 opened this issue Apr 25, 2019 · 0 comments

Comments

@alishan305
Copy link

Hello,

Can anyone help me what i am doing worng, when i am buliding i am getting below error,

if (object.environments && object.environments[environment]) {
^

TypeError: Cannot read property 'environments' of null
at overrideWithEnvironment (D:\dosafar - lab\nodejs\nodejs\node_modules\mastarm\lib\load-config.js:52:14)
at load (D:\dosafar - lab\nodejs\nodejs\node_modules\mastarm\lib\load-config.js:17:10)
at Object. (D:\dosafar - lab\nodejs\nodejs\node_modules\mastarm\bin\mastarm-build:29:16)
at Module._compile (internal/modules/cjs/loader.js:816:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
at Module.load (internal/modules/cjs/loader.js:685:32)
at Function.Module._load (internal/modules/cjs/loader.js:620:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:877:12)
at internal/main/run_main_module.js:21:11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant