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
I'm sure that at some point there was support for node_modules that were located outside of the Ember project root, however it's not clear to me if it's a living thing anymore. This feature is poorly documented, although I've been able to piece some info based on source code, closed issues and proof-of-concept projects, i.e.:
Thanks for filling such a detailed issue! I am closing it as a lot has happened, what with Yarn workspaces, npm workspaces, etc, etc, that I think this would need to be re-thought.
I'm sure that at some point there was support for
node_modules
that were located outside of the Ember project root, however it's not clear to me if it's a living thing anymore. This feature is poorly documented, although I've been able to piece some info based on source code, closed issues and proof-of-concept projects, i.e.:#3735
#3771
#7401
https://github.com/ember-cli/ember-cli/blob/master/lib/models/project.js#L352
https://github.com/bantic/test-app
There seem to have been 3 separate attempts at this:
nodeModulesPath
config key that has been deprecated (possibly addon-specific).EMBER_NODE_PATH
that seems to have some effect when combined withNODE_PATH
, short of booting the app though.I have tried:
nodeModulesPath
, because it seemed like a logical thing to try;--modules-folder
config in.yarnrc
that Ember failed to detect;node_modules
to one of the locations that native NodeJS lookup would find;export EMBER_NODE_PATH=$HOME/.node_modules && export NODE_PATH=$EMBER_NODE_PATH
, that prints:So, maybe it's not supported anymore? Or broken? Or is there something I can tweak to make this work?
Output from
ember version --verbose && npm --version && yarn --version
:The text was updated successfully, but these errors were encountered: