instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.69k stars 2.51k forks source link

Errors while running CODES.sh #924

Closed rameshbimarian closed 8 years ago

rameshbimarian commented 8 years ago

Summary: While running CODES.sh process has thrown this error .

Steps to reproduce:

  1. installed Node js 6.8.0 , ruby 2.1 , ruby 2.1 dev, npm 3.10.8
  2. ran code.sh 3.code.sh exited with message compile assets manually. and I found some error messages as I pasted in Additional notes:

    Expected behavior:

Should build canvas LMS site locally

Additional notes:

Two errors I found are major Those are:

1st one is(extract from whole console text in the bottom)

Configuring PostgreSQL
useradd: user 'postgres' already exists
 * Starting PostgreSQL 9.6 database server                                                                               [ OK ]
Waiting 5 seconds for the PostgreSQL server to start...
could not change directory to "/home/vizzario/canvas-lms": Permission denied

2nd one is (extract from whole console text in the bottom)

--> Creating ember app bundles finished in 0.062031851
module.js:471
    throw err;
    ^

Error: Cannot find module 'i18nliner/dist/lib/extractors/translate_call'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/vizzario/canvas-lms/node_modules/i18nliner-handlebars/dist/lib/t_call.js:5:37)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
module.js:471
    throw err;
    ^

Error: Cannot find module 'i18nliner/dist/lib/extractors/translate_call'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/vizzario/canvas-lms/node_modules/i18nliner-handlebars/dist/lib/t_call.js:5:37)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
--> Compiling CoffeeScript with 'coffee' binary
--> Pre-compiling ember handlebars templates
--> Creating ember app bundles finished in 0.062031851
module.js:471
    throw err;
    ^

Error: Cannot find module 'i18nliner/dist/lib/extractors/translate_call'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/vizzario/canvas-lms/node_modules/i18nliner-handlebars/dist/lib/t_call.js:5:37)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
module.js:471
    throw err;
    ^

Error: Cannot find module 'i18nliner/dist/lib/extractors/translate_call'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/vizzario/canvas-lms/node_modules/i18nliner-handlebars/dist/lib/t_call.js:5:37)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
--> Compiling React JSX finished in 75.360502655
rake aborted!

Whole console messages whie running CODES.sh as follows:

vizzario@vizzario:~/canvas-lms$ sudo curl -O https://raw.githubusercontent.com/FreedomBen/canvas-development-tools/master/CODES.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 44185  100 44185    0     0   143k      0 --:--:-- --:--:-- --:--:--  143k
vizzario@vizzario:~/canvas-lms$ sudo chmod +x CODES.sh
vizzario@vizzario:~/canvas-lms$ sudo ./CODES.sh --full
----------------------------------------------------------------------

        /\ \           /\ \         /\ \         /\ \        / /\
       /  \ \         /  \ \       /  \ \____   /  \ \      / /  \
      / /\ \ \       / /\ \ \     / /\ \_____\ / /\ \ \    / / /\ \__
     / / /\ \ \     / / /\ \ \   / / /\/___  // / /\ \_\  / / /\ \___\
    / / /  \ \_\   / / /  \ \_\ / / /   / / // /_/_ \/_/  \ \ \ \/___/
   / / /    \/_/  / / /   / / // / /   / / // /____/\      \ \ \
  / / /          / / /   / / // / /   / / // /\____\/  _    \ \ \
 / / /________  / / /___/ / / \ \ \__/ / // / /______ /_/\__/ / /
/ / /_________\/ / /____\/ /   \ \___\/ // / /_______\\ \/___/ /
\/____________/\/_________/     \/_____/ \/__________/ \_____\/

----------------------------------------------------------------------

Thank you for giving Canvas by Instructure a try!  Let's set up your development environment.

Please report bugs to bporter@instructure.com.

We will do the following, in this order:

     1. Install brew package manager (if on Mac OS X)
     2. Install any distro specific dependencies we need
     3. Check and set the correct locale (needed for PostgreSQL)
     4. Set up and configure ruby
     5. Set up and configure Node.js/npm
     6. (Optionally) Set up and configure chruby and ruby-install for multiple ruby versions
     7. Set up and install PostgreSQL
     8. Install git
     9. Clone the canvas repo
    10. Set the chruby auto version (if chruby is installed)
    11. Install Bundler (into chruby environment if using chruby)
    12. run 'bundle install' on the repo to install canvas' required gems
    13. run 'npm install' to install required npm packages
    14. Build canvas assets
    15. Create a basic PostgreSQL database config file
    16. Start the PostgreSQL server and make sure it starts without error
    17. Create the necessary PostgreSQL databases for Canvas
    18. Populate the PostgreSQL databases
    19. Add the gerrit commit-msg hook to the repo (if cloning from gerrit)
    20. (Optionally) generate ctags and set a ruby version for use with chruby

You can run this script as many times as necessary on your system, to create as many clones of the canvas repo as you like

 * You will be prompted for input several times before the script is finished.
 * You will also need sudo access.
You are running as root
You can continue as root, but all the repo files will be owned by root
It's recommended that you press Ctrl+C now and rerun this script as a normal user
Press <Enter> to continue or Ctrl+C to quit:
I see you're running Ubuntu Linux.  Is this correct? ([Y]/N):

Where do you want to clone canvas to (-absolute- path)?
(Leave blank for default of /home/vizzario/canvas-lms):

