I can't upgrade my laptop since " *node* exists in filesystem "

For some odd reason I can’t upgrade my laptop to the latest version of manjaro and I’m not entirely sure what I should do about it. Does any one of you know what I should do here?


:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (213) accountsservice-0.6.46-1  adapta-maia-theme-3.93.0.244-1  adwaita-icon-theme-3.28.0-1  alsa-lib-1.1.6-1	alsa-plugins-1.1.6-1  alsa-utils-1.1.6-1  apm-1.19.0-2	at-spi2-atk-2.26.2-1  at-spi2-core-2.28.0-1  atk-2.28.1-1  atom-1.25.1-1  avahi-0.7+4+gd8d8c67-1  babl-0.1.44-2  bluez-5.49-3  bluez-libs-5.49-3  boost-libs-1.66.0-2  brotli-1.0.3-1  btrfs-progs-4.16-1  cairo-1.15.12-1	colord-1.4.2-3	cpupower-4.16-1  cups-2.2.7-1  cups-filters-1.20.3-1  dconf-0.28.0-1  e2fsprogs-1.44.1-1  eclipse-common-4.7.3.a-1	eclipse-java-4.7.3.a-1	filezilla-3.32.0-1	flameshot-0.5.1-3  fontconfig-2.13.0+10+g58f5285-1	foomatic-db-engine-4:4.0.13-1  fribidi-1.0.2-1	fuse-common-3.2.2-2  gcc-7.3.1+20180312-2  gcc-go-7.3.1+20180312-2	gcc-libs-7.3.1+20180312-2  gcr-3.28.0-1  gdk-pixbuf2-2.36.12-1	ghostscript-9.23-1	girara-0.2.9-2	git-2.17.0-1  glib-networking-2.56.0-1	glib2-2.56.1-1	glibmm-2.56.0-1  gnome-backgrounds-3.28.0-1  gnome-keyring-1:3.28.0.2-1  gnome-themes-extra-3.28-1	gnome-themes-standard-3.22.3+16+gc092fc89-1 [removal]  gobject-introspection-runtime-1.56.0-1  grub-2.03.0-5  gsettings-desktop-schemas-3.28.0+1+g85521dc-1  gst-libav-1.14.0-1  gst-plugins-bad-1.14.0-2  gst-plugins-base-1.14.0-1  gst-plugins-base-libs-1.14.0-1  gst-plugins-good-1.14.0-1  gst-plugins-ugly-1.14.0-1	gstreamer-1.14.0-1	gtk-update-icon-cache-3.22.29+86+gd92df4ff2c-1	gtk3-3.22.29+86+gd92df4ff2c-1  gtksourceview3-3.24.7-1	gvfs-1.36.1-1  gvfs-afc-1.36.1-1  gvfs-gphoto2-1.36.1-1  gvfs-mtp-1.36.1-1	gvfs-smb-1.36.1-1  harfbuzz-1.7.6-2  harfbuzz-icu-1.7.6-2  hdparm-9.56-1  hexchat-2.14.1-2	htop-2.2.0-2  http-parser-2.8.1-1  icu-61.1-1  imagemagick-7.0.7.28-1  imlib2-1.5.1-1  inxi-3.0.00-1  iproute2-4.16.0-1  lib32-alsa-plugins-1.1.6-1  lib32-gcc-libs-7.3.1+20180312-2  lib32-glib2-2.56.0+7+g66948ae23-1  lib32-icu-61.1-1  lib32-libxml2-2.9.8-2  lib32-mesa-18.0.0-3  lib32-systemd-238.76-1  lib32-tdb-1.3.15-2  lib32-util-linux-2.32-1	libatomic_ops-7.6.4-1  libcdr-0.1.4-3  libcups-2.2.7-1	libe-book-0.1.3-2  libfbclient-2.5.7.27050-5  libgpg-error-1.29-1  libgtop-2.38.0+13+gcab8791f-1  libibus-1.5.17-1	libical-3.0.3-2  libinput-1.10.4-1	libmagick-7.0.7.28-1  libmagick6-6.9.9.40-1  libmariadbclient-10.1.32-1  libmm-glib-1.8rc2+1+g7e949283-1  libmspub-0.1.4-2	libmtp-1.1.15-1  libnghttp2-1.31.0-1  libnice-0.1.14+70+gfb2f1f7-1	libnm-1.10.6-3	libnm-glib-1.10.6-3  libsecret-0.18.6-1  libsoup-2.62.1-1  libsynctex-2017.44590-13  libusb-1.0.22-1  libutil-linux-2.32-3	libuv-1.20.0-1	libvirt-4.2.0-1  libvisio-0.1.6-3  libwacom-0.29-1	libxml2-2.9.8-2  lightdm-1:1.26.0-1  lightdm-gtk-greeter-1:2.0.5-1	links-2.15-1  linux-firmware-20180402.8c1e439-1  linux414-4.14.34-1  linux414-bbswitch-0.8-31  linux414-headers-4.14.34-1  linux414-virtualbox-guest-modules-5.2.8-11  linux414-virtualbox-host-modules-5.2.8-11  linux416-4.16.2-1  linux416-bbswitch-0.8-1  linux416-headers-4.16.2-1  linux416-virtualbox-guest-modules-5.2.8-1	linux416-virtualbox-host-modules-5.2.8-1  linux49-4.9.94-1	linux49-bbswitch-0.8-73  logrotate-3.14.0-1  lxterminal-0.3.1-2  m17n-lib-1.8.0-2  man-db-2.8.3-1  manjaro-i3-settings-20180415-2  manjaro-release-17.1.8-2  manjaro-settings-manager-0.5.4-11	manjaro-settings-manager-notifier-0.5.4-11	mariadb-10.1.32-1  mariadb-clients-10.1.32-1  mesa-18.0.0-3  mhwd-nvidia-1:390.48-1  mkinitcpio-busybox-1.28.3-1  modemmanager-1.8rc2+1+g7e949283-1  mono-5.10.1.16-1  mpg123-1.25.10-1  msgpack-c-2.1.5-2	nano-2.9.5-1  neon-0.30.2-3  networkmanager-1.10.6-3  networkmanager-openvpn-1.8.2-1  networkmanager-pptp-1.2.6-1  node-gyp-3.6.2-1  nodejs-9.11.1-1  noto-fonts-20180322-1  npm-5.8.0-2  openssh-7.7p1-1  openssl-1.1.0.h-1  openssl-1.0-1.0.2.o-1  pacman-mirrors-4.10.1-2  pango-1.42.1-1  pcre-8.42-1  pcsclite-1.8.23-2  perl-file-basedir-0.08-1	perl-http-message-6.16-1  perl-mailtools-2.20-1  perl-timedate-2.30-4  php-7.2.4-1	poppler-0.63.0-1  poppler-glib-0.63.0-1  poppler-qt5-0.63.0-1  procps-ng-3.3.14-0  pygobject-devel-3.28.2-1  pyqt5-common-5.10.1-2	python-gobject-3.28.2-1  python-pyqt5-5.10.1-2	python2-cryptography-2.2.2-1  python2-gobject-3.28.2-1	python2-httplib2-0.11.3-1  python2-lxml-4.2.1-1  qt5-base-5.10.1-7	qt5-location-5.10.1-2  qt5-webkit-5.212.0alpha2-14	raptor-2.0.15-8  re2-20180401-1  ruby-2.5.1-1  rust-1:1.25.0-1	s-nail-14.9.10-1  screenfetch-3.8.0.r107.g522c9c0-1  sdl2-2.0.8-8  sed-4.5-1  solid-5.44.0-2  sqlite-3.23.1-1  srt-1.3.0-1	talloc-2.1.13-1  termite-13-2  termite-terminfo-13-2  texlive-bin-2017.44590-13  twolame-0.3.13-8  tzdata-2018d-1  util-linux-2.32-3  vte-common-0.52.1-1  webkit2gtk-2.20.1-1	woff2-1.0.2-1  xf86-input-libinput-0.27.1-1  xf86-video-intel-1:2.99.917+823+gd9bf46e4-1  xorg-server-1.19.6+13+gd0d1a694f-2  xorg-server-common-1.19.6+13+gd0d1a694f-2  zenity-3.28.1-1  zsh-5.5-1  zstd-1.3.4-1

Total Installed Size:  3684,84 MiB
Net Upgrade Size:		 74,68 MiB

checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
npm: /usr/lib/node_modules/npm/lib/utils/stringify-package.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/changelog.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/node_modules/typedarray/.travis.yml exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/node_modules/typedarray/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/node_modules/typedarray/example/tarray.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/node_modules/typedarray/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/node_modules/typedarray/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/node_modules/typedarray/readme.markdown exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/node_modules/typedarray/test/server/undef_globals.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/node_modules/typedarray/test/tarray.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/concat-stream/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/.travis.yml exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/example.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/node_modules/stream-shift/.npmignore exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/node_modules/stream-shift/.travis.yml exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/node_modules/stream-shift/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/node_modules/stream-shift/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/node_modules/stream-shift/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/node_modules/stream-shift/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/node_modules/stream-shift/test.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/duplexify/test.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/end-of-stream/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/end-of-stream/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/end-of-stream/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/end-of-stream/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/flush-write-stream/.npmignore exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/flush-write-stream/.travis.yml exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/flush-write-stream/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/flush-write-stream/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/flush-write-stream/example.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/flush-write-stream/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/flush-write-stream/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/flush-write-stream/test.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/from2/.travis.yml exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/from2/LICENSE.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/from2/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/from2/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/from2/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/from2/test.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/parallel-transform/.npmignore exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/parallel-transform/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/parallel-transform/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/parallel-transform/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/parallel-transform/node_modules/cyclist/.npmignore exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/parallel-transform/node_modules/cyclist/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/parallel-transform/node_modules/cyclist/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/parallel-transform/node_modules/cyclist/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/parallel-transform/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pump/.travis.yml exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pump/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pump/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pump/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pump/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pump/test-browser.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pump/test-node.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pumpify/.travis.yml exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pumpify/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pumpify/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pumpify/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pumpify/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/pumpify/test.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/.npmignore exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/.travis.yml exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/collaborators.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/node_modules/stream-shift/.npmignore exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/node_modules/stream-shift/.travis.yml exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/node_modules/stream-shift/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/node_modules/stream-shift/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/node_modules/stream-shift/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/node_modules/stream-shift/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/node_modules/stream-shift/test.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/test.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/.npmignore exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/LICENSE.html exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/LICENSE.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/.npmignore exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/LICENCE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/Makefile exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/immutable.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/mutable.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/node_modules/xtend/test.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/through2/through2.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/mississippi/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/detect-newline/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/detect-newline/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/detect-newline/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/detect-newline/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/hosted-git-info/CHANGELOG.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/init-package-json/CHANGELOG.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/json-parse-better-errors/CHANGELOG.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/json-parse-better-errors/LICENSE.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/json-parse-better-errors/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/json-parse-better-errors/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/json-parse-better-errors/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/dotenv/appveyor.yml exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/y18n/CHANGELOG.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/locales/nn.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/code-point-at/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/code-point-at/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/code-point-at/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/code-point-at/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/is-fullwidth-code-point/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/is-fullwidth-code-point/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/is-fullwidth-code-point/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/is-fullwidth-code-point/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/strip-ansi/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/strip-ansi/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/strip-ansi/node_modules/ansi-regex/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/strip-ansi/node_modules/ansi-regex/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/strip-ansi/node_modules/ansi-regex/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/strip-ansi/node_modules/ansi-regex/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/strip-ansi/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/node_modules/p-try/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/node_modules/p-try/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/node_modules/p-try/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/node_modules/p-try/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/path-exists/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/path-exists/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/path-exists/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/node_modules/path-exists/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/node_modules/locate-path/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/find-up/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/y18n/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/y18n/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/y18n/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/y18n/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/yargs-parser/node_modules/camelcase/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/yargs-parser/node_modules/camelcase/license exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/yargs-parser/node_modules/camelcase/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/node_modules/yargs-parser/node_modules/camelcase/readme.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/mississippi/node_modules/pumpify/node_modules/pump/.travis.yml exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/mississippi/node_modules/pumpify/node_modules/pump/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/mississippi/node_modules/pumpify/node_modules/pump/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/mississippi/node_modules/pumpify/node_modules/pump/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/mississippi/node_modules/pumpify/node_modules/pump/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/mississippi/node_modules/pumpify/node_modules/pump/test-browser.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/mississippi/node_modules/pumpify/node_modules/pump/test-node.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/npm-registry-client/CHANGELOG.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/pacote/lib/with-tarball-stream.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/read-package-json/CHANGELOG.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/write-file-atomic/node_modules/signal-exit/CHANGELOG.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/write-file-atomic/node_modules/signal-exit/LICENSE.txt exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/write-file-atomic/node_modules/signal-exit/README.md exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/write-file-atomic/node_modules/signal-exit/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/write-file-atomic/node_modules/signal-exit/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/write-file-atomic/node_modules/signal-exit/signals.js exists in filesystem
npm: /usr/lib/node_modules/npm/test/tap/config-envReplace.js exists in filesystem
npm: /usr/lib/node_modules/npm/test/tap/install-save-consistent-newlines.js exists in filesystem
npm: /usr/lib/node_modules/npm/test/tap/version-consistent-newlines.js exists in filesystem
Errors occurred, no packages were upgraded.```

I’ll guess you’ve done a sudo npm install at some point, or you have a badly-packaged Node-based application from the AUR.

You are probably right! and I’ve done it many times in order to install linters just for an example.

pacman -Qo /usr/lib/node_modules/npm/lib/utils/stringify-package.js                          
error: No package owns /usr/lib/node_modules/npm/lib/utils/stringify-package.js

Which leads to " If this identifies a conflicting package you can decide to remove it with pacman -R. If no package is identified you can delete the file, e.g. rm /path/to/file (or move it to a backup location, e.g. mv /path/to/file /path/to/file.backup). "

But is the only solution really to remove all of the files which exists in the filesystem?
And in that case, is there an easy way to do so instead of doing manulla, file for file ? :wink:

No, but it’s the safest.

The next option is to use npm -g uninstall to remove the unmanaged files.

The “dangerous” way is to force-install the package which has the conflicting file. This is dangerous because you don’t know exactly what changes are going to be made to the system. (i.e. when pacman manages your package files the system is in a known state; by mixing package managers you’re putting the system into an unknown state)


Unmanaged files should go under /usr/local not /usr as that’s where the system package manager will install files.

[Edit , -g]

you mean npm uninstall <package-name> right?

Technically I mean sudo npm -g uninstall $PACKAGENAME but yes, I thought the implication was clear given the context. :wink:

[Edit , -g]

It was I just had to make sure :smiley:

I tried and failed :

 ~ sudo npm uninstall libnpx                                                                    
npm WARN saveError ENOENT: no such file or directory, open '/home/daniel/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/daniel/package.json'
npm WARN daniel No description
npm WARN daniel No repository field.
npm WARN daniel No README data
npm WARN daniel No license field.

up to date in 0.281s

What am I missing here? I also tried to uninstall mississippi without any luck.

Oh, -g for global…

yes ofc :smiley: how could I forget that, however I uninstalled test, missipi, libnpx and write-file-atomic but they still appear to causing problems


npm: /usr/lib/node_modules/npm/node_modules/mississippi/node_modules/pumpify/node_modules/pump/test-node.js exists in filesystem
.........
.........
.........
npm: /usr/lib/node_modules/npm/node_modules/write-file-atomic/node_modules/signal-exit/signals.js exists in filesystem

and so on

OK, so if neither npm nor pacman know about the files it’s time to go in and manually delete things.

I’m not completely familiar with how NodeJS modules are packaged, but I’d assume that all of the mississippi files would be under /usr/lib/node_modules/npm/node_modules/mississippi/ , so that directory should be removable without causing any issues.

That was my thought as well…
But I guess not

 node_modules ll                                                                                
total 68K
drwxr-xr-x  3 root root 4,0K Apr  4 15:06 ajv-keywords
drwxr-xr-x  8 root root 4,0K Jan  9 12:04 atom-package-manager
drwxr-xr-x  4 root root 4,0K Mar 21 22:06 babel-eslint
drwxr-xr-x  3 root root 4,0K Apr  4 16:09 create-react-app
drwxr-xr-x  4 root root 4,0K Apr  8 16:10 csslint
drwxr-xr-x  7 root root 4,0K Mar 29 14:37 eslint
drwxr-xr-x  6 root root 4,0K Apr  4 15:25 flow-bin
drwxr-xr-x  6 root root 4,0K Mar 22 21:11 gh-preview
drwxr-xr-x  5 root root 4,0K Apr  6 12:44 htmlhint
drwxr-xr-x  4 root root 4,0K Apr  8 14:47 js-beautify
drwxr-xr-x  8 root root 4,0K Mar 21 20:58 jsonlint
drwxr-xr-x  6 root root 4,0K Mar 21 09:39 neovim
drwxr-xr-x 12 root root 4,0K Mar 29 14:10 npm
drwxr-xr-x  2 root root 4,0K Mar 21 20:15 prettier
drwxr-xr-x  3 root root 4,0K Jan 21 15:05 semver
drwxr-xr-x  7 root root 4,0K Apr  4 15:07 serve
drwxr-xr-x  4 root root 4,0K Dec  4 14:40 udemy-dl

I don’t know which directory you’re looking in there (/usr/lib/node_modules/? /usr/lib/node_modules/npm/node_modules?), but keep in mind that some modules may have been installed via pacman.

2 Likes

it was the pacman installed modules there was the problem! Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by Bytemark