mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #1747] Centos 7 Installation Issue #555
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#555
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pizu on GitHub (Jul 20, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1747
[root@tst01nettools01 hoppscotch]# npm i
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated apollo-tracing@0.15.0: The
apollo-tracingpackage is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for detailsnpm WARN deprecated graphql-extensions@0.15.0: The
graphql-extensionsAPI has been removed from Apollo Server 3. Use the plugin API instead: https://www.apollographql.com/docs/apollo-server/integrations/plugins/npm WARN deprecated apollo-cache-control@0.14.0: The functionality provided by the
apollo-cache-controlpackage is built in toapollo-server-corestarting with Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#cachecontrol for details.npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated @types/browserslist@4.15.0: This is a stub types definition. browserslist provides its own type definitions, so you do not need this installed.
npm WARN deprecated @types/anymatch@3.0.0: This is a stub types definition. anymatch provides its own type definitions, so you do not need this installed.
[ ............] | fetchMetadata: sill mapToRegistry uri https://registry.npmjs.org/@typescript-eslint%2feslint-plugin
<--- Last few GCs --->
310189 ms: Mark-sweep 1078.3 (1440.1) -> 1084.9 (1438.1) MB, 1078.0 / 0.0 ms [allocation failure] [GC in old space requested].
311205 ms: Mark-sweep 1084.9 (1438.1) -> 1084.2 (1438.1) MB, 1015.6 / 0.0 ms [allocation failure] [GC in old space requested].
312316 ms: Mark-sweep 1084.2 (1438.1) -> 1103.6 (1399.1) MB, 1110.9 / 0.0 ms [last resort gc].
313409 ms: Mark-sweep 1103.6 (1399.1) -> 1103.5 (1369.1) MB, 1092.9 / 0.0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x1838c1dcf781
1: fromString(aka fromString) [buffer.js:~186] [pc=0x350326266619] (this=0x1838c1d04381 ,string=0x26ab05bf17e1 <Very long string[40902274]>,encoding=0x1838c1ddd149 <String[4]: utf8>)
2: from [buffer.js:~91] [pc=0x35031e23e7d6] (this=0x136021291211 <JS Function Buffer (SharedFunctionInfo 0x136021204ef9)>,value=0x26ab05bf17e1 <Very long string[40902274]>,encodingOrOffset=0x1838...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [npm]
2: 0x710fec [npm]
3: v8::Utils::ReportApiFailure(char const*, char const*) [npm]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [npm]
5: v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [npm]
6: v8::internal::String::SlowFlatten(v8::internal::Handlev8::internal::ConsString, v8::internal::PretenureFlag) [npm]
7: v8::internal::String::Flatten(v8::internal::Handlev8::internal::String, v8::internal::PretenureFlag) [npm]
8: v8::String::WriteUtf8(char*, int, int*, int) const [npm]
9: node::StringBytes::Write(v8::Isolate*, char*, unsigned long, v8::Localv8::Value, node::encoding, int*) [npm]
10: node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding) [npm]
11: node::Buffer::CreateFromString(v8::FunctionCallbackInfov8::Value const&) [npm]
12: 0x35032625bdb8
Aborted
[root@tst01nettools01 hoppscotch]#
@liyasthomas commented on GitHub (Jul 20, 2021):
Can you provide a screenshot?
@pizu commented on GitHub (Jul 20, 2021):
@liyasthomas commented on GitHub (Jul 20, 2021):
Thank you, we'll look into it.
@pizu commented on GitHub (Jul 20, 2021):
Thanks
@AndrewBastin commented on GitHub (Jul 20, 2021):
I have seen this happen in some old Node versions, can you try running this command before running
npm i?If this fixes your issue, then you might want to consider updating your installed Node.js version to something a bit more recent.