'Moment' Command not found

Perhaps you had named your project ‘moment’ at some point in time? How about resetting your npm install directory and trying again?

In your project directory:
rm -rf node_modules
npm install moment --save

If something else is still failing, can you post a screenshot of your terminal here?

1 Like