Jump to content

Topic on Extension talk:LinkedWiki

Warnings when running 'yarn install --production=true'

4
Jukeboksi (talkcontribs)

Using

  • Debian GNU/Linux 9.5
  • Mediawiki 1.31.0
  • LinkedWiki 3.1.1
  • https://nodejs.org/en/10.7.0
  • yarn 1.7.0
  • Composer version 1.6.5 2018-05-04 11:44:59
$ yarn install --production=true
yarn install v1.7.0
info No lockfile found.
[1/4] Resolving packages...
⠁ (node:18055) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
warning grunt > coffee-script@1.10.0: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
warning grunt-jsonlint > jsonlint > nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > bootstrap@4.1.2" has unmet peer dependency "jquery@1.9.1 - 3".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 1.35s.

----

How to resolve these warnings? Will the LinkedWiki work or be broken if these warnings are not resolved?

Karima Rafes (talkcontribs)

Only the special page "SPARQL editor" works with boostrap. It is "experimental". It works correctly with Chrome but I didn't test with other navigators :-/ I will try to resolve these problems at the next update of the special page.

Jukeboksi (talkcontribs)

I did the following:

yarn add jquery # dependency of bootstrap
yarn add popper.js # dependency of bootstrap
yarn add bootstrap@4.1.2
yarn install --production=true

Should the SPARQL editor work now?

Karima Rafes (talkcontribs)

I didn't test with these version. (JQuery is already in Mediawiki) Say me if you see a bug.

Reply to "Warnings when running 'yarn install --production=true'"