Skip to content
This repository has been archived by the owner on Nov 12, 2018. It is now read-only.

build error #691

Open
yangliuan opened this issue Nov 8, 2018 · 0 comments
Open

build error #691

yangliuan opened this issue Nov 8, 2018 · 0 comments

Comments

@yangliuan
Copy link

os ubuntu 16.04 node9.4
cnpm run build:linux

[email protected] build:linux /opt/wechat
./scripts/build.sh linux x64

Start packaging for linux x64.
Packaging app for platform linux x64 using electron v1.4.15

<--- Last few GCs --->

[3867:0x2917a60] 2053131 ms: Mark-sweep 1716.8 (2201.8) -> 1716.8 (2150.8) MB, 2538.2 / 5.6 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 2744 ms) last resort GC in old space requested
[3867:0x2917a60] 2055524 ms: Mark-sweep 1716.8 (2150.8) -> 1716.8 (2133.3) MB, 2392.9 / 5.6 ms last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x3062d7f25501
1: 0x2d1c9153de39 <Symbol: Symbol.match>(aka [Symbol.match])(this=0x82cf81fcdd1 <JSRegExp <String[58]: dist|scripts|.idea|..md|..yml|node_modules/nodejieba>>,0x82cf81fcda9 <String[197]: /node_modules/_es6-map@0.1.5@es6-map/node_modules/es5-ext/node_modules/es6-symbol/node_modules/es5-ext/node_modules/es6-iterator/node_modules/es6-symbol/node_modules/es5-ext/test/array/#/@@iterator>)
...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [node]
2: 0x11f155c [node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
5: v8::internal::Factory::NewCode(v8::internal::CodeDesc const&, unsigned int, v8::internal::Handlev8::internal::Object, bool, int) [node]
6: v8::internal::CodeGenerator::MakeCodeEpilogue(v8::internal::TurboAssembler*, v8::internal::EhFrameWriter*, v8::internal::CompilationInfo*, v8::internal::Handlev8::internal::Object) [node]
7: v8::internal::compiler::CodeGenerator::FinalizeCode() [node]
8: v8::internal::compiler::PipelineImpl::FinalizeCode() [node]
9: v8::internal::compiler::PipelineCompilationJob::FinalizeJobImpl() [node]
10: v8::internal::Compiler::FinalizeCompilationJob(v8::internal::CompilationJob*) [node]
11: v8::internal::OptimizingCompileDispatcher::InstallOptimizedFunctions() [node]
12: v8::internal::StackGuard::HandleInterrupts() [node]
13: v8::internal::NativeRegExpMacroAssembler::CheckStackGuardState(v8::internal::Isolate*, int, bool, unsigned char**, v8::internal::Code*, v8::internal::String**, unsigned char const**, unsigned char const**) [node]
14: v8::internal::RegExpMacroAssemblerX64::CheckStackGuardState(unsigned char**, v8::internal::Code*, unsigned char*) [node]
15: 0x9ad0841916
./scripts/build.sh: line 30: 3867 Aborted (core dumped) electron-packager . "${APP_NAME}" --platform=$PLATFORM --arch=$ARCH --electronVersion=1.4.15 --app-version=1.4.0 --asar --icon=assets/icon.icns --overwrite --out=./dist --ignore=${ignore_list}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant