[Nix-dev] bower

Ellis Whitehead ellis.whitehead at gmail.com
Fri Nov 7 15:14:12 CET 2014


I'd like to know how to use bower on nixos too.  For now I'm doing the
following:

$ npm install bower
$ node_modules/bower/bin/bower

That works, but it's obviously inconvenience.

Cheers,
Ellis

On Fri, Nov 7, 2014 at 3:08 PM, Shell Turner <cam.turn at gmail.com> wrote:
> Hey,
>
> I'm trying to get Bower running under NixOS. After installing it with
> "nix-env -iA nixos.pkgs.nodePackages.bower", running "bower" outputs:
>
> module.js:340
>     throw err;
>           ^
> Error: Cannot find module 'es5-ext/object/assign'
>     at Function.Module._resolveFilename (module.js:338:15)
>     at Function.Module._load (module.js:280:25)
>     at Module.require (module.js:364:17)
>     at require (module.js:380:17)
>     at Object.<anonymous>
> (/nix/store/2pnixcmhgdmjpriprszjfsabva07j5bh-node-d-0.1.1/lib/node_modules/d/index.js:3:21)
>     at Module._compile (module.js:456:26)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:312:12)
>     at Module.require (module.js:364:17)
>
> Any ideas?
> Shell
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list