After my colleague added to package.json "material-design-icons": "^3.0.1":
{
"name": "happy-marketer",
"version": "0.1.0",
"private": true,
"homepage": "https://happy-marketer.gms-ai.com/",
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@testing-library/user-event": "^7.2.1",
"lodash": "^4.17.15",
"material-design-icons": "^3.0.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-router-dom": "^5.1.2",
"react-scripts": "3.3.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
I tried to npm cache verify:
Cache verified and compressed (~/.npm/_cacache):
Content verified: 3017 (74101030 bytes)
Content garbage-collected: 167 (16073226 bytes)
Index entries: 4611
Finished in 119.14s
But npm install again return Segmentation fault.
Also I tried
npm cache clean --force
npm install --verbose:
npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '--verbose' ]
npm info using npm@6.13.4
npm info using node@v12.14.0
npm verb npm-session be7d50e65d2d8346
npm info lifecycle happy-marketer@0.1.0~preinstall: happy-marketer@0.1.0
npm timing stage:loadCurrentTree Completed in 21ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 2399ms
npm http fetch GET 200 https://registry.npmjs.org/material-design-icons 45ms (from cache)
Segmentation fault.] | fetchMetadata: http fetch GET 200 https://registry.npmjs.org/material-design-icons 45ms (from c
node --version:
v12.14.0
npm --version:
6.13.4
OS: Linux Gentoo i686 with all current updates. My make.conf:
COMMON_FLAGS="-O2 -march=athlon64 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
# Output from cpuid2cpuflags
CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
USE="-qt5 -dvdr -bluetooth alsa -pulseaudio minizip -closure-compile -cups -gnome-keyring -kerberos -proprietary-codecs icu system-icu inspector wayland gles"
# https://wiki.gentoo.org/wiki/Radeon
VIDEO_CARDS="radeon r600
net-libs/nodejs is installed with default build flags.
I have enough of RAM.
Also tried to close browser.
Also tried npm install through the tty.
Also tried to install after computer reboot.
Tried to remove package-lock.json
Tried to remove "material-design-icons": "^3.0.1" from package.json: now npm install works correctly.
Tried on another machine with Gentoo i686: also segmentation fault.
After my colleague added to package.json
"material-design-icons": "^3.0.1":I tried to
npm cache verify:But
npm installagain returnSegmentation fault.Also I tried
npm cache clean --forcenpm install --verbose:node --version:v12.14.0
npm --version:6.13.4
OS: Linux Gentoo i686 with all current updates. My
make.conf:net-libs/nodejsis installed with default build flags.I have enough of RAM.
Also tried to close browser.
Also tried
npm installthrough the tty.Also tried to install after computer reboot.
Tried to remove package-lock.json
Tried to remove
"material-design-icons": "^3.0.1"from package.json: nownpm installworks correctly.Tried on another machine with Gentoo i686: also segmentation fault.