angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Cannot read property "glob" of null angular cli

Open Malouke opened this issue 9 years ago • 5 comments

node version : v7.8.0 npm version :4.2.0 windows 7 pro 64 bits angular cli install like describe on github npm install -g @angular/cli

i get the following error : Cannot read property 'glob' of null TypeError: Cannot read property 'glob' of null at ObjectSchemaTreeNode._set (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:224:131) at new ObjectSchemaTreeNode (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:209:14) at OneOfSchemaTreeNode._createChildProperty (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:148:26) at OneOfSchemaTreeNode._typesPrototype.schema.oneOf.map (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:161:25) at Array.map (native) at OneOfSchemaTreeNode (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:160:48) at ArraySchemaTreeNode._createChildProperty (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:148:26) at ArraySchemaTreeNode._set (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:286:39) at new ArraySchemaTreeNode (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:267:14) at ObjectSchemaTreeNode._createChildProperty (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:148:26)

Why ??? i miss somthing or some packages ???????

Malouke avatar Apr 10 '17 11:04 Malouke

i am realy tired about this issues no one can help ???????????

Malouke avatar Apr 10 '17 13:04 Malouke

i get the also the following error

Cannot read property 'input' of null TypeError: Cannot read property 'input' of null at ObjectSchemaTreeNode._set (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:224:131) at new ObjectSchemaTreeNode (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:209:14) at OneOfSchemaTreeNode._createChildProperty (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:148:26) at OneOfSchemaTreeNode._typesPrototype.schema.oneOf.map (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:161:25) at Array.map (native) at OneOfSchemaTreeNode (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:160:48) at ArraySchemaTreeNode._createChildProperty (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:148:26) at ArraySchemaTreeNode._set (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:286:39) at new ArraySchemaTreeNode (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:267:14) at ObjectSchemaTreeNode._createChildProperty (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:148:26) at ObjectSchemaTreeNode._set (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:224:45) at new ObjectSchemaTreeNode (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:209:14) at ArraySchemaTreeNode._createChildProperty (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:148:26) at ArraySchemaTreeNode._set (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:286:39) at new ArraySchemaTreeNode (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:267:14) at RootSchemaTreeNode._createChildProperty (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:148:26) at RootSchemaTreeNode._set (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:224:45) at RootSchemaTreeNode.ObjectSchemaTreeNode (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:209:14) at RootSchemaTreeNode (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-tree.js:307:9) at GeneratedSchemaClass.SchemaClassBase (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-class-factory.js:61:29) at GeneratedSchemaClass (C:\workspacecode\dashbord\client\node_modules@ngtools\json-schema\src\schema-class-factory.js:152:13) at new CliConfig (C:\workspacecode\dashbord\client\node_modules\angular-cli\models\config\config.js:24:24) at Function.CliConfig.fromConfigPath (C:\workspacecode\dashbord\client\node_modules\angular-cli\models\config\config.js:99:16) at Function.CliConfig.fromProject (C:\workspacecode\dashbord\client\node_modules\angular-cli\models\config.js:63:44) at Object. (C:\workspacecode\dashbord\client\node_modules\angular-cli\commands\serve.js:6:33) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Class.includedCommands (C:\workspacecode\dashbord\client\node_modules\angular-cli\addon\index.js:23:16) at C:\workspacecode\dashbord\client\node_modules\angular-cli\ember-cli\lib\models\project.js:316:61 at Array.forEach (native) at Project.addonCommands (C:\workspacecode\dashbord\client\node_modules\angular-cli\ember-cli\lib\models\project.js:315:15) at Project.eachAddonCommand (C:\workspacecode\dashbord\client\node_modules\angular-cli\ember-cli\lib\models\project.js:350:30) at module.exports (C:\workspacecode\dashbord\client\node_modules\angular-cli\ember-cli\lib\cli\lookup-command.js:33:13) at CLI. (C:\workspacecode\dashbord\client\node_modules\angular-cli\ember-cli\lib\cli\cli.js:42:26) at tryCatch (C:\workspacecode\dashbord\client\node_modules\rsvp\dist\rsvp.js:539:12) at invokeCallback (C:\workspacecode\dashbord\client\node_modules\rsvp\dist\rsvp.js:554:13) at publish (C:\workspacecode\dashbord\client\node_modules\rsvp\dist\rsvp.js:522:7) at flush (C:\workspacecode\dashbord\client\node_modules\rsvp\dist\rsvp.js:2414:5) at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickCallback (internal/process/next_tick.js:104:9)

Malouke avatar Apr 10 '17 13:04 Malouke

i try to run it like Adminstrator that work but when i use it like simple User reject ng server ?

i can t to be admin because i ask temprary right to do how i can work without admin rigths .????

Malouke avatar Apr 10 '17 14:04 Malouke

Closing as it doesn't follow template.

alan-agius4 avatar Oct 11 '18 13:10 alan-agius4

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.