I have ghost installed with nginx point it to a subdirectory goeasysmile.com/blog/
After git clone on /ghost/content/themes. I ran npm install in src but get this error:
Do I need to use docker? If so how do I tell it to point at the right subdirectory
alex@ubuntu-s-1vcpu-1gb-sgp1-01:/var/www/ghost/content/themes/liebling/src$ npm install
loadDep:yargs β addNamed β β’βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
<--- Last few GCs --->
[5046:0x563060a65180] 145382 ms: Scavenge 133.9 (167.2) -> 119.3 (167.7) MB, 7.4 / 0.0 ms allocation failure
[5046:0x563060a65180] 145544 ms: Scavenge 135.5 (168.7) -> 120.8 (169.7) MB, 4.8 / 0.0 ms allocation failure
[5046:0x563060a65180] 146064 ms: Mark-sweep 142.6 (176.1) -> 118.9 (171.5) MB, 69.7 / 14.7 ms (+ 273.7 ms in 252 steps since start of marking, biggest step 11.9 ms, walltime since start of marking 418 ms) finalize incremental marking via task GC in old
<--- JS stacktrace --->
Cannot get stack trace in GC.
FATAL ERROR: NewSpace::Rebalance Allocation failed - process out of memory
1: node::Abort() [npm]
2: 0x56305e3bb011 [npm]
3: v8::Utils::ReportOOMFailure(char const*, bool) [npm]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [npm]
5: v8::internal::MarkCompactCollector::Evacuate() [npm]
6: v8::internal::MarkCompactCollector::CollectGarbage() [npm]
7: v8::internal::Heap::MarkCompact() [npm]
8: v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [npm]
9: v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [npm]
10: v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [npm]
11: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqTwoByteString, unsigned short>(v8::internal::Handle<v8::internal::String>, int, int) [npm]
12: v8::internal::JsonParser<false>::ParseJsonValue() [npm]
13: v8::internal::JsonParser<false>::ParseJsonObject() [npm]
14: v8::internal::JsonParser<false>::ParseJsonObject() [npm]
15: v8::internal::JsonParser<false>::ParseJsonObject() [npm]
16: v8::internal::JsonParser<false>::ParseJson() [npm]
17: 0x56305dd6deec [npm]
18: 0x2e264b4996dd
Aborted (core dumped)