Forum Discussion
Anonymous
6 years agoNot applicable
Error when using moment.js
I am trying to use moment.js when creating a custom visual, but get the following error: Module not found: Error: Can't resolve './locale' in 'F:\XXXXX\.tmp\build' This appears to be linked ...
- Anonymous6 years ago
Hi,
fixed the issue by migrating the project to the latest API.
Found the description here somewhat helpful, although incomplete.
Anonymous
6 years agoNot applicable
dm-p Hi Daniel, I followed your suggested steps, moment works just fine when creating a new project.
The issue appears to be related to incompabilities in old packages, as the project is non es2015 and was created on api v1.12. I am fine with sharing anything if you have the time to look into these legacy issues.
I have inherited this project and the issues from someone else.
Anonymous
6 years agoNot applicable
Hi,
fixed the issue by migrating the project to the latest API.
Found the description here somewhat helpful, although incomplete.