lolmaus / lolmaus/ember-dialogs
Build Error: Unknown plugin "transform-object-rest-spread"
- Dominant language
- JavaScript
- Stars
- 12
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
This addon looks great. I just installed it but unfortunately I am getting an error:
```
Build Error (Babel) in ember-dialogs/-private/macros/bind.js
Unknown plugin "transform-object-rest-spread" specified in "base" at 0, attempted to resolve relative to "ember-dialogs/-private/macros"
Stack Trace and Error Report: /tmp/error.dump.ea7fdc12fbe89ce78872d9d55b60dec9.log
```
/tmp/error.dump.ea7fdc12fbe89ce78872d9d55b60dec9.log
```
ENV Summary:
TIME: Tue May 15 2018 10:57:31 GMT+0000 (UTC)
TITLE: ember
ARGV:
- /usr/local/bin/node
- /usr/local/bin/ember
- server
- --port
- 4200
- --live-reload-port
- 49152
EXEC_PATH: /usr/local/bin/node
TMPDIR: /tmp
SHELL: /bin/bash
PATH:
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
PLATFORM: linux x64
FREEMEM: 338640896
TOTALMEM: 16695332864
UPTIME: 358335
LOADAVG: 0.93359375,1.333984375,1.0576171875
CPUS:
- Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 1617
- Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 1927
- Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 1662
- Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 1993
- Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 1436
- Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 2058
- Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 1276
- Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 1518
ENDIANNESS: LE
VERSIONS:
- ares: 1.10.1-DEV
- http_parser: 2.7.0
- icu: 58.2
- modules: 48
- node: 6.11.0
- openssl: 1.0.2k
- uv: 1.11.0
- v8: 5.1.281.102
- zlib: 1.2.11
ERROR Summary:
- broccoliBuilderErrorStack: ReferenceError: Unknown plugin "transform-object-rest-spread" specified in "base" at 0, attempted to resolve relative to "ember-dialogs/-private/macros"
at /data/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map (native)
at Function.normalisePlugins (/data/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/data/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
at OptionManager.init (/data/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
at File.initOptions (/data/node_modules/babel-core/lib/transformation/file/index.js:212:65)
at new File (/data/node_modules/babel-core/lib/transformation/file/index.js:135:24)
at Pipeline.transform (/data/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at Promise (/data/node_modules/broccoli-babel-transpiler/lib/parallel-api.js:123:26)
at initializePromise (/data/node_modules/rsvp/dist/rsvp.js:567:5)
at new Promise (/data/node_modules/rsvp/dist/rsvp.js:1039:33)
at Object.transformString (/data/node_modules/broccoli-babel-transpiler/lib/parallel-api.js:122:12)
at Babel.transform (/data/node_modules/broccoli-babel-transpiler/index.js:80:22)
at Babel.processString (/data/node_modules/broccoli-babel-transpiler/index.js:186:15)
at Promise.then.result.output (/data/node_modules/broccoli-persistent-filter/lib/strategies/persistent.js:41:23)
at initializePromise (/data/node_modules/rsvp/dist/rsvp.js:567:5)
at new Promise (/data/node_modules/rsvp/dist/rsvp.js:1039:33)
at /data/node_modules/broccoli-persistent-filter/lib/strategies/persistent.js:40:18
at tryCatch (/data/node_modules/rsvp/dist/rsvp.js:525:12)
at invokeCallback (/data/node_modules/rsvp/dist/rsvp.js:538:13)
at publish (/data/node_modules/rsvp/dist/rsvp.js:508:7)
at flush (/data/node_modules/rsvp/dist/rsvp.js:2415:5)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
- codeFrame: Unknown plugin "transform-object-rest-spread" specified in "base" at 0, attempted to resolve relative to "ember-dialogs/-private/macros"
- errorMessage: Build Canceled: Broccoli Builder ran into an error with `Babel` plugin. 💥
Unknown plugin "transform-object-rest-spread" specified in "base" at 0, attempted to resolve relative to "ember-dialogs/-private/macros"
- errorType: Build Error
- location:
- column: [undefined]
- file: ember-dialogs/-private/macros/bind.js
- line: [undefined]
- treeDir: /data/tmp/broccoli_persistent_filterbabel__babel_ember_dialogs-input_base_path-C4TMWMi6.tmp
- message: Build Canceled: Broccoli Builder ran into an error with `Babel` plugin. 💥
Unknown plugin "transform-object-rest-spread" specified in "base" at 0, attempted to resolve relative to "ember-dialogs/-private/macros"
- name: Error
- nodeAnnotation: Babel
- nodeName: Babel
- originalErrorMessage: Unknown plugin "transform-object-rest-spread" specified in "base" at 0, attempted to resolve relative to "ember-dialogs/-private/macros"
- stack: ReferenceError: Unknown plugin "transform-object-rest-spread" specified in "base" at 0, attempted to resolve relative to "ember-dialogs/-private/macros"
at /data/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map (native)
at Function.normalisePlugins (/data/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/data/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
at OptionManager.init (/data/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
at File.initOptions (/data/node_modules/babel-core/lib/transformation/file/index.js:212:65)
at new File (/data/node_modules/babel-core/lib/transformation/file/index.js:135:24)
at Pipeline.transform (/data/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at Promise (/data/node_modules/broccoli-babel-transpiler/lib/parallel-api.js:123:26)
at initializePromise (/data/node_modules/rsvp/dist/rsvp.js:567:5)
at new Promise (/data/node_modules/rsvp/dist/rsvp.js:1039:33)
at Object.transformString (/data/node_modules/broccoli-babel-transpiler/lib/parallel-api.js:122:12)
at Babel.transform (/data/node_modules/broccoli-babel-transpiler/index.js:80:22)
at Babel.processString (/data/node_modules/broccoli-babel-transpiler/index.js:186:15)
at Promise.then.result.output (/data/node_modules/broccoli-persistent-filter/lib/strategies/persistent.js:41:23)
at initializePromise (/data/node_modules/rsvp/dist/rsvp.js:567:5)
at new Promise (/data/node_modules/rsvp/dist/rsvp.js:1039:33)
at /data/node_modules/broccoli-persistent-filter/lib/strategies/persistent.js:40:18
at tryCatch (/data/node_modules/rsvp/dist/rsvp.js:525:12)
at invokeCallback (/data/node_modules/rsvp/dist/rsvp.js:538:13)
at publish (/data/node_modules/rsvp/dist/rsvp.js:508:7)
at flush (/data/node_modules/rsvp/dist/rsvp.js:2415:5)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
```
package.json
```
{
"name": "###",
"version": "0.0.0",
"description": "###",
"license": "MIT",
"author": "",
"directories": {
"doc": "doc",
"test": "tests"
},
"repository": "",
"engines": {
"node": "^4.5 || 6.* || >= 7.*"
},
"private": true,
"scripts": {
"build": "ember build",
"lint:js": "eslint ./*.js app config lib server tests",
"start": "ember serve",
"test": "ember test"
},
"devDependencies": {
"broccoli-asset-rev": "^2.4.5",
"ember-ajax": "^3.0.0",
"ember-chrome-devtools": "^0.2.0",
"ember-cli": "3.0.0",
"ember-cli-app-version": "^3.0.0",
"ember-cli-babel": "6.6.0",
"ember-cli-dependency-checker": "2.0.0",
"ember-cli-eslint": "4.2.0",
"ember-cli-htmlbars": "2.0.1",
"ember-cli-htmlbars-inline-precompile": "1.0.0",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-mirage": "^0.4.0",
"ember-cli-moment-shim": "^3.5.0",
"ember-cli-notifications": "4.2.1",
"ember-cli-qunit": "4.1.0",
"ember-cli-shims": "1.2.0",
"ember-cli-sri": "^2.1.0",
"ember-cli-toggle": "3.0.0",
"ember-cli-tutorial-style": "^1.0.1",
"ember-cli-uglify": "2.0.0",
"ember-composable-helpers": "^2.0.3",
"ember-concurrency": "git+https://github.com/machty/ember-concurrency.git#0.8.12",
"ember-cp-validations": "3.5.1",
"ember-data": "3.0.1",
"ember-data-change-tracker": "^0.7.4",
"ember-dialogs": "^1.1.0",
"ember-export-application-global": "^2.0.0",
"ember-google-charts": "1.5.3",
"ember-i18n-iso-countries": "^1.4.0",
"ember-initials": "^3.4.0",
"ember-intl": "2.31.1",
"ember-intl-cp-validations": "2.3.01",
"ember-load-initializers": "^1.0.0",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-moment": "^7.5.0",
"ember-pikaday": "2.2.2",
"ember-power-select": "^1.10.4",
"ember-resolver": "^4.0.0",
"ember-route-action-helper": "^2.0.6",
"ember-sortable": "^1.10.0",
"ember-source": "3.0.0",
"ember-truth-helpers": "^2.0.0",
"ember-uploader": "1.2.3",
"ember-world-flags": "^1.0.0",
"eslint-plugin-ember": "5.0.0",
"loader.js": "4.2.3",
"semantic-ui-ember": "2.0.1"
}
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with package.json and the failing ember-dialogs/-private/macros/bind.js path, then run the reported ember build command to reproduce the Babel error. Done means the addon builds without the unknown transform-object-rest-spread plugin error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100