Skip to content

Instantly share code, notes, and snippets.

@extrajordanary
Created July 26, 2016 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save extrajordanary/542949aa7443a0134c741f10601381ef to your computer and use it in GitHub Desktop.
Save extrajordanary/542949aa7443a0134c741f10601381ef to your computer and use it in GitHub Desktop.
Successfully built 6cc1b90e070f
Starting servers inside the Docker container
Recreating wwwmakeschool_academy_1
Starting wwwmakeschool_database_1
Recreating wwwmakeschool_website_1
Starting wwwmakeschool_appman_1
Generating GraphQL schema...
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.x-compliant syntax, but you are running 2.3.0.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Running via Spring preloader in process 25
Building dependencies...
npm info it worked if it ends with ok
npm info using npm@3.10.5
npm info using node@v4.4.7
npm info lifecycle makeschool-academy@~prebuild: makeschool-academy@
npm info lifecycle makeschool-academy@~build: makeschool-academy@
> makeschool-academy@ build /academy
> node node_modules/.bin/webpack
module.js:327
throw err;
^
Error: Cannot find module '/academy/node_modules/.bin/webpack'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3
npm info lifecycle makeschool-academy@~build: Failed to exec build script
npm ERR! Linux 4.1.13-boot2docker
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! makeschool-academy@ build: `node node_modules/.bin/webpack`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the makeschool-academy@ build script 'node node_modules/.bin/webpack'.
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 makeschool-academy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node node_modules/.bin/webpack
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs makeschool-academy
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls makeschool-academy
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! Please include the following file with any support request:
npm ERR! /academy/npm-debug.log
npm info it worked if it ends with ok
npm info using npm@3.10.5
npm info using node@v4.3.1
npm info lifecycle makeschool-appman@~prebuild: makeschool-appman@
npm info lifecycle makeschool-appman@~build: makeschool-appman@
> makeschool-appman@ build /appman
> node node_modules/.bin/webpack
Hash: a9f842ebbe0ed6bf934a
Version: webpack 1.13.0
Time: 30061ms
Asset Size Chunks Chunk Names
../website/app/assets/javascripts/appman/application.js 5.43 MB 0 [emitted] application
../website/app/assets/javascripts/appman/appman.js 7.67 MB 1 [emitted] appman
../website/app/assets/javascripts/appman/demographicsForm.js 5.35 MB 2 [emitted] demographicsForm
../website/app/assets/javascripts/appman/scholarshipApplicationForm.js 5.35 MB 3 [emitted] scholarshipApplicationForm
../website/app/assets/javascripts/appman/scholarships.js 6.55 MB 4 [emitted] scholarships
+ 1075 hidden modules
npm info lifecycle makeschool-appman@~postbuild: makeschool-appman@
npm info ok
Server is now running at: http://192.168.99.100/
Jordan@Zing-2:~/Files/MakeSchool/www-makeschool$ ./server academy:test
npm info it worked if it ends with ok
npm info using npm@3.10.5
npm info using node@v4.4.7
npm info lifecycle makeschool-academy@~pretest: makeschool-academy@
npm info lifecycle makeschool-academy@~test: makeschool-academy@
> makeschool-academy@ test /academy
> node node_modules/.bin/jest --verbose --runInBand
/academy/node_modules/diff/lib/diff/base.js:228
=�U
^
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/academy/node_modules/diff/lib/index.js:6:38)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
npm info lifecycle makeschool-academy@~test: Failed to exec test script
npm ERR! Test failed. See above for more details.
Jordan@Zing-2:~/Files/MakeSchool/www-makeschool$ ./server setup
Downloading docker-compose...
Building servers... this may take a while the first time.
Host already exists: "dev"
Starting Docker container (Virtualbox)
Machine "dev" is already running.
[INFO] Configuration:
- Machine Name: dev
- Shared Folder: /Users
- Mount Options: noacl,async
- Force: true
[INFO] machine presence ... OK
[INFO] machine running ... OK
[INFO] Lookup mandatory properties ... OK
- Machine IP: 192.168.99.100
- Network ID: vboxnet1
- NFSHost IP: 192.168.99.1
[INFO] Configure NFS ...
!!! Sudo will be necessary for editing /etc/exports !!!
Password:
exports:2: path contains non-directory or non-existent components: /Users/byjor/FILES/CODING/MAKESCHOOL/www-makeschool
exports:2: no usable directories in export entry
exports:2: using fallback (marked offline): /
exports:5: /Users conflicts with existing export /Users/byjor/FILES/CODING/MAKESCHOOL/www-makeschool
exports:6: /Users conflicts with existing export /Users/byjor/FILES/CODING/MAKESCHOOL/www-makeschool
exports:8: /Users conflicts with existing export /Users/byjor/FILES/CODING/MAKESCHOOL/www-makeschool
Stopping wwwmakeschool_website_1 ... done
Stopping wwwmakeschool_database_1 ... done
Building academy
Step 1 : FROM node:4.4.7
---> f7ef43765f1e
Step 2 : RUN mkdir /academy/
---> Using cache
---> 8aaf553cef17
Step 3 : WORKDIR /academy
---> Using cache
---> fb394874b76a
Step 4 : ADD package.json /academy/
---> Using cache
---> 3e1ea57d42b5
Step 5 : RUN npm install npm -g
---> Using cache
---> 5463839d91ba
Step 6 : RUN npm install --quiet || true
---> Using cache
---> 7cad0cb40b00
Successfully built 7cad0cb40b00
database uses an image, skipping
Building website
Step 1 : FROM ruby:2.3.0
---> 1992c3a18436
Step 2 : RUN apt-get update -qq && apt-get install -qq build-essential libpq-dev nodejs npm libicu-dev cmake
---> Using cache
---> 511cccf15635
Step 3 : RUN apt-get update -qq && apt-get install -qq python python-dev python-distribute python-pip
---> Using cache
---> 29ff37c8597d
Step 4 : RUN apt-get update -qq
---> Using cache
---> c6c363feed3e
Step 5 : RUN apt-get install -qq build-essential chrpath libssl-dev libxft-dev
---> Using cache
---> 273c026e9242
Step 6 : RUN apt-get install -qq libfreetype6 libfreetype6-dev
---> Using cache
---> e3fa6a4d9fd3
Step 7 : RUN apt-get install -qq libfontconfig1 libfontconfig1-dev
---> Using cache
---> 439ef12f7f5c
Step 8 : RUN apt-get install -qq wget
---> Using cache
---> 2fbdc95d5904
Step 9 : RUN cd ~
---> Using cache
---> daca4df3bf9a
Step 10 : RUN ln -s /usr/bin/nodejs /usr/bin/node
---> Using cache
---> c398283a5f75
Step 11 : RUN gem install foreman --quiet
---> Using cache
---> 40778dc8a054
Step 12 : RUN mkdir /code/
---> Using cache
---> 17028650c2ce
Step 13 : WORKDIR /code
---> Using cache
---> a75df2534bdc
Step 14 : ADD requirements.txt /code/
---> Using cache
---> ad16d6fb19b6
Step 15 : RUN pip install -r /code/requirements.txt --allow-all-external
---> Using cache
---> 073130844b08
Step 16 : RUN gem install bundler --version 1.10.6
---> Using cache
---> d939fad13e1f
Step 17 : ENV PATH ./bin:$PATH
---> Using cache
---> 0fd54ac5a783
Step 18 : ADD Gemfile /code/
---> Using cache
---> 2633581dfee1
Step 19 : ADD Gemfile.lock /code/
---> Using cache
---> a22f5b7155f7
Step 20 : RUN bundle install
---> Using cache
---> c08ea60df9ce
Successfully built c08ea60df9ce
Building appman
Step 1 : FROM node:4.3.1
---> a9d8c1f051bf
Step 2 : RUN mkdir /appman/
---> Using cache
---> 13865548e03b
Step 3 : WORKDIR /appman
---> Using cache
---> b56d25fc4790
Step 4 : ADD package.json /appman/
---> Using cache
---> 4fe641a86818
Step 5 : RUN npm install npm -g
---> Using cache
---> 325ccb7a2ceb
Step 6 : RUN npm install --quiet || true
---> Using cache
---> 6cc1b90e070f
Successfully built 6cc1b90e070f
Starting servers inside the Docker container
Starting wwwmakeschool_academy_1
Starting wwwmakeschool_database_1
Starting wwwmakeschool_website_1
Starting wwwmakeschool_appman_1
Generating GraphQL schema...
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.x-compliant syntax, but you are running 2.3.0.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Running via Spring preloader in process 19
Building dependencies...
npm info it worked if it ends with ok
npm info using npm@3.10.5
npm info using node@v4.4.7
npm info lifecycle makeschool-academy@~prebuild: makeschool-academy@
npm info lifecycle makeschool-academy@~build: makeschool-academy@
> makeschool-academy@ build /academy
> node node_modules/.bin/webpack
/academy/node_modules/enhanced-resolve/lib/node.js:60
module.exports.sync = function resolveSync(context,
SyntaxError: Unexpected token ILLEGAL
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/academy/node_modules/webpack/bin/convert-argv.js:4:15)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
npm info lifecycle makeschool-academy@~build: Failed to exec build script
npm ERR! Linux 4.1.13-boot2docker
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! makeschool-academy@ build: `node node_modules/.bin/webpack`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the makeschool-academy@ build script 'node node_modules/.bin/webpack'.
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 makeschool-academy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node node_modules/.bin/webpack
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs makeschool-academy
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls makeschool-academy
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /academy/npm-debug.log
npm info it worked if it ends with ok
npm info using npm@3.10.5
npm info using node@v4.3.1
npm info lifecycle makeschool-appman@~prebuild: makeschool-appman@
npm info lifecycle makeschool-appman@~build: makeschool-appman@
> makeschool-appman@ build /appman
> node node_modules/.bin/webpack
Hash: a9f842ebbe0ed6bf934a
Version: webpack 1.13.0
Time: 14340ms
Asset Size Chunks Chunk Names
../website/app/assets/javascripts/appman/application.js 5.43 MB 0 [emitted] application
../website/app/assets/javascripts/appman/appman.js 7.67 MB 1 [emitted] appman
../website/app/assets/javascripts/appman/demographicsForm.js 5.35 MB 2 [emitted] demographicsForm
../website/app/assets/javascripts/appman/scholarshipApplicationForm.js 5.35 MB 3 [emitted] scholarshipApplicationForm
../website/app/assets/javascripts/appman/scholarships.js 6.55 MB 4 [emitted] scholarships
+ 1075 hidden modules
npm info lifecycle makeschool-appman@~postbuild: makeschool-appman@
npm info ok
Server is now running at: http://192.168.99.100/
Jordan@Zing-2:~/Files/MakeSchool/www-makeschool$ ./server academy:test
npm info it worked if it ends with ok
npm info using npm@3.10.5
npm info using node@v4.4.7
npm info lifecycle makeschool-academy@~pretest: makeschool-academy@
npm info lifecycle makeschool-academy@~test: makeschool-academy@
> makeschool-academy@ test /academy
> node node_modules/.bin/jest --verbose --runInBand
/academy/node_modules/diff/lib/diff/base.js:228
=�U
^
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/academy/node_modules/diff/lib/index.js:6:38)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
npm info lifecycle makeschool-academy@~test: Failed to exec test script
npm ERR! Test failed. See above for more details.
Jordan@Zing-2:~/Files/MakeSchool/www-makeschool$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment