Brain.js: Cant Install in POPos

Created on 8 Mar 2021  Â·  2Comments  Â·  Source: BrainJS/brain.js

Issue

Well this is the first time occur when I tried to simply install with npm install brain.js

prebuild
prebuild2

Then I read the documentation again sudo apt-get install -y build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config

but it shows me this error

npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 1
npm ERR! path /home/xerxes/Desktop/nodejs/test/node_modules/gl
npm ERR! command failed
npm ERR! command sh -c prebuild-install || node-gyp rebuild
npm ERR! make: Entering directory '/home/xerxes/Desktop/nodejs/test/node_modules/gl/build'
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/Float16ToFloat32.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/MemoryBuffer.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/angleutils.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/debug.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/mathutil.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/string_utils.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/tls.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/utilities.o
npm ERR!   AR(target) Release/obj.target/angle/src/angle_common.a
npm ERR!   COPY Release/angle_common.a
npm ERR!   COPY Release/obj/gen/angle/id/commit.h
npm ERR!   TOUCH Release/obj.target/angle/src/commit_id.stamp
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/common/event_tracer.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/AttributeMap.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Buffer.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Caps.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Compiler.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Config.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Context.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Data.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Debug.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Device.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Display.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Error.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Fence.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Framebuffer.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/FramebufferAttachment.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/HandleAllocator.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Image.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/ImageIndex.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/IndexRangeCache.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Platform.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Program.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Query.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Renderbuffer.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/ResourceManager.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Sampler.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Shader.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/State.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Stream.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Surface.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Texture.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/TransformFeedback.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Uniform.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/VertexArray.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/VertexAttribute.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/angletypes.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/formatutils.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/queryconversions.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/DeviceImpl.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/DisplayImpl.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/Renderer.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/SurfaceImpl.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationEGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES2.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES3.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/third_party/murmurhash/MurmurHash3.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/BlitGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/BufferGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/CompilerGL.o
npm ERR! make: Leaving directory '/home/xerxes/Desktop/nodejs/test/node_modules/gl/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.8.6 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/home/xerxes/Desktop/nodejs/test/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/xerxes/Desktop/nodejs/test/node_modules/gl/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/xerxes/Desktop/nodejs/test/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/xerxes/.cache/node-gyp/12.18.2/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/xerxes/.cache/node-gyp/12.18.2',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/xerxes/Desktop/nodejs/test/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/xerxes/.cache/node-gyp/12.18.2/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/xerxes/Desktop/nodejs/test/node_modules/gl',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../angle/src/libANGLE/formatutils.cpp: In function ‘gl::VertexFormatType gl::GetVertexFormatType(GLenum, GLboolean, GLuint, bool)’:
npm ERR! ../angle/src/libANGLE/formatutils.cpp:821:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   821 |             switch (components)
npm ERR!       |             ^~~~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:851:9: note: here
npm ERR!   851 |         case GL_UNSIGNED_BYTE:
npm ERR!       |         ^~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:852:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   852 |             switch (components)
npm ERR!       |             ^~~~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:882:9: note: here
npm ERR!   882 |         case GL_SHORT:
npm ERR!       |         ^~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:883:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   883 |             switch (components)
npm ERR!       |             ^~~~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:913:9: note: here
npm ERR!   913 |         case GL_UNSIGNED_SHORT:
npm ERR!       |         ^~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:914:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   914 |             switch (components)
npm ERR!       |             ^~~~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:944:9: note: here
npm ERR!   944 |         case GL_INT:
npm ERR!       |         ^~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:945:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   945 |             switch (components)
npm ERR!       |             ^~~~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:975:9: note: here
npm ERR!   975 |         case GL_UNSIGNED_INT:
npm ERR!       |         ^~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:976:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   976 |             switch (components)
npm ERR!       |             ^~~~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:1006:9: note: here
npm ERR!  1006 |         case GL_FLOAT:
npm ERR!       |         ^~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:1007:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!  1007 |             switch (components)
npm ERR!       |             ^~~~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:1021:9: note: here
npm ERR!  1021 |         case GL_HALF_FLOAT:
npm ERR!       |         ^~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:1022:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!  1022 |             switch (components)
npm ERR!       |             ^~~~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:1036:9: note: here
npm ERR!  1036 |         case GL_FIXED:
npm ERR!       |         ^~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:1037:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!  1037 |             switch (components)
npm ERR!       |             ^~~~~~
npm ERR! ../angle/src/libANGLE/formatutils.cpp:1051:9: note: here
npm ERR!  1051 |         case GL_INT_2_10_10_10_REV:
npm ERR!       |         ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp: In function ‘void MurmurHash3_x86_32(const void*, int, uint32_t, void*)’:
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:134:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   134 |   case 3: k1 ^= tail[2] << 16;
npm ERR!       |           ~~~^~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:135:3: note: here
npm ERR!   135 |   case 2: k1 ^= tail[1] << 8;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:135:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   135 |   case 2: k1 ^= tail[1] << 8;
npm ERR!       |           ~~~^~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:136:3: note: here
npm ERR!   136 |   case 1: k1 ^= tail[0];
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp: In function ‘void MurmurHash3_x86_128(const void*, int, uint32_t, void*)’:
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:209:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   209 |   case 15: k4 ^= tail[14] << 16;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:210:3: note: here
npm ERR!   210 |   case 14: k4 ^= tail[13] << 8;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:210:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   210 |   case 14: k4 ^= tail[13] << 8;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:211:3: note: here
npm ERR!   211 |   case 13: k4 ^= tail[12] << 0;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:212:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   212 |            k4 *= c4; k4  = ROTL32(k4,18); k4 *= c1; h4 ^= k4;
npm ERR!       |                                                     ~~~^~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:214:3: note: here
npm ERR!   214 |   case 12: k3 ^= tail[11] << 24;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:214:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   214 |   case 12: k3 ^= tail[11] << 24;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:215:3: note: here
npm ERR!   215 |   case 11: k3 ^= tail[10] << 16;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:215:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   215 |   case 11: k3 ^= tail[10] << 16;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:216:3: note: here
npm ERR!   216 |   case 10: k3 ^= tail[ 9] << 8;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:216:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   216 |   case 10: k3 ^= tail[ 9] << 8;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:217:3: note: here
npm ERR!   217 |   case  9: k3 ^= tail[ 8] << 0;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:218:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   218 |            k3 *= c3; k3  = ROTL32(k3,17); k3 *= c4; h3 ^= k3;
npm ERR!       |                                                     ~~~^~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:220:3: note: here
npm ERR!   220 |   case  8: k2 ^= tail[ 7] << 24;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:220:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   220 |   case  8: k2 ^= tail[ 7] << 24;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:221:3: note: here
npm ERR!   221 |   case  7: k2 ^= tail[ 6] << 16;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:221:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   221 |   case  7: k2 ^= tail[ 6] << 16;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:222:3: note: here
npm ERR!   222 |   case  6: k2 ^= tail[ 5] << 8;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:222:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   222 |   case  6: k2 ^= tail[ 5] << 8;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:223:3: note: here
npm ERR!   223 |   case  5: k2 ^= tail[ 4] << 0;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:224:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   224 |            k2 *= c2; k2  = ROTL32(k2,16); k2 *= c3; h2 ^= k2;
npm ERR!       |                                                     ~~~^~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:226:3: note: here
npm ERR!   226 |   case  4: k1 ^= tail[ 3] << 24;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:226:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   226 |   case  4: k1 ^= tail[ 3] << 24;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:227:3: note: here
npm ERR!   227 |   case  3: k1 ^= tail[ 2] << 16;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:227:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   227 |   case  3: k1 ^= tail[ 2] << 16;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:228:3: note: here
npm ERR!   228 |   case  2: k1 ^= tail[ 1] << 8;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:228:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   228 |   case  2: k1 ^= tail[ 1] << 8;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:229:3: note: here
npm ERR!   229 |   case  1: k1 ^= tail[ 0] << 0;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp: In function ‘void MurmurHash3_x64_128(const void*, int, uint32_t, void*)’:
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:298:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   298 |   case 15: k2 ^= ((uint64_t)tail[14]) << 48;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:299:3: note: here
npm ERR!   299 |   case 14: k2 ^= ((uint64_t)tail[13]) << 40;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:299:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   299 |   case 14: k2 ^= ((uint64_t)tail[13]) << 40;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:300:3: note: here
npm ERR!   300 |   case 13: k2 ^= ((uint64_t)tail[12]) << 32;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:300:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   300 |   case 13: k2 ^= ((uint64_t)tail[12]) << 32;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:301:3: note: here
npm ERR!   301 |   case 12: k2 ^= ((uint64_t)tail[11]) << 24;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:301:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   301 |   case 12: k2 ^= ((uint64_t)tail[11]) << 24;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:302:3: note: here
npm ERR!   302 |   case 11: k2 ^= ((uint64_t)tail[10]) << 16;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:302:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   302 |   case 11: k2 ^= ((uint64_t)tail[10]) << 16;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:303:3: note: here
npm ERR!   303 |   case 10: k2 ^= ((uint64_t)tail[ 9]) << 8;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:303:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   303 |   case 10: k2 ^= ((uint64_t)tail[ 9]) << 8;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:304:3: note: here
npm ERR!   304 |   case  9: k2 ^= ((uint64_t)tail[ 8]) << 0;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:305:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   305 |            k2 *= c2; k2  = ROTL64(k2,33); k2 *= c1; h2 ^= k2;
npm ERR!       |                                                     ~~~^~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:307:3: note: here
npm ERR!   307 |   case  8: k1 ^= ((uint64_t)tail[ 7]) << 56;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:307:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   307 |   case  8: k1 ^= ((uint64_t)tail[ 7]) << 56;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:308:3: note: here
npm ERR!   308 |   case  7: k1 ^= ((uint64_t)tail[ 6]) << 48;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:308:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   308 |   case  7: k1 ^= ((uint64_t)tail[ 6]) << 48;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:309:3: note: here
npm ERR!   309 |   case  6: k1 ^= ((uint64_t)tail[ 5]) << 40;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:309:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   309 |   case  6: k1 ^= ((uint64_t)tail[ 5]) << 40;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:310:3: note: here
npm ERR!   310 |   case  5: k1 ^= ((uint64_t)tail[ 4]) << 32;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:310:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   310 |   case  5: k1 ^= ((uint64_t)tail[ 4]) << 32;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:311:3: note: here
npm ERR!   311 |   case  4: k1 ^= ((uint64_t)tail[ 3]) << 24;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:311:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   311 |   case  4: k1 ^= ((uint64_t)tail[ 3]) << 24;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:312:3: note: here
npm ERR!   312 |   case  3: k1 ^= ((uint64_t)tail[ 2]) << 16;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:312:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   312 |   case  3: k1 ^= ((uint64_t)tail[ 2]) << 16;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:313:3: note: here
npm ERR!   313 |   case  2: k1 ^= ((uint64_t)tail[ 1]) << 8;
npm ERR!       |   ^~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:313:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR!   313 |   case  2: k1 ^= ((uint64_t)tail[ 1]) << 8;
npm ERR!       |            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:314:3: note: here
npm ERR!   314 |   case  1: k1 ^= ((uint64_t)tail[ 0]) << 0;
npm ERR!       |   ^~~~
npm ERR! In file included from ../angle/src/libANGLE/renderer/gl/CompilerGL.h:12,
npm ERR!                  from ../angle/src/libANGLE/renderer/gl/CompilerGL.cpp:10:
npm ERR! ../angle/src/libANGLE/renderer/CompilerImpl.h:11:10: fatal error: GLSLANG/ShaderLang.h: No such file or directory
npm ERR! compilation terminated.
npm ERR! make: *** [angle/src/libANGLE.target.mk:237: Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/CompilerGL.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/xerxes/Desktop/nodejs/test/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
npm ERR! gyp ERR! System Linux 5.8.0-7642-generic
npm ERR! gyp ERR! command "/usr/bin/node" "/home/xerxes/Desktop/nodejs/test/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/xerxes/Desktop/nodejs/test/node_modules/gl
npm ERR! gyp ERR! node -v v12.18.2
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/xerxes/.npm/_logs/2021-03-08T21_53_12_724Z-debug.log

Just tell me how can I fix this?

My Gpu Information

  *-display                 
       description: VGA compatible controller
       product: Haswell-ULT Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0b
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:49 memory:c2000000-c23fffff memory:b0000000-bfffffff ioport:6000(size=64) memory:c0000-dffff
  *-display
       description: Display controller
       product: Sun LE [Radeon HD 8550M / R5 M230]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:0a:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:50 memory:a0000000-afffffff memory:c2400000-c243ffff ioport:3000(size=256) memory:c2440000-c245ffff

bug

All 2 comments

Same issue here with Ubuntu.

i have some problem with POP OS

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arjunmenon picture arjunmenon  Â·  19Comments

vacekj picture vacekj  Â·  22Comments

equan4647 picture equan4647  Â·  17Comments

massaroni picture massaroni  Â·  12Comments

robertleeplummerjr picture robertleeplummerjr  Â·  17Comments