Closed 500Foods closed 2 years ago
I was able to get Canvas-LMS running on Ubuntu 20.04.4 using the wiki steps.
Here is an excerpt from my history:
30 sudo add-apt-repository ppa:brightbox/ruby-ng
31 sudo apt-get update
32 sudo apt-get install ruby2.7 ruby2.7-dev zlib1g-dev libxml2-dev libsqlite3-dev postgresql libpq-dev libxmlsec1-dev curl make g++
33 curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
34 sudo apt install -y nodejs
35 sudo npm install -g npm@latest
36 sudo -u postgres createuser $USER
37 sudo -u postgres psql -c "alter user $USER with superuser" postgres
38 sudo gem install bundler --version 2.2.19
39 bundle _2.2.19_ install --path vendor/bundle
40 curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
41 echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
42 sudo apt-get update && sudo apt-get install yarn=1.19.1-1
43 sudo apt-get install python
44 cd /var/canvas/
45 bundle _2.2.19_ install --path vendor/bundle
46 sudo yarn install
(I noticed I ran bundle install
in the wrong directory)
There are also a few steps missing from the production install wiki, which I will be adding in a bit:
sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger bionic main > /etc/apt/sources.list.d/passenger.list'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7 93 sudo apt-get install -y apt-transport-https ca-certificates
sudo apt update
sudo apt-get install passenger libapache2-mod-passenger apache2
cd /var/canvas
mv db/migrate/20210823222355_change_immersive_reader_allowed_on_to_on.rb .
mv /var/canvas/db/migrate/20210812210129_add_singleton_column.rb /var/canvas/db/migrate/20111111214311_add_singleton_column.rb
RAILS_ENV=production bundle exec rake db:initial_setup
mv 20210823222355_change_immersive_reader_allowed_on_to_on.rb db/migrate/.
RAILS_ENV=production bundle exec rake db:migrate
Great, I'll try and carefully retrace those steps, thanks very much! Was there a particular release of Canvas that you applied this against?
I did it against the prod
branch.
Ok, thanks again. Will give it a try later today and report back with the results.
I still can't seem to get past this point. I've uninstalled everything I could think of and started over, several times, and always end up at the same place. I'm sure it is something simple. Or maybe it is actually working and I'm misunderstanding. I don't see any errors really up until the last step, and it seems Node v16.16 is required rather than Node v14 that the steps seem to result in, but I've also tried Node v18 without much change. Here's the final step. Apologies for the length.
asimard@festival:/var/canvas$ sudo yarn install
yarn install v1.19.1
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > @apollo/react-common@3.0.1" has incorrect peer dependency "@types/react@^16.8.0".
warning " > @apollo/react-components@3.0.1" has incorrect peer dependency "@types/react@^16.8.0".
warning " > @apollo/react-hoc@3.0.1" has incorrect peer dependency "@types/react@^16.8.0".
warning " > @apollo/react-hooks@3.0.1" has incorrect peer dependency "@types/react@^16.8.0".
warning " > @sentry/fullstory@1.1.7" has unmet peer dependency "@sentry/browser@>=4.0.0".
warning " > react-apollo@3.0.1" has incorrect peer dependency "@types/react@^16.8.0".
warning " > react-identicons@1.2.5" has incorrect peer dependency "react@^17.0.1".
warning " > react-identicons@1.2.5" has incorrect peer dependency "react-dom@^17.0.1".
warning " > @instructure/i18nliner-handlebars@2.0.0" has unmet peer dependency "jsdom@^14, ^15, ^16, ^17, ^18, ^19".
warning " > chai-assert-change@2.0.0" has unmet peer dependency "chai@2 || 3 || 4".
warning " > eslint-plugin-react-hooks@1.7.0" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning " > file-loader@4.3.0" has incorrect peer dependency "webpack@^4.0.0".
warning " > jest-html-reporter@3.4.1" has incorrect peer dependency "jest@19.x - 27.x".
warning " > jsdom-global@3.0.2" has unmet peer dependency "jsdom@>=10.0.0".
warning " > moment-timezone-data-webpack-plugin@1.5.0" has unmet peer dependency "moment-timezone@>= 0.1.0".
warning "@storybook/addon-storyshots > preact-render-to-string@5.2.1" has unmet peer dependency "preact@>=10".
warning "@storybook/addon-storyshots > react-test-renderer@17.0.2" has incorrect peer dependency "react@17.0.2".
warning " > @storybook/react@6.5.9" has unmet peer dependency "require-from-string@^2.0.2".
warning " > @instructure/babel-plugin-themeable-styles@7.19.0-canvas" has incorrect peer dependency "webpack@^3 || ^4".
warning "workspace-aggregator-b3eb2adb-282a-4311-813d-029a7af49ef3 > @instructure/canvas-rce > axe-testcafe@3.0.0" has incorrect peer dependency "axe-core@>=2.2.3 <4".
[5/5] Building fresh packages...
$ yarn dedupe-yarn; test -n "$DISABLE_POSTINSTALL" || (yarn build:packages && ./script/install_hooks && ./script/fix_inst_esm.js)
yarn run v1.19.1
$ yarn yarn-deduplicate
$ /var/canvas/node_modules/.bin/yarn-deduplicate
Done in 2.04s.
yarn run v1.19.1
$ yarn workspace-run build:canvas
$ r() { wsrun --fast-exit --exclude-missing --report -c $@; exit $?; } && r build:canvas
array-erase has no build:canvas script, skipping missing
@instructure/babel-plugin-themeable-styles has no build:canvas script, skipping missing
@instructure/babel-preset-pretranslated-format-message has no build:canvas script, skipping missing
@instructure/babel-preset-pretranslated-translations-package-format-message has no build:canvas script, skipping missing
backbone-identity-map has no build:canvas script, skipping missing
backbone-input-filter-view has no build:canvas script, skipping missing
backbone-input-view has no build:canvas script, skipping missing
bootstrap-dropdown has no build:canvas script, skipping missing
bootstrap-select has no build:canvas script, skipping missing
browser-sniffer has no build:canvas script, skipping missing
@instructure/browserslist-config-canvas-lms has no build:canvas script, skipping missing
compose has no build:canvas script, skipping missing
convert-case has no build:canvas script, skipping missing
date-js has no build:canvas script, skipping missing
datetime-moment-parser has no build:canvas script, skipping missing
defer-promise has no build:canvas script, skipping missing
deparam has no build:canvas script, skipping missing
ember has no build:canvas script, skipping missing
escape-regex has no build:canvas script, skipping missing
force-screenreader-to-reparse has no build:canvas script, skipping missing
format-message-estree-util has no build:canvas script, skipping missing
@instructure/get-cookie has no build:canvas script, skipping missing
html-escape has no build:canvas script, skipping missing
intl-polyfills has no build:canvas script, skipping missing
jest-moxios-utils has no build:canvas script, skipping missing
jquery-fancy-placeholder has no build:canvas script, skipping missing
jquery-kyle-menu has no build:canvas script, skipping missing
jquery-pageless has no build:canvas script, skipping missing
jquery-popover has no build:canvas script, skipping missing
jquery-qtip has no build:canvas script, skipping missing
jquery-scroll-into-view has no build:canvas script, skipping missing
jquery-scroll-to-visible has no build:canvas script, skipping missing
jquery-selectmenu has no build:canvas script, skipping missing
jquery-sticky has no build:canvas script, skipping missing
jquery-tinypubsub has no build:canvas script, skipping missing
jquery-tree has no build:canvas script, skipping missing
jqueryui has no build:canvas script, skipping missing
link-header-parsing has no build:canvas script, skipping missing
lodash-underscore has no build:canvas script, skipping missing
make-promise-pool has no build:canvas script, skipping missing
mathml has no build:canvas script, skipping missing
obj-flatten has no build:canvas script, skipping missing
obj-select has no build:canvas script, skipping missing
obj-unflatten has no build:canvas script, skipping missing
old-copy-of-react-14-that-is-just-here-so-if-analytics-is-checked-out-it-doesnt-change-yarn.lock has no build:canvas script, skipping missing
parse-browser-info has no build:canvas script, skipping missing
persistent-array has no build:canvas script, skipping missing
prevent-default has no build:canvas script, skipping missing
query-string-encoding has no build:canvas script, skipping missing
react-dnd-test-backend has no build:canvas script, skipping missing
@instructure/ready has no build:canvas script, skipping missing
round has no build:canvas script, skipping missing
sanitize-html-with-tinymce has no build:canvas script, skipping missing
sanitize-url has no build:canvas script, skipping missing
shortid has no build:canvas script, skipping missing
slickgrid has no build:canvas script, skipping missing
str-pluralize has no build:canvas script, skipping missing
strip-tags has no build:canvas script, skipping missing
@instructure/translations has no build:canvas script, skipping missing
url-encoding has no build:canvas script, skipping missing
validated-apollo has no build:canvas script, skipping missing
with-breakpoints has no build:canvas script, skipping missing
@canvas/account-quota-settings-view has no build:canvas script, skipping missing
@canvas/add-people has no build:canvas script, skipping missing
@canvas/alerts has no build:canvas script, skipping missing
@canvas/announcements has no build:canvas script, skipping missing
@canvas/apollo has no build:canvas script, skipping missing
@canvas/assignments has no build:canvas script, skipping missing
@canvas/authenticity-token has no build:canvas script, skipping missing
@canvas/avatar-dialog-view has no build:canvas script, skipping missing
@canvas/avatar has no build:canvas script, skipping missing
@canvas/await-element has no build:canvas script, skipping missing
@canvas/axios has no build:canvas script, skipping missing
@canvas/backbone-collection-view has no build:canvas script, skipping missing
@canvas/backbone has no build:canvas script, skipping missing
@canvas/backoff-poller has no build:canvas script, skipping missing
@canvas/blueprint-courses has no build:canvas script, skipping missing
@canvas/brandable-css has no build:canvas script, skipping missing
@canvas/calendar-conferences has no build:canvas script, skipping missing
@canvas/calendar has no build:canvas script, skipping missing
@canvas/canvas-media-player has no build:canvas script, skipping missing
@canvas/color-picker has no build:canvas script, skipping missing
@canvas/combo-box has no build:canvas script, skipping missing
@canvas/conditional-release-cyoe-helper has no build:canvas script, skipping missing
@canvas/conditional-release-editor has no build:canvas script, skipping missing
@canvas/conditional-release-score has no build:canvas script, skipping missing
@canvas/conditional-release-stats has no build:canvas script, skipping missing
@canvas/confetti has no build:canvas script, skipping missing
@canvas/content-locks has no build:canvas script, skipping missing
@canvas/content-migrations has no build:canvas script, skipping missing
@canvas/content-sharing has no build:canvas script, skipping missing
@canvas/context-cards has no build:canvas script, skipping missing
@canvas/context-module-file-drop has no build:canvas script, skipping missing
@canvas/context-modules has no build:canvas script, skipping missing
@canvas/copy-to-clipboard-button has no build:canvas script, skipping missing
@canvas/copy-to-clipboard has no build:canvas script, skipping missing
@canvas/course-homepage has no build:canvas script, skipping missing
@canvas/courses has no build:canvas script, skipping missing
@canvas/create-course-modal has no build:canvas script, skipping missing
@canvas/dashboard-card has no build:canvas script, skipping missing
@canvas/date-group has no build:canvas script, skipping missing
@canvas/datetime-natural-parsing-instrument has no build:canvas script, skipping missing
@canvas/datetime has no build:canvas script, skipping missing
@canvas/day-substitution has no build:canvas script, skipping missing
@canvas/deep-linking has no build:canvas script, skipping missing
@canvas/dialog-base-view has no build:canvas script, skipping missing
@canvas/direct-sharing has no build:canvas script, skipping missing
@canvas/discussions has no build:canvas script, skipping missing
@canvas/do-fetch-api-effect has no build:canvas script, skipping missing
@canvas/doc-previews has no build:canvas script, skipping missing
@canvas/due-dates has no build:canvas script, skipping missing
@canvas/easy-student-view has no build:canvas script, skipping missing
@canvas/editor-toggle has no build:canvas script, skipping missing
@canvas/emoji has no build:canvas script, skipping missing
@canvas/enhanced-user-content has no build:canvas script, skipping missing
@canvas/error-boundary has no build:canvas script, skipping missing
@canvas/external-apps has no build:canvas script, skipping missing
@canvas/external-tools has no build:canvas script, skipping missing
@canvas/feature-flags has no build:canvas script, skipping missing
@canvas/files has no build:canvas script, skipping missing
@canvas/forms has no build:canvas script, skipping missing
@canvas/generate-pairing-code has no build:canvas script, skipping missing
@canvas/generic-error-page has no build:canvas script, skipping missing
@canvas/grade-summary has no build:canvas script, skipping missing
@canvas/gradebook-content-filters has no build:canvas script, skipping missing
@canvas/gradebook-menu has no build:canvas script, skipping missing
@canvas/grading-standard-collection has no build:canvas script, skipping missing
@canvas/grading-standards has no build:canvas script, skipping missing
@canvas/grading-status-pill has no build:canvas script, skipping missing
@canvas/grading has no build:canvas script, skipping missing
@canvas/graphql-query-mock has no build:canvas script, skipping missing
@canvas/group-modal has no build:canvas script, skipping missing
@canvas/groups has no build:canvas script, skipping missing
@canvas/handlebars-helpers has no build:canvas script, skipping missing
@canvas/hide-assignment-grades-tray has no build:canvas script, skipping missing
@canvas/i18n has no build:canvas script, skipping missing
@canvas/images has no build:canvas script, skipping missing
@canvas/immersive-reader has no build:canvas script, skipping missing
@canvas/infinite-scroll has no build:canvas script, skipping missing
@canvas/instui-bindings has no build:canvas script, skipping missing
@canvas/integrations has no build:canvas script, skipping missing
@canvas/jquery has no build:canvas script, skipping missing
@canvas/k5 has no build:canvas script, skipping missing
@canvas/keyboard-nav-dialog has no build:canvas script, skipping missing
@canvas/keycodes has no build:canvas script, skipping missing
@canvas/lazy-load has no build:canvas script, skipping missing
@canvas/link-enrollment has no build:canvas script, skipping missing
@canvas/loading-image has no build:canvas script, skipping missing
@canvas/loading-indicator has no build:canvas script, skipping missing
@canvas/lock-icon has no build:canvas script, skipping missing
@canvas/lti has no build:canvas script, skipping missing
@canvas/mathquill has no build:canvas script, skipping missing
@canvas/media-comments has no build:canvas script, skipping missing
@canvas/media-recorder has no build:canvas script, skipping missing
@canvas/mediaelement has no build:canvas script, skipping missing
@canvas/message-attachments has no build:canvas script, skipping missing
@canvas/message-students-dialog has no build:canvas script, skipping missing
@canvas/message-students-modal has no build:canvas script, skipping missing
@canvas/mime has no build:canvas script, skipping missing
@canvas/modal has no build:canvas script, skipping missing
@canvas/module-sequence-footer has no build:canvas script, skipping missing
@canvas/modules has no build:canvas script, skipping missing
@canvas/move-item-tray has no build:canvas script, skipping missing
@canvas/multi-select has no build:canvas script, skipping missing
@canvas/network has no build:canvas script, skipping missing
@canvas/normalize-registration-errors has no build:canvas script, skipping missing
@canvas/notification-preferences-course has no build:canvas script, skipping missing
@canvas/notification-preferences has no build:canvas script, skipping missing
@canvas/notifications has no build:canvas script, skipping missing
@canvas/observer-picker has no build:canvas script, skipping missing
@canvas/outcome-content-view has no build:canvas script, skipping missing
@canvas/outcome-gradebook-grid has no build:canvas script, skipping missing
@canvas/outcome-sidebar-view has no build:canvas script, skipping missing
@canvas/outcomes has no build:canvas script, skipping missing
@canvas/pagination has no build:canvas script, skipping missing
@canvas/panda-pub-client has no build:canvas script, skipping missing
@canvas/panda-pub-poller has no build:canvas script, skipping missing
@canvas/permissions has no build:canvas script, skipping missing
@canvas/post-assignment-grades-tray has no build:canvas script, skipping missing
@canvas/progress has no build:canvas script, skipping missing
@canvas/pseudonyms has no build:canvas script, skipping missing
@canvas/publish-button-view has no build:canvas script, skipping missing
@canvas/publish-icon-view has no build:canvas script, skipping missing
@canvas/quiz-legacy-client-apps has no build:canvas script, skipping missing
@canvas/quiz-log-auditing has no build:canvas script, skipping missing
@canvas/quizzes has no build:canvas script, skipping missing
@canvas/rails-flash-notifications has no build:canvas script, skipping missing
@canvas/rce has no build:canvas script, skipping missing
@canvas/react-modal has no build:canvas script, skipping missing
@canvas/rubrics has no build:canvas script, skipping missing
@canvas/search-item-selector has no build:canvas script, skipping missing
@canvas/sections-tooltip has no build:canvas script, skipping missing
@canvas/sections has no build:canvas script, skipping missing
@canvas/select-content-dialog has no build:canvas script, skipping missing
@canvas/select-position has no build:canvas script, skipping missing
@canvas/sentry has no build:canvas script, skipping missing
@canvas/services has no build:canvas script, skipping missing
@canvas/shave has no build:canvas script, skipping missing
@canvas/signup-dialog has no build:canvas script, skipping missing
@canvas/sis has no build:canvas script, skipping missing
@canvas/speed-grader-link has no build:canvas script, skipping missing
@canvas/spinner has no build:canvas script, skipping missing
@canvas/stub-env has no build:canvas script, skipping missing
@canvas/student-group-filter has no build:canvas script, skipping missing
@canvas/svg-wrapper has no build:canvas script, skipping missing
@canvas/syllabus has no build:canvas script, skipping missing
@canvas/theme-editor has no build:canvas script, skipping missing
@canvas/timezone has no build:canvas script, skipping missing
@canvas/tinymce-equella has no build:canvas script, skipping missing
@canvas/tinymce-external-tools has no build:canvas script, skipping missing
@canvas/tour-pubsub has no build:canvas script, skipping missing
@canvas/trays has no build:canvas script, skipping missing
@canvas/tree-browser-view has no build:canvas script, skipping missing
@canvas/unread-badge has no build:canvas script, skipping missing
@canvas/upload-file has no build:canvas script, skipping missing
@canvas/upload-media-translations has no build:canvas script, skipping missing
@canvas/use-date-time-format-hook has no build:canvas script, skipping missing
@canvas/use-fetch-api-hook has no build:canvas script, skipping missing
@canvas/use-immediate-hook has no build:canvas script, skipping missing
@canvas/use-state-with-callback-hook has no build:canvas script, skipping missing
@canvas/user-settings has no build:canvas script, skipping missing
@canvas/user-sortable-name has no build:canvas script, skipping missing
@canvas/users has no build:canvas script, skipping missing
@canvas/util has no build:canvas script, skipping missing
@canvas/validated-apollo-mocked-provider has no build:canvas script, skipping missing
@canvas/wiki has no build:canvas script, skipping missing
datetime has no build:canvas script, skipping missing
@instructure/k5uploader
$ babel -d es src & babel --config-file=./babel.config.cjs.js -d lib src
@canvas/engine
$ yarn run check && yarn run lint
@instructure/js-utils
$ babel --root-mode upward src -d es & JEST_WORKER_ID=true babel --root-mode upward src -d lib
@instructure/canvas-rce
$ scripts/build-canvas
@instructure/canvas-planner
$ yarn build
@instructure/canvas-media
$ yarn run build:es && yarn run build:cjs
@canvas/engine
$ tsc -p ./tsconfig.json
@instructure/canvas-planner
$ yarn build:es && yarn build:cjs
@instructure/canvas-media
$ babel src --out-dir es --ignore '**/__tests__'
@instructure/canvas-rce
$ scripts/installTranslations.js
| Translations installed.
@instructure/canvas-planner
$ babel src --out-dir es --ignore '**/__tests__' --quiet
@instructure/js-utils
| Successfully compiled 3 files with Babel (1127ms).
| Successfully compiled 3 files with Babel (1146ms).
@instructure/canvas-rce
$ babel --out-dir lib src --ignore '**/__tests__,**/__mocks__' --config-file=./babel.config.cjs.js
@instructure/k5uploader
| Successfully compiled 21 files with Babel (1580ms).
| Successfully compiled 21 files with Babel (1661ms).
@instructure/canvas-media
| Successfully compiled 66 files with Babel (2365ms).
@instructure/canvas-planner
| [babel-plugin-themeable-styles] Custom scoped CSS class names will be removed in 7.0. Please use the default themeable config.
@instructure/canvas-media
$ babel --config-file=./babel.config.cjs.js src --out-dir lib --ignore '**/__tests__'
@canvas/engine
$ eslint . --ext .ts,.js
@instructure/canvas-media
| Successfully compiled 66 files with Babel (2271ms).
@instructure/canvas-planner
$ babel --config-file=./babel.config.cjs.js src --out-dir lib --ignore '**/__tests__'
@instructure/canvas-rce
| Unknown error from PostCSS plugin. Your current PostCSS version is 6.0.23, but postcss-bidirection uses 7.0.39. Perhaps this is the source of the error below.
| [transform-themeable]: Could not require CSS file: /var/canvas/node_modules/mathlive/dist/mathlive-fonts.css
| TypeError: Cannot read properties of undefined (reading 'nodes')
@instructure/canvas-planner
| [babel-plugin-themeable-styles] Custom scoped CSS class names will be removed in 7.0. Please use the default themeable config.
@instructure/canvas-rce
| Successfully compiled 338 files with Babel (15109ms).
$ babel --out-dir es src --ignore '**/__tests__,**/__mocks__'
@instructure/canvas-planner
| Successfully compiled 105 files with Babel (8910ms).
@instructure/canvas-rce
| Successfully compiled 338 files with Babel (13088ms).
Report:
6 packages finished `build:canvas` successfully: @instructure/k5uploader, @canvas/engine, @instructure/js-utils, @instructure/canvas-media, @instructure/canvas-planner, @instructure/canvas-rce
227 packages are missing script `build:canvas`: array-erase, @instructure/babel-plugin-themeable-styles, @instructure/babel-preset-pretranslated-format-message, @instructure/babel-preset-pretranslated-translations-package-format-message, backbone-identity-map, backbone-input-filter-view, backbone-input-view, bootstrap-dropdown, bootstrap-select, browser-sniffer, @instructure/browserslist-config-canvas-lms, compose, convert-case, date-js, datetime-moment-parser, defer-promise, deparam, ember, escape-regex, force-screenreader-to-reparse, format-message-estree-util, @instructure/get-cookie, html-escape, intl-polyfills, jest-moxios-utils, jquery-fancy-placeholder, jquery-kyle-menu, jquery-pageless, jquery-popover, jquery-qtip, jquery-scroll-into-view, jquery-scroll-to-visible, jquery-selectmenu, jquery-sticky, jquery-tinypubsub, jquery-tree, jqueryui, link-header-parsing, lodash-underscore, make-promise-pool, mathml, obj-flatten, obj-select, obj-unflatten, old-copy-of-react-14-that-is-just-here-so-if-analytics-is-checked-out-it-doesnt-change-yarn.lock, parse-browser-info, persistent-array, prevent-default, query-string-encoding, react-dnd-test-backend, @instructure/ready, round, sanitize-html-with-tinymce, sanitize-url, shortid, slickgrid, str-pluralize, strip-tags, @instructure/translations, url-encoding, validated-apollo, with-breakpoints, @canvas/account-quota-settings-view, @canvas/add-people, @canvas/alerts, @canvas/announcements, @canvas/apollo, @canvas/assignments, @canvas/authenticity-token, @canvas/avatar-dialog-view, @canvas/avatar, @canvas/await-element, @canvas/axios, @canvas/backbone-collection-view, @canvas/backbone, @canvas/backoff-poller, @canvas/blueprint-courses, @canvas/brandable-css, @canvas/calendar-conferences, @canvas/calendar, @canvas/canvas-media-player, @canvas/color-picker, @canvas/combo-box, @canvas/conditional-release-cyoe-helper, @canvas/conditional-release-editor, @canvas/conditional-release-score, @canvas/conditional-release-stats, @canvas/confetti, @canvas/content-locks, @canvas/content-migrations, @canvas/content-sharing, @canvas/context-cards, @canvas/context-module-file-drop, @canvas/context-modules, @canvas/copy-to-clipboard-button, @canvas/copy-to-clipboard, @canvas/course-homepage, @canvas/courses, @canvas/create-course-modal, @canvas/dashboard-card, @canvas/date-group, @canvas/datetime-natural-parsing-instrument, @canvas/datetime, @canvas/day-substitution, @canvas/deep-linking, @canvas/dialog-base-view, @canvas/direct-sharing, @canvas/discussions, @canvas/do-fetch-api-effect, @canvas/doc-previews, @canvas/due-dates, @canvas/easy-student-view, @canvas/editor-toggle, @canvas/emoji, @canvas/enhanced-user-content, @canvas/error-boundary, @canvas/external-apps, @canvas/external-tools, @canvas/feature-flags, @canvas/files, @canvas/forms, @canvas/generate-pairing-code, @canvas/generic-error-page, @canvas/grade-summary, @canvas/gradebook-content-filters, @canvas/gradebook-menu, @canvas/grading-standard-collection, @canvas/grading-standards, @canvas/grading-status-pill, @canvas/grading, @canvas/graphql-query-mock, @canvas/group-modal, @canvas/groups, @canvas/handlebars-helpers, @canvas/hide-assignment-grades-tray, @canvas/i18n, @canvas/images, @canvas/immersive-reader, @canvas/infinite-scroll, @canvas/instui-bindings, @canvas/integrations, @canvas/jquery, @canvas/k5, @canvas/keyboard-nav-dialog, @canvas/keycodes, @canvas/lazy-load, @canvas/link-enrollment, @canvas/loading-image, @canvas/loading-indicator, @canvas/lock-icon, @canvas/lti, @canvas/mathquill, @canvas/media-comments, @canvas/media-recorder, @canvas/mediaelement, @canvas/message-attachments, @canvas/message-students-dialog, @canvas/message-students-modal, @canvas/mime, @canvas/modal, @canvas/module-sequence-footer, @canvas/modules, @canvas/move-item-tray, @canvas/multi-select, @canvas/network, @canvas/normalize-registration-errors, @canvas/notification-preferences-course, @canvas/notification-preferences, @canvas/notifications, @canvas/observer-picker, @canvas/outcome-content-view, @canvas/outcome-gradebook-grid, @canvas/outcome-sidebar-view, @canvas/outcomes, @canvas/pagination, @canvas/panda-pub-client, @canvas/panda-pub-poller, @canvas/permissions, @canvas/post-assignment-grades-tray, @canvas/progress, @canvas/pseudonyms, @canvas/publish-button-view, @canvas/publish-icon-view, @canvas/quiz-legacy-client-apps, @canvas/quiz-log-auditing, @canvas/quizzes, @canvas/rails-flash-notifications, @canvas/rce, @canvas/react-modal, @canvas/rubrics, @canvas/search-item-selector, @canvas/sections-tooltip, @canvas/sections, @canvas/select-content-dialog, @canvas/select-position, @canvas/sentry, @canvas/services, @canvas/shave, @canvas/signup-dialog, @canvas/sis, @canvas/speed-grader-link, @canvas/spinner, @canvas/stub-env, @canvas/student-group-filter, @canvas/svg-wrapper, @canvas/syllabus, @canvas/theme-editor, @canvas/timezone, @canvas/tinymce-equella, @canvas/tinymce-external-tools, @canvas/tour-pubsub, @canvas/trays, @canvas/tree-browser-view, @canvas/unread-badge, @canvas/upload-file, @canvas/upload-media-translations, @canvas/use-date-time-format-hook, @canvas/use-fetch-api-hook, @canvas/use-immediate-hook, @canvas/use-state-with-callback-hook, @canvas/user-settings, @canvas/user-sortable-name, @canvas/users, @canvas/util, @canvas/validated-apollo-mocked-provider, @canvas/wiki, datetime
Done in 32.95s.
running for git dir .git
fix_inst_esm.js: patched -- node_modules/@instructure/updown/package.json
Done in 98.34s.```
I don't see any errors, and that looks very similar to what happens with mine when it has completed successfully.
Ah. I stopped when I saw 6 of 227 packages built. I seem to recall (years ago) where this was more like 200 built and 6 failed. I will give it another try just ignoring that and continuing on. As I mentioned above, sometimes the problem is just in my understanding. Would be good to have a note in the guide that this, then, is actually what is expected?
Summary:
Having trouble getting through the steps of the Production install. When
sudo yarn install
is run, there are a bunch of warnings about unmet or incorrect peer dependencies, followed by a pile of errors about no build:canvas script, skipping missing, and then ultimately only 5 packages built and 200+ not built (missing script build:canvas).I'm running through this on Ubuntu 20.04. I've tried various branches (2021-12-15, 2022-05-25, prod, etc.) and various combinations and permutations of the versions of Yarn 1.19, 1.22, NodeJS 14, 16, 18, Bundle and so on, with the versions listed in the docs and the latest versions and various other combinations when they indicated as much.
So my question is - is there a combination of branch + Yarn + Node + Bundle that currently works? Or is something else broken that I need to fix that isn't listed in the production steps?
(As a side question, is there a nightly build/test that actually tests that the production instructions lead to a successful install?)