Skip to content

Java script error occured in Ubuntu 16.04 LTS. #1

@TomokoY

Description

@TomokoY

Hello.
I tryed to run iroha-demo-javascript on Ubuntu 16.04 LTS, but I can't.
1)npm install
2)npm run dev
--->Firebox startup and display white page.
Java Script error occured.

SyntaxError: import declarations may only appear at top level of a module  app.js:3
	<anonymous> http://localhost:8080/app.js:618:2
	__webpack_require__ http://localhost:8080/app.js:556:12
	hotCreateRequire/fn http://localhost:8080/app.js:87:20
	<anonymous> http://localhost:8080/app.js:587:19
	__webpack_require__ http://localhost:8080/app.js:556:12
	<anonymous> http://localhost:8080/app.js:579:18
	<anonymous> http://localhost:8080/app.js:1:11

Please tell me, What is wrong.

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