I installed fiber with meteor npm install --save fibers
as Meteor suggested.
Then I imported with import Fiber from 'fibers';
but I get the following error on browser:
Uncaught TypeError: Cannot read property '0' of null
And page doesn’t render.
What am I doing wrong?
Are you trying to use fibers in the browser? Fibers are for nodejs (server) only.
1 Like
Ugh, I can’t believe I did that. Thanks a lot!
My previous method files were in just api
folder so I just did that for this particular file as well.
Now I just put it in a server
folder and everything is fine.
1 Like