Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

--harmony_collections flag will need to be removed when apm supports node 0.12.x #357

Closed
@pusateri

Description

@pusateri

In the V8 javascript interpreter, the option --harmony_collections was removed because the functionality is no longer optional, it's always enabled beginning with V8 3.28.60 shown in this diff:

https://code.google.com/p/v8/source/diff?spec=svn22897&r=22897&format=side&path=/trunk/src/flag-definitions.h

This means that when trying to build APM with newer versions of node like 0.12.2 instead of the default version 0.10.3, apm fails when node is invoked with --harmony_collections.

This issue is a placeholder for when apm starts to support being built with node 0.12.x instead of 0.10.x.

diff --git a/bin/apm b/bin/apm
index 0d48da9..cf4d672 100755
--- a/bin/apm
+++ b/bin/apm
@@ -24,4 +24,4 @@ done

binDir=pwd -P
builtin cd "$initialCwd"
-"$binDir/$nodeBin" --harmony_collections "$binDir/../lib/cli.js" "$@"
+"$binDir/$nodeBin" "$binDir/../lib/cli.js" "$@"
[

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions