Request to choose stable version in 2021canvas LMS

32 views
Skip to first unread message

oraganti adithya

unread,
Sep 24, 2025, 2:27:50 AMSep 24
to Canvas LMS Users
Hi Team,

I'm working on building canvas 2021 version, but I'm facing lot of compatible errors. can you please suggest me a stable version of 2021. I'm using bellow versions of packages.

Nodejs v14.21.3
npm 6.14.18
yarn 1.22.22
ruby 2.6
Bundler version 2.2.11

Thanks 
Adithya

Andrey Gangan

unread,
Sep 30, 2025, 2:30:01 AMSep 30
to Canvas LMS Users
which errors? 

среда, 24 сентября 2025 г. в 09:27:50 UTC+3, oraganti adithya:

oraganti adithya

unread,
Sep 30, 2025, 7:32:10 AMSep 30
to Canvas LMS Users
Hi Andrey Gangan, Thanks for the replay please have a look on bellow error, i tried to resolve this with removing the @instructure/babel-plugin-transform-imports from package.json but it is not working.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.22
$ yarn workspace-run build:canvas
$ r() { wsrun --fast-exit --exclude-missing --report -c $@; exit $?; } && r build:canvas
i18nliner-canvas 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
@instructure/browserslist-config-canvas-lms has no build:canvas script, skipping missing
jest-moxios-utils 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
@instructure/ready has no build:canvas script, skipping missing
@instructure/translations has no build:canvas script, skipping missing
@instructure/canvas-media
$ yarn run build:es && yarn run build:cjs
@instructure/k5uploader
$ 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/js-utils
$ babel --root-mode upward src -d es & JEST_WORKER_ID=true babel --root-mode upward src -d lib
@instructure/canvas-media
$ babel src --out-dir es --ignore '**/__tests__'
@instructure/canvas-planner
$ yarn build:es && yarn build:cjs
@instructure/k5uploader
 | Error: Cannot find package '@instructure/babel-plugin-transform-imports' imported from /var/canvas/babel-virtual-resolve-base.js
 |     at new NodeError (/var/canvas/node_modules/@babel/core/lib/vendor/import-meta-resolve.js:194:5)
 |     at packageResolve (/var/canvas/node_modules/@babel/core/lib/vendor/import-meta-resolve.js:898:9)
 |     at moduleResolve (/var/canvas/node_modules/@babel/core/lib/vendor/import-meta-resolve.js:938:18)
 |     at defaultResolve (/var/canvas/node_modules/@babel/core/lib/vendor/import-meta-resolve.js:1016:15)
 |     at resolve (/var/canvas/node_modules/@babel/core/lib/vendor/import-meta-resolve.js:1029:12)
 |     at tryImportMetaResolve (/var/canvas/node_modules/@babel/core/lib/config/files/plugins.js:149:45)
 |     at resolveStandardizedNameForImport (/var/canvas/node_modules/@babel/core/lib/config/files/plugins.js:174:19)
 |     at resolveStandardizedName (/var/canvas/node_modules/@babel/core/lib/config/files/plugins.js:186:22)
 |     at loadPlugin (/var/canvas/node_modules/@babel/core/lib/config/files/plugins.js:56:7)
 |     at loadPlugin.next (<anonymous>) {
 |   code: 'ERR_MODULE_NOT_FOUND'
 | }
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
 | `yarn build:canvas` failed with exit code 1
Stopping 5 active children

Report:
  1 packages finished `build:canvas` with error: @instructure/k5uploader
  4 packages have been cancelled running `build:canvas`: @instructure/js-utils, @instructure/canvas-planner, @instructure/canvas-media, @instructure/canvas-rce
  8 packages are missing script `build:canvas`: i18nliner-canvas, @instructure/babel-preset-pretranslated-format-message, @instructure/babel-preset-pretranslated-translations-package-format-message, @instructure/browserslist-config-canvas-lms, jest-moxios-utils, old-copy-of-react-14-that-is-just-here-so-if-analytics-is-checked-out-it-doesnt-change-yarn.lock, @instructure/ready, @instructure/translations

Aborted execution due to previous error
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.


sudo RAILS_ENV=production bundle exec rake canvas:compile_assets
rake aborted!
NameError: uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.5/lib/active_support/logger_thread_safe_level.rb:16:in `<module:LoggerThreadSafeLevel>'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.5/lib/active_support/logger_thread_safe_level.rb:9:in `<module:ActiveSupport>'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.5/lib/active_support/logger_thread_safe_level.rb:8:in `<top (required)>'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.5/lib/active_support/logger_silence.rb:5:in `require'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.5/lib/active_support/logger_silence.rb:5:in `<top (required)>'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.5/lib/active_support/logger.rb:3:in `require'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.5/lib/active_support/logger.rb:3:in `<top (required)>'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.5/lib/active_support.rb:29:in `require'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.5/lib/active_support.rb:29:in `<top (required)>'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record.rb:26:in `require'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record.rb:26:in `<top (required)>'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railtie.rb:3:in `require'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railtie.rb:3:in `<top (required)>'
/var/canvas/config/application.rb:30:in `require'
/var/canvas/config/application.rb:30:in `<top (required)>'
/var/canvas/Rakefile:4:in `require'
/var/canvas/Rakefile:4:in `<top (required)>'
/var/canvas/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)

Regards,
Adithya

Andrey Gangan

unread,
Oct 2, 2025, 12:26:15 PMOct 2
to Canvas LMS Users
for this:  NameError: uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger

Just block the gem into your gemfile to the previous version

gem 'concurrent-ruby', '1.3.4'

for missing js package try to run yarn install again. I did not have such error recently but I could omit compile assets step, and deploy version just for migrations.

вторник, 30 сентября 2025 г. в 14:32:10 UTC+3, oraganti adithya:

oraganti adithya

unread,
Oct 6, 2025, 2:11:31 AM (13 days ago) Oct 6
to Canvas LMS Users
Thank you
Reply all
Reply to author
Forward
0 new messages