Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-59103

Upgrading to npm 5 without clearing node_modules can cause npm-shrinkwrap differences

XMLWordPrintable

    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • Hide

      Remove node_modules folder after upgrade

      (If already npm installed without doing this reset the shrinkwrap changes, rm -R node_modules and npm install again)

      Show
      Remove node_modules folder after upgrade (If already npm installed without doing this reset the shrinkwrap changes, rm -R node_modules and npm install again)

      As discovered by Jake in MDL-59094, if:

      1) Someone npm-install's on npm 4
      2) Then upgrade to npm 5
      3) Then run npm install again

      Then it causes a diff to npm-shrinkwrap.json. This shouldn't happen.

      It is probably being tracked by npm bug https://github.com/npm/npm/issues/16728

            Unassigned Unassigned
            poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.