![]() ![]() I would just like to try out the elm-pages package, I don’t need the solution to be clean or perfect. I guess I could try to package the elm-pages package, but I’m really scared by the list of dependencies. Make: Leaving directory '/nix/store/bcr9pq8qac1wxd1ldnkfv49b22k4m8rz-node-dependencies-elm-pages-example-1.0.0/elm-pages-example/node_modules/sharp/build' src/:25:10: fatal error: vips/vips8: No such file or directory TOUCH Release/obj.target/libvips-cpp.stampĬXX(target) Release/obj.target/sharp/src/common.o Make: Entering directory '/nix/store/bcr9pq8qac1wxd1ldnkfv49b22k4m8rz-node-dependencies-elm-pages-example-1.0.0/elm-pages-example/node_modules/sharp/build' Info sharp Please see for required dependencies Info sharp Attempting to build from source via node-gyp but this may fail due to the above error Additionally, I created an ad hoc instructions image to proceed the. ![]() Unpacking source archive /nix/store/ifminfmdnsyyinwsfk7c6l2m9zcx24qi-sprintf-js-1.0.3.tgzĮRR! sharp getaddrinfo ENOTFOUND combine the gifs into a looping animated gif, e.g. > (node install/libvips & node install/dll-copy & prebuild-install) || (node-gyp rebuild & node install/dll-copy) I’ve tried removing the elm package manually from the generated node-packages.nix, but got an error with another package that also downloads something during the install phase: > install /nix/store/bcr9pq8qac1wxd1ldnkfv49b22k4m8rz-node-dependencies-elm-pages-example-1.0.0/elm-pages-example/node_modules/sharp Something went wrong while fetching the following URL: NOTE: You can avoid npm entirely by downloading directly from:Īll this package does is download that file and put it somewhere. > install /nix/store/dw6jqasxzc28z55iiamymmp1gqg07ixh-node-dependencies-elm-pages-example-1.0.0/elm-pages-example/node_modules/elm However, nix-shell -A shell fails, because apparently elm-pages has a dependency to elm, which, in its install script, tries to download the compiler binary, which fails because the network is not accessible during this phase. I then thought I’d use node2nix, so I ran node2nix -l, which completed successfully. ✖ Error: Command failed: /bin/sh -c autoreconf -ivf ⚠ spawn /tmp/elm-pages-starter/node_modules/gifsicle/vendor/gifsicle ENOENT I first tried to npm install it, which failed: > postinstall /tmp/elm-pages-starter/node_modules/gifsicle I followed the readme and cloned the elm-pages-starter template. I’m struggling to install the elm-pages package. ![]()
0 Comments
Leave a Reply. |