Skip to content

update to 1.x build errors #1460

Closed
Closed
@luover

Description

@luover

Because the site has many doc books (11),and I think more than 1000 pages.

Everythis is well in 0.x , after update 1.x ,other things is ok, But when i run

npm run build

The Error:

<--- JS stacktrace --->
==== JS stack trace =========================================
    0: ExitFrame [pc: 0x7bd89c4fc5d]
Security context: 0x16416609d9b1 <JSObject>
    1: new RegExp(aka RegExp) [0x164166088119](this=0x0671ad502691 <the_hole>,0x050f190ac3d1 <String[176]: ^[a-zA-Z][\-\.0-9_a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*$>,0x0671ad5025b1 <undefined>)
    2: arguments adaptor frame: 1->2
    3: Cons...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x9590c0 node::Abort() [node]
 2: 0x959d66 node::OnFatalError(char const*, char const*) [node]
 3: 0xb39fae v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0xb3a1e4 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0xf39832  [node]
.........................
.........................
.........................

info

node -v : 11.7
npm -v : 6.5
os : ubantu 18.04.2 - x86-64
vuepress: 1.0.0-alpha.44 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions