You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running fab serve fab.zip --port=3001 on a specific project it throws the following error. After a couple of investigations, I found the first part of the error which is about .env.local appears even for a new nextjs application, so, I believe it is an issue with FAB but the new project is running smoothly.
The second part (TypeError: http.Agent is not a constructor), which is more important, I cannot know what is the issue with it. I opened server.js but found that http is imported from __webpack_require__(43) and I couldn't trace more.
[Server] 💎 fab serve 💎
[Server] Reading fab.zip…
[Server] ✔ Done. Booting VM…
Failed to load env from .env.local TypeError: e.info is not a function
at processEnv (evalmachine.<anonymous>:70518:25)
at Module.1tyE (evalmachine.<anonymous>:44515:9)
at __webpack_require__ (evalmachine.<anonymous>:41789:29)
at evalmachine.<anonymous>:41846:20
at Object.<anonymous> (evalmachine.<anonymous>:41859:7)
at Object.<anonymous> (evalmachine.<anonymous>:108526:34)
at __webpack_require__ (evalmachine.<anonymous>:11646:34)
at Object.<anonymous> (evalmachine.<anonymous>:41765:27)
at __webpack_require__ (evalmachine.<anonymous>:11646:34)
at evalmachine.<anonymous>:11710:22
TypeError: http.Agent is not a constructor
The text was updated successfully, but these errors were encountered:
I am also getting this exact same error log when I run npm run fab:serve on my local. My build is without next export because I have API routes in place. Not sure if that is relevant, but I think it's worth mentioning.
When running
fab serve fab.zip --port=3001
on a specific project it throws the following error. After a couple of investigations, I found the first part of the error which is about.env.local
appears even for a newnextjs
application, so, I believe it is an issue with FAB but the new project is running smoothly.The second part (
TypeError: http.Agent is not a constructor
), which is more important, I cannot know what is the issue with it. I openedserver.js
but found thathttp
is imported from__webpack_require__(43)
and I couldn't trace more.The text was updated successfully, but these errors were encountered: