Closed zion03 closed 7 years ago
Did you add it to fastboots whitelist?
Thnaks, didn't notice this section in documentation.
I added to package.json
"fastbootDependencies": [ "moment-timezone" ]
And having a problem: Cannot find module 'moment-timezone'
What I'm doing wrong?
Any suggestions, I still have this problem. How to add fastbootDependencies
correctly
Thanks
Solved. Application also require "moment-timezone": "^0.5.0",
@zion03 Running into the same issue that you had here. Curious, how exactly did you inject "moment-timezone": "^0.5.0"
into your project beyond the package.json
file? I'm assuming you did this via a fastboot initializer but am not 100% as the documentation on this doesn't give a fool-proof example to work from. Thanks in advance!
Trying to start my application in fastboot mode and receive:
Error: Unable to require module 'moment-timezone' because it was not in the whitelist.