Skip to content

Commit

Permalink
Merge pull request #368 from replit/revert-366-rtm-06-27-remove-local…
Browse files Browse the repository at this point in the history
…-node-modules-bin

Revert "[nodejs,angular] stop adding local node_modules/.bin to path"
  • Loading branch information
ryantm committed Jun 28, 2024
2 parents 7acd0f9 + 9a8355a commit 5c8a812
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/modules/angular/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ in
env = {
XDG_CONFIG_HOME = "$REPL_HOME/.config";
npm_config_prefix = "$REPL_HOME/.config/npm/node_global";
PATH = "$XDG_CONFIG_HOME/npm/node_global/bin";
PATH = "$XDG_CONFIG_HOME/npm/node_global/bin:$REPL_HOME/node_modules/.bin";
};

dev.runners.dev-runner = {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/modules/nodejs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ in
env = {
XDG_CONFIG_HOME = "$REPL_HOME/.config";
npm_config_prefix = "$REPL_HOME/.config/npm/node_global";
PATH = "${npx-wrapper}/bin:$XDG_CONFIG_HOME/npm/node_global/bin";
PATH = "${npx-wrapper}/bin:$XDG_CONFIG_HOME/npm/node_global/bin:$REPL_HOME/node_modules/.bin";
};

};
Expand Down

0 comments on commit 5c8a812

Please sign in to comment.