Do you work for Instructure? (If so we'll clone from gerrit, otherwise straight from Github) (Y/[N]):

Do you want to generate ctags? (Y/[N]):
Installing any distro specific dependencies
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Ign http://in.archive.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Get:2 http://in.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://ppa.launchpad.net trusty InRelease
Hit http://apt.postgresql.org trusty-pgdg InRelease
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:3 http://security.ubuntu.com trusty-security/main Sources [120 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://in.archive.ubuntu.com trusty-backports InRelease
Hit http://apt.postgresql.org trusty-pgdg/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit https://deb.nodesource.com trusty InRelease
Hit http://in.archive.ubuntu.com trusty Release.gpg
Hit https://deb.nodesource.com trusty/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:4 http://in.archive.ubuntu.com trusty-updates/main Sources [383 kB]
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:5 http://security.ubuntu.com trusty-security/restricted Sources [4,064 B]
Hit http://apt.postgresql.org trusty-pgdg/main i386 Packages
Hit https://deb.nodesource.com trusty/main amd64 Packages
Hit https://deb.nodesource.com trusty/main i386 Packages
Get:6 http://security.ubuntu.com trusty-security/universe Sources [44.3 kB]
Get:7 https://deb.nodesource.com trusty/main Translation-en_IN
Get:8 http://in.archive.ubuntu.com trusty-updates/restricted Sources [5,360 B]
Get:9 http://in.archive.ubuntu.com trusty-updates/universe Sources [169 kB]
Get:10 http://security.ubuntu.com trusty-security/multiverse Sources [3,201 B]
Get:11 http://security.ubuntu.com trusty-security/main amd64 Packages [536 kB]
Get:12 http://in.archive.ubuntu.com trusty-updates/multiverse Sources [7,511 B]
Ign http://apt.postgresql.org trusty-pgdg/main Translation-en_IN
Get:13 http://in.archive.ubuntu.com trusty-updates/main amd64 Packages [905 kB]
Ign http://apt.postgresql.org trusty-pgdg/main Translation-en
Ign https://deb.nodesource.com trusty/main Translation-en_IN
Ign https://deb.nodesource.com trusty/main Translation-en
Get:14 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
Get:15 http://security.ubuntu.com trusty-security/universe amd64 Packages [140 kB]
Get:16 http://in.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:17 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [5,198 B]
Get:18 http://security.ubuntu.com trusty-security/main i386 Packages [497 kB]
Get:19 http://in.archive.ubuntu.com trusty-updates/universe amd64 Packages [387 kB]
Get:20 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
Get:21 http://security.ubuntu.com trusty-security/universe i386 Packages [140 kB]
Get:22 http://in.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [15.0 kB]
Get:23 http://in.archive.ubuntu.com trusty-updates/main i386 Packages [866 kB]
Get:24 http://security.ubuntu.com trusty-security/multiverse i386 Packages [5,348 B]
Get:25 http://security.ubuntu.com trusty-security/main Translation-en [296 kB]
Get:26 http://in.archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
Get:27 http://security.ubuntu.com trusty-security/multiverse Translation-en [2,848 B]
Get:28 http://in.archive.ubuntu.com trusty-updates/universe i386 Packages [389 kB]
Get:29 http://security.ubuntu.com trusty-security/restricted Translation-en [3,206 B]
Get:30 http://security.ubuntu.com trusty-security/universe Translation-en [83.8 kB]
Get:31 http://in.archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.4 kB]
Hit http://in.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/main Sources
Hit http://in.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://in.archive.ubuntu.com trusty-backports/universe Sources
Hit http://in.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://in.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://in.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://in.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://in.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://in.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://in.archive.ubuntu.com trusty Release
Hit http://in.archive.ubuntu.com trusty/main Sources
Hit http://in.archive.ubuntu.com trusty/restricted Sources
Hit http://in.archive.ubuntu.com trusty/universe Sources
Hit http://in.archive.ubuntu.com trusty/multiverse Sources
Hit http://in.archive.ubuntu.com trusty/main amd64 Packages
Hit http://in.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://in.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://in.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://in.archive.ubuntu.com trusty/main i386 Packages
Hit http://in.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://in.archive.ubuntu.com trusty/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://in.archive.ubuntu.com trusty/main Translation-en
Hit http://in.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://in.archive.ubuntu.com trusty/restricted Translation-en
Hit http://in.archive.ubuntu.com trusty/universe Translation-en
Ign http://in.archive.ubuntu.com trusty/main Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/universe Translation-en_IN
Fetched 5,212 kB in 18s (274 kB/s)
Reading package lists... Done
Finished running 'apt-get update'.  Installing packages
Reading package lists... Done
Building dependency tree
Reading state information... Done
ruby-dev is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
zlib1g-dev is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'ruby1.9.1' instead of 'rubygems1.9.1'
ruby1.9.1 is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxml2-dev is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxslt1-dev is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libsqlite3-dev is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'ruby-httpclient' instead of 'libhttpclient-ruby'
ruby-httpclient is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
imagemagick is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxmlsec1-dev is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-software-properties is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
postgresql is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
postgresql-contrib is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpq-dev is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpqxx-dev is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
ruby-pg is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libglib2.0-0-refdbg' for regex 'libglib2.0'
Note, selecting 'libglib2.0-dbg' for regex 'libglib2.0'
Note, selecting 'libglib2.0-0' for regex 'libglib2.0'
Note, selecting 'libglib2.0-dev' for regex 'libglib2.0'
Note, selecting 'libglib2.0-data' for regex 'libglib2.0'
Note, selecting 'libglib2.0-doc' for regex 'libglib2.0'
Note, selecting 'libglib2.0-cil' for regex 'libglib2.0'
Note, selecting 'libglib2.0-0-dbg' for regex 'libglib2.0'
Note, selecting 'libglib2.0-bin' for regex 'libglib2.0'
Note, selecting 'libglib2.0-cil-dev' for regex 'libglib2.0'
Note, selecting 'libglib2.0-tests' for regex 'libglib2.0'
libglib2.0-cil is already the newest version.
libglib2.0-cil-dev is already the newest version.
libglib2.0-0 is already the newest version.
libglib2.0-0-dbg is already the newest version.
libglib2.0-bin is already the newest version.
libglib2.0-data is already the newest version.
libglib2.0-dev is already the newest version.
libglib2.0-doc is already the newest version.
libglib2.0-0-refdbg is already the newest version.
libglib2.0-tests is already the newest version.
The following package was automatically installed and is no longer required:
  rlwrap
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Setting locale
Installing brew if necessary
Installing ruby if necessary
Ruby is installed
Installing node.js if necessary
Nodejs is installed
Nodejs is installed
Installing PostgreSQL if necessary
PostgreSQL is installed
PostgreSQL is installed
PostgreSQL is installed
PostgreSQL is installed
Configuring PostgreSQL
useradd: user 'postgres' already exists
 * Starting PostgreSQL 9.6 database server                                                                               [ OK ]
Waiting 5 seconds for the PostgreSQL server to start...
could not change directory to "/home/vizzario/canvas-lms": Permission denied
Installing git if necessary
Git is installed
Git is installed
Cloning canvas into '/home/vizzario/canvas-lms'
You may already have a canvas checkout (the directory exists).
Delete it and reclone? (Y/[N]):
Installing bundler if necessary
Making sure the gem location is in PATH
The Gems bin wasn't in your PATH.  I added it temporarily, but you may want to make it permanent
This can be done by adding these lines to '/home/vizzario/.bashrc':

# Added by canvas-lms setup-development script
# This adds the gem bin to your PATH
if ! $(echo $PATH | grep "$(gem env 'GEM_PATHS' | sed -e 's|:|/bin:|g')/bin" >/dev/null 2>&1); then
    export PATH="$PATH:$(gem env 'GEM_PATHS' | sed -e 's|:|/bin:|g')/bin"
fi

Do this now? ([Y]/N): N
Installing the bundle gem version 1.12.5
Successfully installed bundler-1.12.5
Parsing documentation for bundler-1.12.5
Done installing documentation for bundler after 6 seconds
1 gem installed
Bundler is installed
Installing bundler gems with bundle install (but no mysql)
Making sure the gem location is in PATH
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this
application for all non-root users on this machine.
Resolving dependencies................
Using rake 10.5.0
Using i18n 0.7.0
Using minitest 4.7.5
Using multi_json 1.10.1
Using thread_safe 0.3.5
Using tzinfo 0.3.43
Using builder 3.1.4
Using erubis 2.7.0
Using rack 1.5.4
Using mime-types 1.17.2
Using polyglot 0.3.5
Using activerecord-deprecated_finders 1.0.4
Using arel 4.0.2
Using bundler 1.12.5
Using thor 0.19.1
Using concurrent-ruby 1.0.2
Using addressable 2.3.8
Using mini_portile 0.6.2
Using ast 2.3.0
Using request_store 1.3.1
Using ffi 1.1.5
Using autoextend 1.0.0 from source at `gems`
Using extlib 0.9.16
Using json 1.8.2
Using barby 0.5.0
Using bcrypt-ruby 3.0.1
Using bindata 2.3.3
Using bluecloth 2.2.0
Using folio-pagination 0.0.11
Using will_paginate 3.0.7
Using redcarpet 3.2.3
Using uniform_notifier 1.9.0
Using byebug 9.0.6
Using canvas_breach_mitigation 0.0.1 from source at `gems/canvas_breach_mitigation`
Using simple_uuid 0.4.0
Using thrift 0.8.0
Using canvas_color 0.0.1 from source at `gems/canvas_color`
Using canvas_crummy 0.0.1 from source at `gems/canvas_crummy`
Using canvas_http 1.0.0 from source at `gems/canvas_http`
Using canvas_slug 0.0.1 from source at `gems/canvas_slug`
Using canvas_sort 1.0.0 from source at `gems/canvas_sort`
Using canvas_mimetype_fu 0.0.1 from source at `gems/canvas_mimetype_fu`
Using jwt 1.2.1
Using pg 0.18.4
Using iconv 1.0.4
Using statsd-ruby 1.0.0
Using rubyzip 1.1.1
Using chunky_png 1.3.0
Using coderay 1.1.1
Using coffee-script-source 1.6.2
Using colored 1.2
Using colorize 0.8.1
Using connection_pool 2.2.0
Using safe_yaml 1.0.4
Using sqlite3 1.3.9
Using daemons 1.2.4
Using diff-lcs 1.2.5
Using multipart-post 2.0.0
Using docile 1.1.3
Using mustache 0.99.5
Using posix-spawn 0.3.8
Using yajl-ruby 1.1.0
Using dynamic_form 1.1.4
Using escape_code 0.2
Using eventmachine 1.0.4
Using fast_stack 0.2.0
Using rb-fsevent 0.9.7
Using foreigner 0.9.2
Using formatador 0.2.5
Using github-markdown 0.6.8
Using globby 0.1.2
Using retriable 1.4.1
Using lumberjack 1.0.10
Using method_source 0.8.2
Using slop 3.6.0
Using sexp_processor 4.4.5
Using ya2yaml 0.31
Using hashdiff 0.2.0
Using hashery 1.3.0
Using headless 2.2.0
Using hey 1.3.0
Using highline 1.6.1
Using multi_xml 0.5.5
Using syck 1.0.4
Using icalendar 1.5.4
Using simple_oauth 0.2.0
Using redis 3.1.0
Using rufus-scheduler 3.1.2
Using iso8601 0.9.1
Using jira_ref_parser 1.0.0
Using securecompare 1.0.0
Using url_safe_base64 0.2.2
Using oauth-instructure 0.4.10
Using metaclass 0.0.2
Using mini_magick 4.2.7
Using rdiscount 1.6.8
Using net-ldap 0.10.1
Using netaddr 1.5.0
Using oj 2.17.1
Using rspec-support 3.4.1
Using open4 1.3.0
Using parallel 1.4.1
Using powerpack 0.1.1
Using rainbow 2.1.0
Using soap4r-ruby1.9 2.0.0
Using ritex 1.0.1
Using rotp 1.6.1
Using rqrcode 0.4.2
Using ruby-progressbar 1.7.5
Using tins 1.6.0
Using rubocop-rspec 1.4.0
Using websocket 1.0.7
Using sequel 4.5.0
Using simplecov-html 0.9.0
Using spring 1.7.2
Using stackprof 0.2.7
Using stringify_ids 1.0.0 from source at `gems/stringify_ids`
Using subexec 0.0.4
Using testrail_client 0.0.1
Using timecop 0.6.3
Using useragent 0.10.0
Using uuidtools 2.1.4
Using yard 0.8.7.6
Using hoe 3.8.1
Using canvas_text_helper 0.0.1 from source at `gems/canvas_text_helper`
Using execjs 1.4.0
Using rails-patch-json-encode 0.0.1
Using activesupport 4.0.13
Using rack-test 0.6.3
Using rack-mini-profiler 0.9.2
Using treetop 1.4.15
Using sprockets 3.7.0
Using launchy 2.4.3
Using nokogiri 1.6.6.2.20150813143452 from https://github.com/codekitchen/nokogiri.git (at d47e53f@d47e53f)
Using parser 2.3.1.4
Using ffi-compiler 1.0.1
Using childprocess 0.5.0
Using ffi-icu 0.1.10
Using rb-inotify 0.9.7
Using rb-kqueue 0.2.4
Using rb-fchange 0.0.6
Using autoparse 0.3.3
Using json_token 0.0.1 from source at `gems/json_token`
Using crocodoc-ruby 0.0.1
Using rdoc 3.12
Using paginated_collection 1.0.0 from source at `gems/paginated_collection`
Using thrift_client 0.8.4
Using multipart 0.0.1 from source at `gems/multipart`
Using canvas_panda_pub 1.0.0 from source at `gems/canvas_panda_pub`
Using twilio-ruby 4.2.1
Using canvas_unzip 0.0.1 from source at `gems/canvas_unzip`
Using net-http-persistent 3.0.0
Using crack 0.4.3
Using csv_diff 1.0.0 from source at `gems/csv_diff`
Using faraday 0.9.2
Using pygments.rb 0.5.4
Using thin 1.6.3
Using flamegraph 0.1.0
Using pry 0.10.4
Using ruby_parser 3.7.0
Using httparty 0.13.7
Using utf8_cleaner 0.0.1 from source at `gems/utf8_cleaner`
Using i18nema 0.0.8
Using redis-scripting 1.0.1
Using redis-store 1.1.4 from https://github.com/ccutrer/redis-store.git (at 72db36c@72db36c)
Using lti_outbound 0.0.1 from source at `gems/lti_outbound`
Using mocha 1.1.0 from https://github.com/maneframe/mocha.git (at bb8813f@bb8813f)
Using rspec-core 3.4.4
Using rspec-expectations 3.4.0
Using rspec-mocks 3.4.1
Using soap4r-middleware 0.8.3
Using simplecov 0.9.2
Using spring-commands-rspec 1.0.2
Using yard-appendix 0.1.8
Using coffee-script 2.3.0
Using activemodel 4.0.13
Using activesupport-suspend_callbacks 0.0.1 from source at `gems/activesupport-suspend_callbacks`
Using bullet_instructure 4.14.8
Using canvas_ext 1.0.0 from source at `gems/canvas_ext`
Using canvas_time 1.0.0 from source at `gems/canvas_time`
Using json-jwt 1.5.1
Using ruby-duration 3.2.0
Using rubycas-client 2.3.9
Using shoulda-matchers 2.8.0
Using actionpack 4.0.13
Using mail 2.5.4
Using letter_opener 1.4.1
Using adobe_connect 1.0.3
Using aws-sdk-v1 1.63.0
Using sanitize 2.1.0
Using diigo 1.0.0 from source at `gems/diigo`
Using gepub 0.6.9.2
Using instructure-happymapper 0.5.10
Using linked_in 1.0.0 from source at `gems/linked_in`
Using nokogiri-xmlsec-me-harder 0.9.3pre from https://github.com/instructure/nokogiri-xmlsec-me-harder.git (at 3236a24@3236a24)
Using ratom-nokogiri 0.10.4
Using ruby-saml-mod 0.3.1
Using astrolabe 1.3.1
Using scrypt 2.1.1
Using selenium-webdriver 2.53.4
Using listen 1.3.1
Using cassandra-cql 1.2.2 from https://github.com/kreynolds/cassandra-cql.git (at beed72e@beed72e)
Using canvas_kaltura 1.0.0 from source at `gems/canvas_kaltura`
Using webmock 1.22.3
Using diplomat 0.15.0
Using faraday_middleware 0.10.0
Using signet 0.6.0
Using oauth2 1.0.0
Using sentry-raven 0.15.6
Using dress_code 1.0.2 from https://github.com/colleenpalmer/dress_code.git (at master@5743821)
Using ruby2ruby 2.0.8
Using redis-rack 1.5.0
Using redis-activesupport 4.1.5
Using rspec-collection_matchers 1.1.2
Using rspec 3.4.0
Using simplecov-rcov 0.2.3
Using activerecord 4.0.13
Using active_model-better_errors 1.6.7
Using active_model_serializers 0.9.0.alpha1 from https://github.com/rails-api/active_model_serializers.git (at 61882e1@61882e1)
Using protected_attributes 1.0.8
Using rails-observers 0.1.2
Using railties 4.0.13
Using sprockets-rails 2.3.3
Using encrypted_cookie_store-instructure 1.1.12
Using actionmailer 4.0.13
Using canvas_connect 0.3.10
Using aws-sdk 1.63.0
Using html_text_helper 0.0.1 from source at `gems/html_text_helper`
Using canvas_sanitize 0.0.1 from source at `gems/canvas_sanitize`
Using moodle2cc 0.2.35
Using saml2 1.0.7
Using rubocop 0.35.1
Using testingbot 0.1.7
Using fontcustom 1.3.8
Using guard 1.8.0
Using canvas_cassandra 0.0.1 from source at `gems/canvas_cassandra`
Using ims-lti 2.1.0.beta.3
Using google-api-client 0.8.2
Using i18nliner 0.0.12
Using redis-actionpack 4.0.1
Using testrailtagging 0.3.6.9
Using after_transaction_commit 1.0.1
Using authlogic 3.4.6
Using canvas_partman 2.0.0 from source at `gems/canvas_partman`
Using hairtrigger 0.2.15
Using marginalia 1.3.0
Using once-ler 0.0.16
Using shackles 1.1.0
Using test_after_commit 1.1.0
Using canvas_webex 0.17
Using rspec-rails 3.4.1
Using rails 4.0.13
Using selinimum 0.0.1 from source at `gems/selinimum`
Using canvas_quiz_statistics 0.1.0 from source at `gems/canvas_quiz_statistics`
Using twitter 1.0.0 from source at `gems/twitter`
Using rubocop-canvas 1.0.0 from source at `gems/rubocop-canvas`
Using guard-gulp 0.0.2
Using guard-shell 0.6.1
Using i18n_extraction 0.0.1 from source at `gems/i18n_extraction`
Using redis-rails 4.0.0
Using broadcast_policy 1.0.0 from source at `gems/broadcast_policy`
Using switchman 1.6.1
Using academic_benchmark 1.1.0 from source at `gems/plugins/academic_benchmark`
Using account_reports 1.1.0 from source at `gems/plugins/account_reports`
Using acts_as_list 0.0.1 from source at `gems/acts_as_list`
Using adheres_to_policy 0.0.1 from source at `gems/adheres_to_policy`
Using aroi 0.0.3
Using attachment_fu 1.0.0 from source at `gems/attachment_fu`
Using bookmarked_collection 1.0.0 from source at `gems/bookmarked_collection`
Using canvas_stringex 0.0.1 from source at `gems/canvas_stringex`
Using google_drive 1.0.0 from source at `gems/google_drive`
Using inst-jobs 0.11.3
Using moodle_importer 1.0.0 from source at `gems/plugins/moodle_importer`
Using qti_exporter 1.0.0 from source at `gems/plugins/qti_exporter`
Using respondus_soap_endpoint 1.1.0 from source at `gems/plugins/respondus_soap_endpoint`
Using simply_versioned 1.0.0 from source at `gems/plugins/simply_versioned`
Using workflow 0.0.1 from source at `gems/workflow`
Using handlebars_tasks 0.0.1 from source at `gems/handlebars_tasks`
Using i18n_tasks 0.0.1 from source at `gems/i18n_tasks`
Using canvas_statsd 1.0.3
Using event_stream 0.0.1 from source at `gems/event_stream`
Using incoming_mail_processor 0.0.1 from source at `gems/incoming_mail_processor`
Using live_events 1.0.0 from source at `gems/live_events`
Bundle complete! 210 Gemfile dependencies, 283 gems now installed.
Gems in the group mysql were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Installing required npm assets
npm WARN lifecycle canvas-lms@0.0.0~preinstall: cannot run in wd %s %s (wd=%s) canvas-lms@0.0.0 script/gem_npm install /home/vizzario/canvas-lms
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.14: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN i18nliner-handlebars@0.2.0 requires a peer of i18nliner@~0.1.5 but none was installed.
npm WARN instructure-icons@0.0.8 requires a peer of react@^0.14.7 || ^15.0.0 but none was installed.
npm WARN instructure-icons@0.0.8 requires a peer of react-dom@^0.14.7 || ^15.0.0 but none was installed.
npm WARN instructure-ui@0.13.3 requires a peer of react@^0.14.7 || ~15.1.0 but none was installed.
npm WARN instructure-ui@0.13.3 requires a peer of react-dom@^0.14.7 || ~15.1.0 but none was installed.
npm WARN react-addons-css-transition-group@15.1.0 requires a peer of react@^15.1.0 but none was installed.
npm WARN react-overlays@0.6.10 requires a peer of react@>=0.14.0 but none was installed.
npm WARN react-overlays@0.6.10 requires a peer of react-dom@>=0.14.0 but none was installed.
npm WARN react-prop-types@0.4.0 requires a peer of react@>=0.14.0 but none was installed.
Compiling Canvas assets
--> Starting: 'Making sure node_modules are up to date'
node is: /usr/bin/node
 v6.8.0
npm WARN lifecycle canvas-lms@0.0.0~preinstall: cannot run in wd %s %s (wd=%s) canvas-lms@0.0.0 script/gem_npm install /home/vizzario/canvas-lms
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.14: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN i18nliner-handlebars@0.2.0 requires a peer of i18nliner@~0.1.5 but none was installed.
npm WARN instructure-icons@0.0.8 requires a peer of react@^0.14.7 || ^15.0.0 but none was installed.
npm WARN instructure-icons@0.0.8 requires a peer of react-dom@^0.14.7 || ^15.0.0 but none was installed.
npm WARN instructure-ui@0.13.3 requires a peer of react@^0.14.7 || ~15.1.0 but none was installed.
npm WARN instructure-ui@0.13.3 requires a peer of react-dom@^0.14.7 || ~15.1.0 but none was installed.
npm WARN react-addons-css-transition-group@15.1.0 requires a peer of react@^15.1.0 but none was installed.
npm WARN react-overlays@0.6.10 requires a peer of react@>=0.14.0 but none was installed.
npm WARN react-overlays@0.6.10 requires a peer of react-dom@>=0.14.0 but none was installed.
npm WARN react-prop-types@0.4.0 requires a peer of react@>=0.14.0 but none was installed.
--> Finished: 'Making sure node_modules are up to date' in 8.775531728
--> Starting: 'compile css (including custom brands)'
--> Finished: 'compile css (including custom brands)' in 1.550256127
working in 1 processes
--> Starting: 'css:styleguide'
--> creating styleguide
# writing file: app/views/info/styleguide.html.erb
--> Finished: 'css:styleguide' in 4.823443718
--> Starting: 'compile coffee, js 18n, run r.js optimizer, and webpack'
--> Starting: 'js:generate'
Building client app 'canvas_quizzes'
        Running 'npm install'...
npm WARN canvas_quizzes@1.0.0 No license field.
        Running 'npm run build'...
Client app 'canvas_quizzes' was built successfully.
--> Compiling React JSX
--> Generating plugin extensions
--> Generating plugin extensions finished in 0.001240226--> Pre-compiling handlebars templates

--> Creating ember app bundles
--> Pre-compiling ember handlebars templates
--> Creating ember app bundles finished in 0.062031851
module.js:471
    throw err;
    ^

Error: Cannot find module 'i18nliner/dist/lib/extractors/translate_call'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/vizzario/canvas-lms/node_modules/i18nliner-handlebars/dist/lib/t_call.js:5:37)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
module.js:471
    throw err;
    ^

