> postinstall /Users/samiam/Sites//site/web/app/themes/mysite/node_modules/gifsicle configure -disable-shared -prefix="/Users/samiam/Sites//site/web/app/themes/mysite/node_modules/jpegtran-bin/vendor" -bindir="/Users/samiam/Sites//site/web/app/themes/mysite/node_modules/jpegtran-bin/vendor"Ĭonfigure: error: installation or configuration problem: assembler cannot create object files.Īt ChildProcess.exithandler (child_process.js:202:12)Īt maybeClose (internal/child_process.js:850:16)Īt Socket. configure -disable-shared -prefix="/Users/samiam/Sites//site/web/app/themes/mysite/node_modules/jpegtran-bin/vendor" -bindir="/Users/samiam/Sites//site/web/app/themes/mysite/node_modules/jpegtran-bin/vendor" & make installĬommand failed. ✖ Error: touch configure.ac aclocal.m4 configure Makefile.am Makefile.in &. ⚠ The `/Users/samiam/Sites//site/web/app/themes/mysite/node_modules/jpegtran-bin/vendor/jpegtran` binary doesn't seem to work correctly > postinstall /Users/samiam/Sites//site/web/app/themes/mysite/node_modules/jpegtran-bin ⚠ The `/Users/samiam/Sites//site/web/app/themes/mysite/node_modules/optipng-bin/vendor/optipng` binary doesn't seem to work correctly > postinstall /Users/samiam/Sites//site/web/app/themes/mysite/node_modules/optipng-bin (/Users/samiam/Sites//site/web/app/themes/mysite/node_modules/got/index.js:192:24)Īt Immediate._onImmediate (/Users/samiam/Sites//site/web/app/themes/mysite/node_modules/got/index.js:58:8)Īt processImmediate (timers.js:514:5) ✖ HTTPError: Response code 404 (Not Found)Īt EventEmitter. ⚠ The `/Users/samiam/Sites//site/web/app/themes/mysite/node_modules/pngcrush-bin/vendor/pngcrush` binary doesn't seem to work correctly SOS! > postinstall /Users/samiam/Sites//site/web/app/themes/mysite/node_modules/pngcrush-bin Yet, here I am with this persistent bugger. I completely removed NPM, re-installed and changed usr/local/lib/node_modules permissions to drwxr-xr-x. I deleted themes/sage/node_modules ran rm -rf ~/.npm & npm cache clean, then ran npm install. I’m struggling to install the elm-pages package.Encountering a series of errors during npm install (listed below). 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. ✖ Error: Command failed: /bin/sh -c autoreconf -ivf ⚠ spawn /tmp/elm-pages-starter/node_modules/gifsicle/vendor/gifsicle ENOENT fix: gifsicle 5.3.0->5.2.1 cnpm/bug-versions160 sindresorhus completed on sindresorhus mentioned this issue on 5.3.0 is error 134 Closed added a commit to Jiasm/bug-versions that referenced this issue cd2b04c Jiasm mentioned this issue on fix: Remove gifsicle 5.3.0 -> 5.2. I then thought I’d use node2nix, so I ran node2nix -l, which completed successfully. > 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. 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 Unpacking source archive /nix/store/ifminfmdnsyyinwsfk7c6l2m9zcx24qi-sprintf-js-1.0.3.tgzĮRR! sharp getaddrinfo ENOTFOUND > (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. I guess I could try to package the elm-pages package, but I’m really scared by the list of dependencies. ![]() I would just like to try out the elm-pages package, I don’t need the solution to be clean or perfect.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |