Skip to content
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

Stuck building addon? (if depending on ember-cli-sass) #561

Open
kybishop opened this issue Aug 31, 2017 · 23 comments
Open

Stuck building addon? (if depending on ember-cli-sass) #561

kybishop opened this issue Aug 31, 2017 · 23 comments

Comments

@kybishop
Copy link
Contributor

After 24 hours I'm still seeing "Addon ember-attacher is still building..."

@Subtletree
Copy link

Subtletree commented Aug 31, 2017

This is also happening with ember-paper versions after 1.0.0-alpha.19

@shoxter
Copy link

shoxter commented Sep 22, 2017

Is there any update here?

@kybishop
Copy link
Contributor Author

Still broken as of today

@pauln
Copy link

pauln commented Oct 2, 2017

@Gaurav0, is there anything we can do to help debug/fix this issue? I've just hit another issue for which I'd like to whip up a repro in a Twiddle, but once again the relevant addons / versions won't build.

(This time, I need ember-data 2.15.0 and ember-data-model-fragments 2.14.0 - model-fragments builds/loads, but e-d 2.15 doesn't finish building - so model-fragments doesn't actually work. As above, ember-paper is another addon which it's not possible to Twiddle recent versions of.)

@pauln
Copy link

pauln commented Oct 29, 2017

@GavinJoyce's PR #568 and discussion about it on Slack reminded me of this issue, and it struck me that ember-paper was updated to Ember 2.13 in alpha 20, which corresponds with where the builds stopped working. @Gaurav0, is supporting newer versions of Ember likely to fix this addon build issue?

@sukima
Copy link
Contributor

sukima commented Nov 17, 2017

Same problem with Ember 2.12.0 and ember-power-select. I've tried the following power-select versions: 1.10.1, ~1.9.0, and ~1.8.0. All fail.

@jelhan
Copy link

jelhan commented Jan 18, 2018

Facing same issue with ember 2.16.2 and [email protected]. I'm trying to use that combination since a few days now, but building has never finished. It's working fine with ember 2.14.1.

@MrChriZ
Copy link

MrChriZ commented Jan 29, 2018

Same here with ember-material-components-web

@sukima
Copy link
Contributor

sukima commented Jan 29, 2018

IIRC the common theme for all of those addon having issues is node-sass.

Overreacting rant about SASS and it's use of native binaries instead of sane language defaults like the rest of humanity redacted

@jacobq
Copy link
Contributor

jacobq commented Jan 31, 2018

Yes, this does seem related to node-sass / #483. In case it's helpful, here is a dump from the console for a simple, broken twiddle. Looks like it's having troubles due to missing Python.

Console output (slightly edited)

Addon ember-cli-materialize is still building...
ember-twiddle-x.js:3 Addon ember-cli-materialize encountered a build error:

...

ember-twiddle-x.js:3 NPM: Installed [email protected]
installing ember-cli-materialize
  install addons ember-composability@~0.3.7, [email protected], ember-new-computed@~1.0.2, [email protected], [email protected], ember-modal-dialog@~0.8.0, ember-materialize-shim@~0.2.0
Command failed: npm install --save-dev --loglevel error ember-composability@~0.3.7 [email protected] ember-new-computed@~1.0.2 [email protected] [email protected] ember-modal-dialog@~0.8.0 ember-materialize-shim@~0.2.0
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global [email protected] should be installed with -g
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/bin/node',
gyp verb cli   '/addon-builder/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/addon-builder/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/addon-builder/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /addon-builder/node_modules/which/which.js:89:16
gyp verb `which` failed     at /addon-builder/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /addon-builder/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb `which` failed  python2 { Error: not found: python2
gyp verb `which` failed     at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/addon-builder/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/addon-builder/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /addon-builder/node_modules/which/which.js:89:16
gyp verb `which` failed     at /addon-builder/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /addon-builder/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb `which` failed   stack: 'Error: not found: python2\n    at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)\n    at F (/addon-builder/node_modules/which/which.js:68:19)\n    at E (/addon-builder/node_modules/which/which.js:80:29)\n    at /addon-builder/node_modules/which/which.js:89:16\n    at /addon-builder/node_modules/isexe/index.js:42:5\n    at /addon-builder/node_modules/isexe/mode.js:8:5\n    at FSReqWrap.oncomplete (fs.js:123:15)',
gyp verb `which` failed   code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` failed Error: not found: python
gyp verb `which` failed     at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/addon-builder/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/addon-builder/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /addon-builder/node_modules/which/which.js:89:16
gyp verb `which` failed     at /addon-builder/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /addon-builder/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb `which` failed  python { Error: not found: python
gyp verb `which` failed     at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/addon-builder/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/addon-builder/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /addon-builder/node_modules/which/which.js:89:16
gyp verb `which` failed     at /addon-builder/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /addon-builder/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb `which` failed   stack: 'Error: not found: python\n    at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)\n    at F (/addon-builder/node_modules/which/which.js:68:19)\n    at E (/addon-builder/node_modules/which/which.js:80:29)\n    at /addon-builder/node_modules/which/which.js:89:16\n    at /addon-builder/node_modules/isexe/index.js:42:5\n    at /addon-builder/node_modules/isexe/mode.js:8:5\n    at FSReqWrap.oncomplete (fs.js:123:15)',
gyp verb `which` failed   code: 'ENOENT' }
gyp ERR! configure error 
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at Object.failNoPython (/addon-builder/node_modules/node-gyp/lib/configure.js:483:19)
gyp ERR! stack     at Object.<anonymous> (/addon-builder/node_modules/node-gyp/lib/configure.js:397:16)
gyp ERR! stack     at F (/addon-builder/node_modules/which/which.js:68:16)
gyp ERR! stack     at E (/addon-builder/node_modules/which/which.js:80:29)
gyp ERR! stack     at /addon-builder/node_modules/which/which.js:89:16
gyp ERR! stack     at /addon-builder/node_modules/isexe/index.js:42:5
gyp ERR! stack     at /addon-builder/node_modules/isexe/mode.js:8:5
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Linux 4.4.10-22.54.amzn1.x86_64
gyp ERR! command "/usr/bin/node" "/addon-builder/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /addon-builder/node_modules/node-sass
gyp ERR! node -v v6.9.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
Build failed with error code: 1
npm WARN [email protected] No repository field.
npm ERR! Linux 4.4.10-22.54.amzn1.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--save-dev" "--loglevel error" "ember-composability@~0.3.7" "[email protected]" "ember-new-computed@~1.0.2" "[email protected]" "[email protected]" "ember-modal-dialog@~0.8.0" "ember-materialize-shim@~0.2.0"
npm ERR! node v6.9.2
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /addon-builder/npm-debug.log


> [email protected] install /addon-builder/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/linux-x64-48_binding.node
Download complete
Binary saved to /addon-builder/node_modules/node-sass/vendor/linux-x64-48/binding.node
Caching binary to /root/.npm/node-sass/3.13.1/linux-x64-48_binding.node

> [email protected] postinstall /addon-builder/node_modules/node-sass
> node scripts/build.js

Binary found at /addon-builder/node_modules/node-sass/vendor/linux-x64-48/binding.node
Testing binary
Binary has a problem: Error: Error relocating /addon-builder/node_modules/node-sass/vendor/linux-x64-48/binding.node: __strtod_internal: symbol not found
    at Error (native)
    at Object.Module._extensions..node (module.js:597:18)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at module.exports (/addon-builder/node_modules/node-sass/lib/binding.js:19:10)
    at Object.<anonymous> (/addon-builder/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (module.js:570:32)
Building the binary locally
Building: /usr/bin/node /addon-builder/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
[email protected] /addon-builder
+-- [email protected] 
+-- [email protected] 
| +-- [email protected] 
| | `-- [email protected] 
| |   +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | | `-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | `-- [email protected] 
| |   |   `-- [email protected] 
| |   `-- [email protected] 
| `-- [email protected] 
|   `-- [email protected] 
|     `-- [email protected] 
|       +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | | `-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | `-- [email protected] 
|       |   `-- [email protected] 
|       `-- [email protected] 
+-- [email protected] 
| +-- [email protected] 
| | `-- [email protected] 
| |   +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | | `-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | +-- [email protected] 
| |   | `-- [email protected] 
| |   |   `-- [email protected] 
| |   `-- [email protected] 
| +-- [email protected] 
| | `-- [email protected] 
| `-- [email protected] 
|   `-- [email protected] 
|     `-- [email protected] 
|       +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | | `-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | +-- [email protected] 
|       | `-- [email protected] 
|       |   `-- [email protected] 
|       `-- [email protected] 
+-- [email protected] 
| `-- [email protected] 
|   `-- [email protected] 
|     +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | | `-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | `-- [email protected] 
|     |   `-- [email protected] 
|     `-- [email protected] 
+-- [email protected] 
| `-- [email protected] 
|   `-- [email protected] 
|     +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | | `-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | +-- [email protected] 
|     | `-- [email protected] 
|     |   `-- [email protected] 
|     `-- [email protected] 
`-- [email protected] 
  `-- [email protected] 
    `-- [email protected] 
      +-- [email protected] 
      | +-- [email protected] 
      | +-- [email protected] 
      | +-- [email protected] 
      | +-- [email protected] 
      | | `-- [email protected] 
      | +-- [email protected] 
      | +-- [email protected] 
      | +-- [email protected] 
      | +-- [email protected] 
      | +-- [email protected] 
      | +-- [email protected] 
      | +-- [email protected] 
      | +-- [email protected] 
      | +-- [email protected] 
      | `-- [email protected] 
      |   `-- [email protected] 
      `-- [email protected] 


Error: Command failed: npm install --save-dev --loglevel error ember-composability@~0.3.7 [email protected] ember-new-computed@~1.0.2 [email protected] [email protected] ember-modal-dialog@~0.8.0 ember-materialize-shim@~0.2.0
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global [email protected] should be installed with -g
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/bin/node',
gyp verb cli   '/addon-builder/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/addon-builder/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/addon-builder/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /addon-builder/node_modules/which/which.js:89:16
gyp verb `which` failed     at /addon-builder/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /addon-builder/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb `which` failed  python2 { Error: not found: python2
gyp verb `which` failed     at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/addon-builder/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/addon-builder/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /addon-builder/node_modules/which/which.js:89:16
gyp verb `which` failed     at /addon-builder/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /addon-builder/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb `which` failed   stack: 'Error: not found: python2\n    at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)\n    at F (/addon-builder/node_modules/which/which.js:68:19)\n    at E (/addon-builder/node_modules/which/which.js:80:29)\n    at /addon-builder/node_modules/which/which.js:89:16\n    at /addon-builder/node_modules/isexe/index.js:42:5\n    at /addon-builder/node_modules/isexe/mode.js:8:5\n    at FSReqWrap.oncomplete (fs.js:123:15)',
gyp verb `which` failed   code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` failed Error: not found: python
gyp verb `which` failed     at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/addon-builder/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/addon-builder/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /addon-builder/node_modules/which/which.js:89:16
gyp verb `which` failed     at /addon-builder/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /addon-builder/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb `which` failed  python { Error: not found: python
gyp verb `which` failed     at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/addon-builder/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/addon-builder/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /addon-builder/node_modules/which/which.js:89:16
gyp verb `which` failed     at /addon-builder/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /addon-builder/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb `which` failed   stack: 'Error: not found: python\n    at getNotFoundError (/addon-builder/node_modules/which/which.js:13:12)\n    at F (/addon-builder/node_modules/which/which.js:68:19)\n    at E (/addon-builder/node_modules/which/which.js:80:29)\n    at /addon-builder/node_modules/which/which.js:89:16\n    at /addon-builder/node_modules/isexe/index.js:42:5\n    at /addon-builder/node_modules/isexe/mode.js:8:5\n    at FSReqWrap.oncomplete (fs.js:123:15)',
gyp verb `which` failed   code: 'ENOENT' }
gyp ERR! configure error 
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at Object.failNoPython (/addon-builder/node_modules/node-gyp/lib/configure.js:483:19)
gyp ERR! stack     at Object.<anonymous> (/addon-builder/node_modules/node-gyp/lib/configure.js:397:16)
gyp ERR! stack     at F (/addon-builder/node_modules/which/which.js:68:16)
gyp ERR! stack     at E (/addon-builder/node_modules/which/which.js:80:29)
gyp ERR! stack     at /addon-builder/node_modules/which/which.js:89:16
gyp ERR! stack     at /addon-builder/node_modules/isexe/index.js:42:5
gyp ERR! stack     at /addon-builder/node_modules/isexe/mode.js:8:5
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Linux 4.4.10-22.54.amzn1.x86_64
gyp ERR! command "/usr/bin/node" "/addon-builder/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /addon-builder/node_modules/node-sass
gyp ERR! node -v v6.9.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
Build failed with error code: 1
npm WARN [email protected] No repository field.
npm ERR! Linux 4.4.10-22.54.amzn1.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--save-dev" "--loglevel error" "ember-composability@~0.3.7" "[email protected]" "ember-new-computed@~1.0.2" "[email protected]" "[email protected]" "ember-modal-dialog@~0.8.0" "ember-materialize-shim@~0.2.0"
npm ERR! node v6.9.2
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /addon-builder/npm-debug.log


> [email protected] install /addon-builder/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/linux-x64-48_binding.node
Download complete
Binary saved to /addon-builder/node_modules/node-sass/vendor/linux-x64-48/binding.node
Caching binary to /root/.npm/node-sass/3.13.1/linux-x64-48_binding.node

> [email protected] postinstall /addon-builder/node_modules/node-sass
> node scripts/build.js

Binary found at /addon-builder/node_modules/node-sass/vendor/linux-x64-48/binding.node
Testing binary
Binary has a problem: Error: Error relocating /addon-builder/node_modules/node-sass/vendor/linux-x64-48/binding.node: __strtod_internal: symbol not found
    at Error (native)
    at Object.Module._extensions..node (module.js:597:18)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at module.exports (/addon-builder/node_modules/node-sass/lib/binding.js:19:10)
    at Object.<anonymous> (/addon-builder/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (module.js:570:32)
Building the binary locally
Building: /usr/bin/node /addon-builder/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
[email protected] /addon-builder
+-- [email protected] 
...

    at Promise.all.then.arr (/addon-builder/node_modules/execa/index.js:236:11)
    at process._tickCallback (internal/process/next_tick.js:103:7)
Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
cleaning up...
Built project successfully. Stored in "dist/".

(anonymous) @ ember-twiddle-x.js:3
n @ vendor-x.js:4
(anonymous) @ vendor-x.js:4
...

@sukima
Copy link
Contributor

sukima commented Jan 31, 2018

<rant>

WAT! SASS now required Python! How many languages does this this thing need?! CSS compilation is not that important that it needs JavaScript, Python, C++, and several other special tools to compile al that! Insane?! JS is way more complicated yet does need all the compilation. LESS doesn't need all that. Even Stylus is simpler. What is so huge that SASS needs so much?!

</rant>

@jacobq
Copy link
Contributor

jacobq commented Jan 31, 2018

@sukima It's not actually SASS' dependency, it's needed by node-gyp, and when node-sass doesn't have a pre-built binary that's compatible with the OS on which the build is running then it has to recompile (i.e. with node-gyp). For some things (like node-serialport) this makes perfect sense because there isn't a sensible alternative to compiling a native addon.

I feel your pain here though since, in theory, a text processing program like SASS wouldn't need to go through all this. However, I also understand that re-writing it or porting it would be a pain (there has been some talk about this). Personally, I'd rather just work through the compilation headaches when they arise (they're usually not too bad) then spend even more time (re-)making a tool to save me the trouble. (Who knows, there might be a standard language for this in the future, which would make any such tool obsolete anyway.)

P.S. Sorry for the wall of output above. I thought it would be contained in a height-limited, scrollable frame :/ I tried to trim it down a bit just now but it's still huge.

@Gaurav0
Copy link
Contributor

Gaurav0 commented Jan 31, 2018

@sukima @shoxter @jacobq Thank you all for getting to the bottom of this. I'm sorry I haven't had the time and the other maintainers have disappeared as well. I would love it if someone could figure out how to make twiddle-backend behave and throw a sane error message.

@jacobq
Copy link
Contributor

jacobq commented Jan 31, 2018

@Gaurav0 Could you point me to instructions for running ember-twiddle locally? I might be able to help if I could get that set up.

@sukima
Copy link
Contributor

sukima commented Jan 31, 2018

Sorry for the wall of output above.

@jacobq You can hide the output using the <details>/<summary> HTML styntax in the comment body.

@Gaurav0
Copy link
Contributor

Gaurav0 commented Jan 31, 2018

@jacobq For front end, see Contributing.md

For back end at https://github.com/joostdevries/twiddle-backend well you kind of have to figure it out until someone writes some decent docs :)

@teejayhh
Copy link

Unfortunately this error is back.

@Gaurav0 Gaurav0 changed the title Stuck building addon? Stuck building addon? (if depending on ember-cli-sass) May 29, 2018
@Gaurav0
Copy link
Contributor

Gaurav0 commented Jun 19, 2018

@teejayhh To my knowledge, this was never fixed.

@ro0gr
Copy link

ro0gr commented Jul 5, 2018

The same error also appears with ember-animated addon which doesn't depend on any native deps:

"dependencies": {
    "ember-cli-babel": "^6.11.0",
    "ember-cli-htmlbars": "^2.0.1",
    "ember-cli-version-checker": "^1.1.7",
    "ember-maybe-import-regenerator": "^0.1.5"
},

link to hanging twiddle https://ember-twiddle.com/621d81f0425b911c70f166edeef173fd?openFiles=twiddle.json%2C

@Gaurav0
Copy link
Contributor

Gaurav0 commented Jul 6, 2018

@ro0gr Yesterday some addons didn't get built and hung rather than completing with an error, jamming the queue. ember-animated is built now.

@jacobq
Copy link
Contributor

jacobq commented Sep 27, 2018

@Gaurav0 ooh, what am I looking at here? Able to pull-in addons better now?

@Gaurav0
Copy link
Contributor

Gaurav0 commented Sep 27, 2018

With the latest version of alpine, lib-sass compiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests