Websoft9Archive / ansible-canvas

Automatic depoyment & installation for Canvas LMS on Linux
Other
1 stars 3 forks source link

Canvas(release/2021-05-26.23 ) on Ubuntu on AWS not run #8

Closed tqf6 closed 3 years ago

tqf6 commented 3 years ago

Describe the bug

A clear and concise description of what the bug is.

Deployment method

Bug source

System Environment

Application Version

e.g v4.5

OS

Cloud PlatForm

Bug reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Bug reports

Bug Context

Bug context includes bug error, error logs and service status, it is very important for resolving issue

# bug error
(paste here) 

# service status 
54.90.23.65 

# error logs
(paste here) 

Bug Screenshot

image

Your suggestion

The reason of Bug

You can describe the reason if you have found it

Your solution for Bug

You can describe your solution here

Additional context

You can add any other context about the problem here.

qiaofeng1227 commented 3 years ago

run yarn install by shell image

root@ip-172-31-47-157:/data/wwwroot/canvas# yarn install
yarn install v1.22.10
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "babel-plugin-dynamic-import-node@2.3.0" is incompatible with requested version "babel-plugin-dynamic-import-node@^2.3.3"
warning Resolution field "babel-plugin-dynamic-import-node@2.3.0" is incompatible with requested version "babel-plugin-dynamic-import-node@^2.3.3"
warning Resolution field "babel-plugin-dynamic-import-node@2.3.0" is incompatible with requested version "babel-plugin-dynamic-import-node@^2.3.3"
success Already up-to-date.
$ yarn dedupe-yarn; test -n "$DISABLE_POSTINSTALL" || (yarn build:packages && ./script/install_hooks && ./script/fix_inst_esm.js)
yarn run v1.22.10
$ npx --yes yarn-deduplicate

ERROR: You must supply a command.

Execute binaries from npm packages.

  npx [options] <command>[@version] [command-arg]...

  npx [options] [-p|--package <package>]... <command> [command-arg]...

  npx [options] -c '<command-string>'

  npx --shell-auto-fallback [shell]

Options:
  --package, -p          Package to be installed.                       [string]
  --cache                Location of the npm cache.                     [string]
  --always-spawn         Always spawn a child process to execute the command.
                                                                       [boolean]
  --no-install           Skip installation if a package is missing.    [boolean]
  --userconfig           Path to user npmrc.                            [string]
  --call, -c             Execute string as if inside `npm run-script`.  [string]
  --shell, -s            Shell to execute the command with, if any.
                                                       [string] [default: false]
  --shell-auto-fallback  Generate shell code to use npx as the "command not
                         found" fallback.
                                   [string] [choices: "", "bash", "fish", "zsh"]
  --ignore-existing      Ignores existing binaries in $PATH, or in the local
                         project. This forces npx to do a temporary install and
                         use the latest version.                       [boolean]
  --quiet, -q            Suppress output from npx itself. Subcommands will not
                         be affected.                                  [boolean]
  --npm                  npm binary to use for internal operations.
                                                              [string] [default:
          "/opt/nvm/versions/node/v14.17.0/lib/node_modules/npm/bin/npm-cli.js"]
  --node-arg, -n         Extra node argument when calling a node binary.[string]
  --version, -v          Show version number                           [boolean]
  --help, -h             Show help                                     [boolean]

For the full documentation, see the manual page for npx(1).
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.10
$ 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
@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/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/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/course-homepage has no build:canvas script, skipping missing
@canvas/courses 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 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/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-flag-admin-view has no build:canvas script, skipping missing
@canvas/feature-flags has no build:canvas script, skipping missing
qiaofeng1227 commented 3 years ago

shell module add param failed_when: False