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
TypeError: Cannot read property 'info' of undefined
webpack-log imports ansi-colors from ./node_modules/ansi-colors not from nested ./node_modules/webpack-log/node_modules/ansi-colors
I'm not sure how it should work with this config by design, but what I want is to specify an additional location for finding node_modules. Here is kind of dummy example, because "*": ["./node_modules/*"] makes no actual sense as this location is included anyway. But this could be different (for example some where in nested folder), and anyway module should first try to require modules from its own "node_modules" first then go up, and only then would search for other locations.
So what I need again:
inside say some module parent require('mod')
would try parent/node_modules
go up node_modules tree
only then would try locations described inside tsconfig "paths"
Is it possible, or how it should work?
The text was updated successfully, but these errors were encountered:
Clone, run and test:
https://github.com/whitecolor/tsconfig-paths-issues
webpack-log
module gives an error:webpack-log
importsansi-colors
from./node_modules/ansi-colors
not from nested./node_modules/webpack-log/node_modules/ansi-colors
I'm not sure how it should work with this config by design, but what I want is to specify an additional location for finding node_modules. Here is kind of dummy example, because
"*": ["./node_modules/*"]
makes no actual sense as this location is included anyway. But this could be different (for example some where in nested folder), and anyway module should first try to require modules from its own "node_modules" first then go up, and only then would search for other locations.So what I need again:
inside say some module
parent
require('mod')
Is it possible, or how it should work?
The text was updated successfully, but these errors were encountered: