C
C
crash082018-01-10 13:40:31
Ember.js
crash08, 2018-01-10 13:40:31

EmberJS Build Error. How to solve the problem?

[email protected]:~/super-rentals# ember build
WARNING: Node v9.3.0 has currently not been tested against Ember CLI and may result in unexpected behavior.
could not start watchman; falling back to NodeWatcher for file system events.
Visit ember-cli.com/user-guide/#watchman for more info.
⠹ Building{ Error: socket hang up
at TLSSocket.onConnectEnd (_tls_wrap.js:1079:19)
at Object.onceWrapper (events.js:254:19)
at TLSSocket.emit (events.js:164:20)
at endReadableNT ( _stream_readable.js:1062:12)
at process._tickCallback (internal/process/next_tick.js:152:19)
code: 'ECONNRESET',
path: null,
host: 'google-analytics.com',
port: 443,
localAddress: undefined }
Build failed.
File: ember-cli-mirage/utils/inflector.js
The Broccoli Plugin: [broccoli-persistent-filter:Babel] failed with:
SyntaxError: ember-cli-mirage/utils/inflector.js: Unexpected token (4:14)
export { singularize, pluralize } from 'ember-inflector';
export { Ember.String.capitalize as capitalize, Ember.String.camelize as camelize, Ember.String.dasherize as dasherize, Ember.String.underscore as underscore };
at Parser.pp.raise (/root/super-rentals/node_modules/babylon/lib/parser/location.js:24:13)
at Parser.pp.unexpected (/root/super-rentals/node_modules/babylon/lib/ parser/util.js:82:8)
at Parser.pp.expect (/root/super-rentals/node_modules/babylon/lib/parser/util.js:76:33)
at Parser.pp.parseExportSpecifiers (/root/super-rentals/node_modules/babylon/lib/ parser/statement.js:772:12)
at Parser.pp.parseExport (/root/super-rentals/node_modules/babylon/lib/parser/statement.js:701:28)
at Parser.parseExport (/root/super- rentals/node_modules/babylon/lib/plugins/flow.js:713:20)
at Parser.pp.parseStatement (/root/super-rentals/node_modules/babylon/lib/parser/statement.js:115:90)
at Parser .parseStatement (/root/super-rentals/node_modules/babylon/lib/plugins/flow.js:655:22)
at Parser.pp.parseTopLevel (/root/super-rentals/node_modules/babylon/lib/parser/statement. js:30:21)
at Parser.parse (/root/super-rentals/node_modules/babylon/lib/parser/index.js:70:17)
The broccoli plugin was instantiated at:
at Babel.Plugin (/root/super-rentals/node_modules/broccoli -plugin/index.js:7:31)
at Babel.Filter [as constructor] (/root/super-rentals/node_modules/broccoli-persistent-filter/index.js:64:10)
at new Babel (/root/ super-rentals/node_modules/broccoli-babel-transpiler/index.js:37:10)
at EmberApp._addonTree (/root/super-rentals/node_modules/ember-cli/lib/broccoli/ember-app.js:910: 29)
at EmberApp._processedVendorTree (/root/super-rentals/node_modules/ember-cli/lib/broccoli/ember-app.js:944:20)
at EmberApp._processedExternalTree (/root/super-rentals/node_modules/ember-cli/lib/broccoli/ember-app.js:975:21)
at EmberApp.appAndDependencies (/root/super-rentals/node_modules/ember-cli/ lib/broccoli/ember-app.js:1071:30)
at EmberApp.javascript (/root/super-rentals/node_modules/ember-cli/lib/broccoli/ember-app.js:1201:34)
at EmberApp.toArray (/root/super-rentals/node_modules/ember-cli/lib/broccoli/ember-app.js:1606:10)
at EmberApp.toTree (/root/super-rentals/node_modules/ember-cli/lib/broccoli/ ember-app.js:1628:30)

There was only one error: socket hang up , but the server started with it too.
Errors appeared after installing the ember-cli-tutorial-style and ember-cli-mirage add-ons.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Romanov, 2018-01-11
@Kaer_Morchen

Try updating ember-cli-babel to the latest version

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question