Ionic serve error: cannot find module 'typescript'

Hi all,

in my mac, i have install vs code, angular, ionic, and start a new ionic project.
when i type “ionic serve” commend, got some error:
cannot find module ‘typescript’

what i miss?
kindly have your help~

sometimes these error appear if you try to run the command for the first time after installing a new plugin…so try to run this command once again and see what happens whether the same error is shown or a different one or no error appears…if the problem persists run npm install to update your npm.

1 Like

@abhi123 thanks. i reference this: install ionic to re-install all things. it’s work.

now, i can play ionic~