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 I require module3 in module1 by calling require(folderB/module3), I get an error.
I'm able to fix this error by commenting out the "require() relative filenames" check, and instead calling require('../folderB/module3'), but this is explicitly disallowed as documented.
The text was updated successfully, but these errors were encountered:
If i have two folders at the root of my directory, I'm unable to import modules from one folder to the other.
When I require module3 in module1 by calling
require(folderB/module3)
, I get an error.I'm able to fix this error by commenting out the "
require()
relative filenames" check, and instead callingrequire('../folderB/module3')
, but this is explicitly disallowed as documented.The text was updated successfully, but these errors were encountered: