Last active
August 27, 2017 21:52
-
-
Save mondalaci/78836e903e14bcb1fd2d2043ba1ddd49 to your computer and use it in GitHub Desktop.
Sass fails to build when trying to build Agent on the Pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@raspberrypi:~/repos/agent $ npm run build | |
> [email protected] build /home/pi/repos/agent | |
> run-s build:web build:electron | |
> [email protected] build:web /home/pi/repos/agent | |
> lerna exec --scope uhk-web npm run build | |
lerna info version 2.1.0 | |
lerna info scope uhk-web | |
> [email protected] build /home/pi/repos/agent/packages/uhk-web | |
> ng build --prod --aot | |
Date: 2017-08-27T21:25:11.146Z | |
Hash: 34e23759dc5f981e893b | |
Time: 115304ms | |
chunk {0} polyfills.e441d2545a51863253ae.bundle.js (polyfills) 191 kB {5} [initial] [rendered] | |
chunk {1} scripts.a8932ad360dad2074ca4.bundle.js (scripts) 253 kB {5} [initial] [rendered] | |
chunk {2} styles.176e4d821cc3a21887b2.bundle.css (styles) 115 kB {5} [initial] [rendered] | |
chunk {3} main.03b92bd3ff3cc17ddbf6.bundle.js (main) 411 bytes {4} [initial] [rendered] | |
chunk {4} vendor.1af66e21203aac12e2c4.bundle.js (vendor) 211 kB [initial] [rendered] | |
chunk {5} inline.78f59290517f663a9297.bundle.js (inline) 1.47 kB [entry] [rendered] | |
ERROR in ./src/styles.scss | |
Module build failed: Error: Node Sass does not yet support your current environment: Linux Unsupported architecture (arm) with Node.js 8.x | |
For more information on which environments are supported please see: | |
https://github.com/sass/node-sass/releases/tag/v4.5.3 | |
at module.exports (/home/pi/repos/agent/packages/uhk-web/node_modules/node-sass/lib/binding.js:13:13) | |
at Object.<anonymous> (/home/pi/repos/agent/packages/uhk-web/node_modules/node-sass/lib/index.js:14:35) | |
at Module._compile (module.js:573:30) | |
at Object.Module._extensions..js (module.js:584:10) | |
at Module.load (module.js:507:32) | |
at tryModuleLoad (module.js:470:12) | |
at Function.Module._load (module.js:462:3) | |
at Module.require (module.js:517:17) | |
at require (internal/module.js:11:18) | |
at Object.<anonymous> (/home/pi/repos/agent/packages/uhk-web/node_modules/sass-loader/lib/loader.js:3:14) | |
at Module._compile (module.js:573:30) | |
at Object.Module._extensions..js (module.js:584:10) | |
at Module.load (module.js:507:32) | |
at tryModuleLoad (module.js:470:12) | |
at Function.Module._load (module.js:462:3) | |
at Module.require (module.js:517:17) | |
@ multi ./node_modules/bootstrap/dist/css/bootstrap.min.css ./src/styles.scss | |
ERROR in Child compilation failed: | |
Module build failed: Error: Node Sass does not yet support your current environment: Linux Unsupported architecture (arm) with Node.js 8.x | |
For more information on which environments are supported please see: | |
https://github.com/sass/node-sass/releases/tag/v4.5.3 | |
at module.exports (/home/pi/repos/agent/packages/uhk-web/node_modules/node-sass/lib/binding.js:13:13) | |
at Object.<anonymous> (/home/pi/repos/agent/packages/uhk-web/node_modules/node-sass/lib/index.js:14:35) | |
at Module._compile (module.js:573:30) | |
at Object.Module._extensions..js (module.js:584:10) | |
at Module.load (module.js:507:32) | |
at tryModuleLoad (module.js:470:12) | |
at Function.Module._load (module.js:462:3) | |
at Module.require (module.js:517:17) | |
at require (internal/module.js:11:18) | |
at Object.<anonymous> (/home/pi/repos/agent/packages/uhk-web/node_modules/sass-loader/lib/loader.js:3:14) | |
at Module._compile (module.js:573:30) | |
at Object.Module._extensions..js (module.js:584:10) | |
at Module.load (module.js:507:32) | |
at tryModuleLoad (module.js:470:12) | |
at Function.Module._load (module.js:462:3) | |
at Module.require (module.js:517:17): | |
Error: Node Sass does not yet support your current environment: Linux Unsupported architecture (arm) with Node.js 8.x | |
For more information on which environments are supported please see: | |
https://github.com/sass/node-sass/releases/tag/v4.5.3 | |
ERROR in ./src/main-web.ts | |
Module not found: Error: Can't resolve './$$_gendir/app/web.module.ngfactory' in '/home/pi/repos/agent/packages/uhk-web/src' | |
resolve './$$_gendir/app/web.module.ngfactory' in '/home/pi/repos/agent/packages/uhk-web/src' | |
using description file: /home/pi/repos/agent/packages/uhk-web/package.json (relative path: ./src) | |
Field 'browser' doesn't contain a valid alias configuration | |
after using description file: /home/pi/repos/agent/packages/uhk-web/package.json (relative path: ./src) | |
using description file: /home/pi/repos/agent/packages/uhk-web/package.json (relative path: ./src/$$_gendir/app/web.module.ngfactory) | |
no extension | |
Field 'browser' doesn't contain a valid alias configuration | |
/home/pi/repos/agent/packages/uhk-web/src/$$_gendir/app/web.module.ngfactory doesn't exist | |
.ts | |
Field 'browser' doesn't contain a valid alias configuration | |
/home/pi/repos/agent/packages/uhk-web/src/$$_gendir/app/web.module.ngfactory.ts doesn't exist | |
.js | |
Field 'browser' doesn't contain a valid alias configuration | |
/home/pi/repos/agent/packages/uhk-web/src/$$_gendir/app/web.module.ngfactory.js doesn't exist | |
as directory | |
/home/pi/repos/agent/packages/uhk-web/src/$$_gendir/app/web.module.ngfactory doesn't exist | |
[/home/pi/repos/agent/packages/uhk-web/src/$$_gendir/app/web.module.ngfactory] | |
[/home/pi/repos/agent/packages/uhk-web/src/$$_gendir/app/web.module.ngfactory.ts] | |
[/home/pi/repos/agent/packages/uhk-web/src/$$_gendir/app/web.module.ngfactory.js] | |
[/home/pi/repos/agent/packages/uhk-web/src/$$_gendir/app/web.module.ngfactory] | |
@ ./src/main-web.ts 3:0-74 | |
@ multi ./src/main-web.ts | |
ERROR in ./src/styles.scss | |
Module build failed: ModuleBuildError: Module build failed: Error: Node Sass does not yet support your current environment: Linux Unsupported architecture (arm) with Node.js 8.x | |
For more information on which environments are supported please see: | |
https://github.com/sass/node-sass/releases/tag/v4.5.3 | |
at module.exports (/home/pi/repos/agent/packages/uhk-web/node_modules/node-sass/lib/binding.js:13:13) | |
at Object.<anonymous> (/home/pi/repos/agent/packages/uhk-web/node_modules/node-sass/lib/index.js:14:35) | |
at Module._compile (module.js:573:30) | |
at Object.Module._extensions..js (module.js:584:10) | |
at Module.load (module.js:507:32) | |
at tryModuleLoad (module.js:470:12) | |
at Function.Module._load (module.js:462:3) | |
at Module.require (module.js:517:17) | |
at require (internal/module.js:11:18) | |
at Object.<anonymous> (/home/pi/repos/agent/packages/uhk-web/node_modules/sass-loader/lib/loader.js:3:14) | |
at Module._compile (module.js:573:30) | |
at Object.Module._extensions..js (module.js:584:10) | |
at Module.load (module.js:507:32) | |
at tryModuleLoad (module.js:470:12) | |
at Function.Module._load (module.js:462:3) | |
at Module.require (module.js:517:17) | |
at runLoaders (/home/pi/repos/agent/packages/uhk-web/node_modules/webpack/lib/NormalModule.js:194:19) | |
at /home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/LoaderRunner.js:364:11 | |
at /home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/LoaderRunner.js:170:18 | |
at loadLoader (/home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/loadLoader.js:27:11) | |
at iteratePitchingLoaders (/home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/LoaderRunner.js:169:2) | |
at iteratePitchingLoaders (/home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/LoaderRunner.js:165:10) | |
at /home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/LoaderRunner.js:173:18 | |
at loadLoader (/home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/loadLoader.js:36:3) | |
at iteratePitchingLoaders (/home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/LoaderRunner.js:169:2) | |
at iteratePitchingLoaders (/home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/LoaderRunner.js:165:10) | |
at /home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/LoaderRunner.js:173:18 | |
at loadLoader (/home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/loadLoader.js:36:3) | |
at iteratePitchingLoaders (/home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/LoaderRunner.js:169:2) | |
at runLoaders (/home/pi/repos/agent/packages/uhk-web/node_modules/loader-runner/lib/LoaderRunner.js:362:2) | |
at NormalModule.doBuild (/home/pi/repos/agent/packages/uhk-web/node_modules/webpack/lib/NormalModule.js:181:3) | |
at NormalModule.build (/home/pi/repos/agent/packages/uhk-web/node_modules/webpack/lib/NormalModule.js:274:15) | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] build: `ng build --prod --aot` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] build script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/pi/.npm/_logs/2017-08-27T21_25_11_335Z-debug.log | |
lerna ERR! exec Errored while executing 'npm run build' in 'uhk-web' | |
lerna ERR! execute Error: Command failed: npm run build | |
lerna ERR! execute at Promise.all.then.arr (/home/pi/repos/agent/node_modules/lerna/node_modules/execa/index.js:236:11) | |
lerna ERR! execute at <anonymous> | |
lerna ERR! execute at process._tickCallback (internal/process/next_tick.js:188:7) | |
lerna ERR! execute callback with error | |
lerna ERR! execute { Error: Command failed: npm run build | |
lerna ERR! execute at Promise.all.then.arr (/home/pi/repos/agent/node_modules/lerna/node_modules/execa/index.js:236:11) | |
lerna ERR! execute at <anonymous> | |
lerna ERR! execute at process._tickCallback (internal/process/next_tick.js:188:7) | |
lerna ERR! execute stack: 'Error: Command failed: npm run build\n at Promise.all.then.arr (/home/pi/repos/agent/node_modules/lerna/node_modules/execa/index.js:236:11)\n at <anonymous>\n at process._tickCallback (internal/process/next_tick.js:188:7)', | |
lerna ERR! execute code: 1, | |
lerna ERR! execute killed: false, | |
lerna ERR! execute stdout: null, | |
lerna ERR! execute stderr: null, | |
lerna ERR! execute failed: true, | |
lerna ERR! execute signal: null, | |
lerna ERR! execute cmd: 'npm run build', | |
lerna ERR! execute timedOut: false } | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] build:web: `lerna exec --scope uhk-web npm run build` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] build:web script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/pi/.npm/_logs/2017-08-27T21_25_11_513Z-debug.log | |
ERROR: "build:web" exited with 1. | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] build: `run-s build:web build:electron` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] build script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/pi/.npm/_logs/2017-08-27T21_25_11_652Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment