1
Cannot read property 'config' of null
TypeError: Cannot read property 'config' of null
    at Class.run (C:\Users\me\AppData\Roaming\npm\node_module
    at checkExpressPort.then.then (C:\Users\goldneda\AppData\Roamin
    at process._tickCallback (internal/process/next_tick.js:103:7)

Did any one got the same error? What should I do? I'm working with angular-cli, but things just stop working for some reason.

1

1 Answer 1

1

I got the same error, how i solved it by deleting the created app folder and followed the same process again for generating app,

  • Delete the created by running ng new folder
  • npm cache clean
  • ng new
  • cd
  • ng serve
1
  • The cause for this in some cases is moving your app to a new directory, and the "hidden files" beginning with a period (such as .angular-cli.json) not being copied over. Either create new "hidden files" or make sure you copy over everything you need.
    – tengen
    Commented Oct 26, 2017 at 20:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.