-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discover what is breaking binary based packages on some dev/pro machines #441
Comments
Zren commented on Nov 23, 2014, 3:31 AM EST:
Nope... I will do a test with npm 1.4.28 |
A Mac OSX test result (migration specificially) from someone else with a similar issue with node-sass which is a dep in express-minify. PMK commented on Nov 23, 2014, 8:44 AM EST:
|
Try again. |
If you don't put your dev stats in from above... as to why you are having issues with your machine any related issue/pr will be closed with invalid label. e.g. express-minify won't be optional anymore with the |
One of my results: Ubuntu 14.04.1 LTS (64 bit desktop) $ node -v
v0.10.34-pre
$ npm -v
1.4.28
$ npm install node-sass
/
> node-sass@1.2.3 install /home/user/node_modules/node-sass
> node scripts/install.js
Binary downloaded and installed at /home/user/node_modules/node-sass/vendor/linux-x64/binding.node
> node-sass@1.2.3 postinstall /home/user/node_modules/node-sass
> node scripts/build.js
`linux-x64` exists; testing
Binary is fine; exiting
node-sass@1.2.3 ../node_modules/node-sass
├── get-stdin@3.0.2
├── object-assign@1.0.0
├── replace-ext@0.0.1
├── cross-spawn@0.2.3 (lru-cache@2.5.0)
├── mkdirp@0.5.0 (minimist@0.0.8)
├── shelljs@0.3.0
├── nan@1.4.1
├── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)
├── meow@2.0.0 (minimist@1.1.0, camelcase-keys@1.0.0, indent-string@1.2.0)
├── gaze@0.5.1 (globule@0.1.0)
├── mocha@2.0.1 (escape-string-regexp@1.0.2, diff@1.0.8, growl@1.8.1, commander@2.3.0, glob@3.2.3, debug@2.0.0, jade@0.26.3)
└── request@2.48.0 (caseless@0.7.0, json-stringify-safe@5.0.0, aws-sign2@0.5.0, forever-agent@0.5.2, stringstream@0.0.4, oauth-sign@0.5.0, tunnel-agent@0.4.0, node-uuid@1.4.1, qs@2.3.3, mime-types@1.0.2, combined-stream@0.0.7, form-data@0.1.4, bl@0.9.3, tough-cookie@0.12.1, http-signature@0.10.0, hawk@1.1.1) And another... ROSA 2014.1 Fresh (64 bit R4) $ node -v
v0.10.33
$ npm -v
1.4.28
$ echo Same success result as below updated npm install for express-minify
$ sudo npm install npm -g
$ npm -v
2.1.9
$ npm install express-minify
|
> node-sass@1.2.3 install /home/user/tmp/nodestuff/node_modules/express-minify/node_modules/node-sass
> node scripts/install.js
Binary downloaded and installed at /home/user/tmp/nodestuff/node_modules/express-minify/node_modules/node-sass/vendor/linux-x64/binding.node
> node-sass@1.2.3 postinstall /home/user/tmp/nodestuff/node_modules/express-minify/node_modules/node-sass
> node scripts/build.js
`linux-x64` exists; testing
Binary is fine; exiting
express-minify@0.1.1 node_modules/express-minify
├── on-headers@1.0.0
├── cssmin@0.4.2
├── coffee-script@1.8.0 (mkdirp@0.3.5)
├── uglify-js@2.4.15 (uglify-to-browserify@1.0.2, async@0.2.10, source-map@0.1.34, optimist@0.3.7)
├── stylus@0.49.3 (css-parse@1.7.0, mkdirp@0.3.5, sax@0.5.8, source-map@0.1.40, debug@2.1.0, glob@3.2.11)
├── less@2.1.0 (graceful-fs@3.0.4, mime@1.2.11, source-map@0.1.40, mkdirp@0.5.0, promise@6.0.1, request@2.48.0)
└── node-sass@1.2.3 (get-stdin@3.0.2, object-assign@1.0.0, replace-ext@0.0.1, cross-spawn@0.2.3, mkdirp@0.5.0, shelljs@0.3.0, nan@1.4.1, chalk@0.5.1, request@2.48.0, gaze@0.5.1, mocha@2.0.1, meow@2.0.0) |
Ubuntu 10.04.4 LTS
|
So is that 32 bit or 64 bit? Ubuntu has "server" release only for that back in 2012. |
Fixed Heroku by updating to a newer stack. The |
So are you okay to go with express-minify from a standard package installation standpoint with your stack upgrade? |
We don't need to put |
The problem lays with LESS/SASS support... when bootswatch gets compiled run-time that will be the first thing... we are already prepping for the host support on this... I can possibly add it as a separate dependency since node caches but I'd rather just use it since it has that support and it's one less dep... so you'll need to move toward that goal as well. Like I said I've held off on this but it's coming up. |
Bootswatch is LESS. SASS is the dependency that breaks. LESS all is sunshine and rainbows. Remember I'm the one who first compiled our bootswatch theme in the first place. So no foreseeable problems with that. |
Yes I recall quite well the months later your notification that it was a compiled file which someone put sizzles fave font into. And if you want to move forward with research (assuming you need this) express-minify handles this... so you have to get it (express-minify) working for your personal hosting of the production build and dev. Anyhow I'm not going to take any more time on this particular right now because I have other duties to perform as well... just keep it in mind on the back burner. |
Renamed this for long term issue usage... still a milestone with an indefinite date of closure. |
@Zren Can not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v1.2.3/sunos-x64/binding.node ... but it has made zero difference on production running... because we don't use SASS currently even in express-minify e.g. it installs here locally on my devs, installs on pro and I tested your dev site out with a specific request and it is minifying CSS so express-minify appears to not be the culprit for you. |
Misc ref:
Example: $ sudo apt-get install libkrb5-dev ... this will flip the ERR in gyp to nothing or just warnings. Some 64 bit distros require From this (clipped): $ npm install
> kerberos@0.0.17 install /home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)
make: Entering directory '/home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/kerberos/build'
CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
#include <gssapi/gssapi.h>
^
compilation terminated.
kerberos.target.mk:94: recipe for target 'Release/obj.target/kerberos/lib/kerberos.o' failed
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory '/home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/kerberos/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.14.53-nrj-desktop-1rosa-x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/kerberos
gyp ERR! node -v v4.2.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
> kerberos@0.0.17 install /home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)
make: Entering directory '/home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/kerberos/build'
CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
#include <gssapi/gssapi.h>
^
compilation terminated.
kerberos.target.mk:94: recipe for target 'Release/obj.target/kerberos/lib/kerberos.o' failed
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory '/home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/kerberos/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.14.53-nrj-desktop-1rosa-x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/kerberos
gyp ERR! node -v v4.2.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
> OpenUserJS.org@0.2.1 postinstall /home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org
> node dev/init.js
Checking project dependencies. Please wait... ... to this (clipped): $ npm install
> kerberos@0.0.17 install /home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)
make: Entering directory '/home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/kerberos/build'
CXX(target) Release/obj.target/kerberos/lib/kerberos.o
CXX(target) Release/obj.target/kerberos/lib/worker.o
CC(target) Release/obj.target/kerberos/lib/kerberosgss.o
../lib/kerberosgss.c:36:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
#pragma clang diagnostic push
^
../lib/kerberosgss.c:37:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
^
../lib/kerberosgss.c: In function ‘authenticate_gss_client_wrap’:
../lib/kerberosgss.c:362:19: warning: variable ‘server_conf_flags’ set but not used [-Wunused-but-set-variable]
char buf[4096], server_conf_flags;
^
../lib/kerberosgss.c: At top level:
../lib/kerberosgss.c:930:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
CC(target) Release/obj.target/kerberos/lib/base64.o
CXX(target) Release/obj.target/kerberos/lib/kerberos_context.o
SOLINK_MODULE(target) Release/obj.target/kerberos.node
COPY Release/kerberos.node
make: Leaving directory '/home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/kerberos/build'
> OpenUserJS.org@0.2.1 postinstall /home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org
> node dev/init.js
Checking project dependencies. Please wait... |
Closing as stale |
Since this is specific currently to @Zren but can apply to others if they are having any issue with their system... only those having issues need apply themselves.
Please post results of the following:
$ npm -v
$ node -v
$ npm install express-minify
See related:
The text was updated successfully, but these errors were encountered: