Issue description
I can't use nodePackages.webpack, as the CLI is split into webpack-cli, which is not available in nixpkgs.
Steps to reproduce
> nix run nixpkgs.nodePackages.webpack nixpkgs.nodePackages.npm
$ webpack
$ webpack
The CLI moved into a separate package: webpack-cli
Would you like to install webpack-cli? (That will run npm install -D webpack-cli) (yes/NO)yes
npm WARN awesome-typescript-loader@5.1.1 requires a peer of typescript@^2.7 but none is installed. You must install peer dependencies yourself.
npm WARN webpack-cli@3.0.8 requires a peer of webpack@^4.x.x but none is installed. You must install peer dependencies yourself.
npm WARN react-nodes@0.0.1 No repository field.
+ webpack-cli@3.0.8
added 76 packages from 32 contributors in 9.471s
[+] no known vulnerabilities found [1180 packages audited]
{ Error: Cannot find module 'webpack-cli'
at Function.Module._resolveFilename (module.js:476:15)
at Function.Module._load (module.js:424:25)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at runCommand.then.result (/nix/store/x96639940sdbv2cpky54pf4xby51jvnl-node-webpack-4.8.3/lib/node_modules/webpack/bin/webpack.js:62:14)
at process._tickCallback (internal/process/next_tick.js:109:7) code: 'MODULE_NOT_FOUND' }
Technical details
- system:
"x86_64-linux"
- host os:
Linux 4.14.42, NixOS, 18.09pre140682.5da85431fb1 (Jellyfish)
- multi-user?:
yes
- sandbox:
no
- version:
nix-env (Nix) 2.0.2
- channels(root):
"nixos-18.09pre142796.4b649a99d84"
- channels(kai):
"nixos-18.09pre139651.6db7f92cc2a"
- nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos
Issue description
I can't use
nodePackages.webpack, as the CLI is split intowebpack-cli, which is not available in nixpkgs.Steps to reproduce
Technical details
"x86_64-linux"Linux 4.14.42, NixOS, 18.09pre140682.5da85431fb1 (Jellyfish)yesnonix-env (Nix) 2.0.2"nixos-18.09pre142796.4b649a99d84""nixos-18.09pre139651.6db7f92cc2a"/nix/var/nix/profiles/per-user/root/channels/nixos