Error: Cannot find module 'i18nliner/dist/lib/extractors/translate_call'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/vizzario/canvas-lms/node_modules/i18nliner-handlebars/dist/lib/t_call.js:5:37)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
--> Compiling CoffeeScript with 'coffee' binary
--> Pre-compiling ember handlebars templates
--> Creating ember app bundles finished in 0.062031851
module.js:471
    throw err;
    ^

Error: Cannot find module 'i18nliner/dist/lib/extractors/translate_call'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/vizzario/canvas-lms/node_modules/i18nliner-handlebars/dist/lib/t_call.js:5:37)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
module.js:471
    throw err;
    ^

Error: Cannot find module 'i18nliner/dist/lib/extractors/translate_call'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/vizzario/canvas-lms/node_modules/i18nliner-handlebars/dist/lib/t_call.js:5:37)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
--> Compiling React JSX finished in 75.360502655
rake aborted!
Undumpable Exception -- #<EOFError: end of file reached>
/var/lib/gems/2.1.0/gems/parallel-1.4.1/lib/parallel.rb:63:in `work'
/var/lib/gems/2.1.0/gems/parallel-1.4.1/lib/parallel.rb:280:in `block (4 levels) in work_in_processes'
/var/lib/gems/2.1.0/gems/parallel-1.4.1/lib/parallel.rb:447:in `with_instrumentation'
/var/lib/gems/2.1.0/gems/parallel-1.4.1/lib/parallel.rb:279:in `block (3 levels) in work_in_processes'
/var/lib/gems/2.1.0/gems/parallel-1.4.1/lib/parallel.rb:273:in `loop'
/var/lib/gems/2.1.0/gems/parallel-1.4.1/lib/parallel.rb:273:in `block (2 levels) in work_in_processes'
/var/lib/gems/2.1.0/gems/parallel-1.4.1/lib/parallel.rb:138:in `block (2 levels) in in_threads'
Tasks: TOP => canvas:compile_assets
(See full trace by running task with --trace)
The asset compilation failed.  This might be a permissions thing.
Re-run the compile with sudo? (Y/[N]):
The asset compilation failed.
You can continue setup but the assets will need to be
successfully built before you can run Canvas
(You build them with 'bundle exec rake canvas:compile_assets')
Continue with setup? ([Y]/N): Error building Canvas assets.  Please build manually and try again (bundle exec rake canvas:compile_assets)
vizzario@vizzario:~/canvas-lms$
rameshbimarian commented 8 years ago

no solution yet for this particular problem, gracefully we stopped canvas and looked out for another site