-
Notifications
You must be signed in to change notification settings - Fork 12k
Project fails to compile after adding moment library and its typings to the project #273
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
Comments
Hi. Please try to install |
I am unable to install moment-node (I am pretty new to js/ts development) :
|
Then import moment in your
After this you should have moment working. |
Thanks a lot This made the project compile! |
Hi. Still having the same issue. Tried to do |
Hello, --ambient was changed to --global parameter |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I have done the following list of commands using the [email protected] on windows and linux. The last
ng serve
command throws the "Cannot find namespace 'moment'" error.The text was updated successfully, but these errors were encountered: