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
So I have noticed an issue with the way in which findProjectRoot attempts to find the project root. By doing a indexOf('node_modules) it sometimes gets confused by some file paths:
Hello
So I have noticed an issue with the way in which findProjectRoot attempts to find the project root. By doing a indexOf('node_modules) it sometimes gets confused by some file paths:
Example:
The expected project route should be
But instead the project route is
This unfortunately is incorrect, because of the indexOf it is finding the directory I store my modules in _beamly_node_modules
Perhaps a valid fall back if it doesnt find a package.json like that would be to use process.cwd() to find the package.json
Thanks
Jonathan
The text was updated successfully, but these errors were encountered: