Closed KirilOkun closed 5 years ago
All of a sudden started getting the following error for each file in nativescript_toolbox/moment/locale:
ERROR in ../node_modules/nativescript-toolbox/moment/locale/nn.js Module not found: Error: Can't resolve '../moment' in '/home/bear/dev/app90dr/node_modules/nativescript-toolbox/moment/locale' @ ../node_modules/nativescript-toolbox/moment/locale/nn.js 7:50-70 @ ../node_modules/nativescript-toolbox/moment/locale sync ^\.\/.*$ @ ../node_modules/nativescript-toolbox/moment/index.js @ ./pages/person/person-page.ts @ . sync (root|page)\.(xml|css|js|ts|scss)$ @ ./app.ts
It looks like it's caused by factory(require('../moment')) on line 7. It might need to be '../../moment'. Any ideas?
Nevermind. Seems like this project is abandoned. Just imported moment library directly and it works fine. Closing.
All of a sudden started getting the following error for each file in nativescript_toolbox/moment/locale:
It looks like it's caused by factory(require('../moment')) on line 7. It might need to be '../../moment'. Any ideas?