-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Closed
Labels
armIssues and PRs related to the ARM platform.Issues and PRs related to the ARM platform.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Description
Hi, I have reported an error on the babel issue tracker at https://phabricator.babeljs.io/T7457
but it might also be, that this is an issue on node v4?
The issue described does ONLY occur an the arm64 architecture (I am also using the linoaro dev cluster).
In a short:
running:
mkdir -p /tmp/babel-test
cd /tmp/babel-test
npm install babel-cli babel-preset-es2015 --save-dev
./node_modules/.bin/babel ./node_modules/babel-polyfill/dist/polyfill.js -d lib --presets es2015 --no-babelrc
will return
[BABEL] Note: The code generator has deoptimised the styling of "./node_modules/babel-polyfill/dist/polyfill.js" as it exceeds the max of "100KB". TypeError: ./node_modules/babel-polyfill/dist/polyfill.js: Cannot read property 'compact' of undefined at Function.space (/tmp/babel-test/node_modules/babel-generator/lib/buffer.js:139:20) at Function.ObjectExpression (/tmp/babel-test/node_modules/babel-generator/lib/generators/types.js:62:10) at /tmp/babel-test/node_modules/babel-generator/lib/printer.js:113:24 at Generator.withSource (/tmp/babel-test/node_modules/babel-generator/lib/buffer.js:293:39) at Generator.print (/tmp/babel-test/node_modules/babel-generator/lib/printer.js:112:10) at Generator.printJoin (/tmp/babel-test/node_modules/babel-generator/lib/printer.js:197:12) at Generator.printList (/tmp/babel-test/node_modules/babel-generator/lib/printer.js:261:17) at Generator.CallExpression (/tmp/babel-test/node_modules/babel-generator/lib/generators/expressions.js:144:8) at /tmp/babel-test/node_modules/babel-generator/lib/printer.js:113:24 at Generator.withSource (/tmp/babel-test/node_modules/babel-generator/lib/buffer.js:293:39)
If I use node v6.2.2 arm64 and run the same command, the result is:
[BABEL] Note: The code generator has deoptimised the styling of "./node_modules/babel-polyfill/dist/polyfill.js" as it exceeds the max of "100KB". ./node_modules/babel-polyfill/dist/polyfill.js -> lib/node_modules/babel-polyfill/dist/polyfill.js
Seems to be a kind of memory leak ?
Metadata
Metadata
Assignees
Labels
armIssues and PRs related to the ARM platform.Issues and PRs related to the ARM platform.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.