Level 13
yarn add moment
or npm. That you uses.
1 like
Hello guys! I am trying to use Pikaday form my date pickers.
In the official docs there is this huge statment that you don't need any dependencies like moment.js in order for this package to work. Yet still while i am trying to compile my assets with Laravel.Mixt hrows me an error like this:
Module not found: Error: Can't resolve 'moment' in '/project/root/node_modules/pikaday'
It seems like i get my bundle anyway and the whole thing works. The question is how to get rid of this error?
Any one had this problem before?
Please or to participate in this conversation.