ember-twiddle icon indicating copy to clipboard operation
ember-twiddle copied to clipboard

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

Open kybishop opened this issue 8 years ago • 23 comments

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

kybishop avatar Aug 31 '17 21:08 kybishop

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

Subtletree avatar Aug 31 '17 21:08 Subtletree

Is there any update here?

shoxter avatar Sep 22 '17 20:09 shoxter

Still broken as of today

kybishop avatar Sep 22 '17 21:09 kybishop

@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 avatar Oct 02 '17 01:10 pauln

@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?

pauln avatar Oct 29 '17 21:10 pauln

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.

sukima avatar Nov 17 '17 00:11 sukima

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.

jelhan avatar Jan 18 '18 15:01 jelhan

Same here with ember-material-components-web

MrChriZ avatar Jan 29 '18 14:01 MrChriZ

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

sukima avatar Jan 29 '18 14:01 sukima

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
...

jacobq avatar Jan 31 '18 12:01 jacobq

<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>

sukima avatar Jan 31 '18 13:01 sukima

@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.

jacobq avatar Jan 31 '18 14:01 jacobq

@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.

Gaurav0 avatar Jan 31 '18 15:01 Gaurav0

@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.

jacobq avatar Jan 31 '18 15:01 jacobq

Sorry for the wall of output above.

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

sukima avatar Jan 31 '18 15:01 sukima

@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 :)

Gaurav0 avatar Jan 31 '18 15:01 Gaurav0

Unfortunately this error is back.

teejayhh avatar May 29 '18 01:05 teejayhh

@teejayhh To my knowledge, this was never fixed.

Gaurav0 avatar Jun 19 '18 19:06 Gaurav0

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

ro0gr avatar Jul 05 '18 13:07 ro0gr

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

Gaurav0 avatar Jul 06 '18 15:07 Gaurav0

@sukima @shoxter @jacobq https://canary.ember-twiddle.com/376452a799d0cb9a2a636362447dc33f?openFiles=twiddle.json%2C

Gaurav0 avatar Sep 27 '18 13:09 Gaurav0

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

jacobq avatar Sep 27 '18 19:09 jacobq

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

Gaurav0 avatar Sep 27 '18 20:09 Gaurav0