Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

dynamic import - Syntax Error: Unexpected token (125:38) #2732

Closed
davidnguyen11 opened this issue Aug 9, 2017 · 3 comments
Closed

dynamic import - Syntax Error: Unexpected token (125:38) #2732

davidnguyen11 opened this issue Aug 9, 2017 · 3 comments

Comments

@davidnguyen11
Copy link
Contributor

node: 6.5.0
version: 3.0.1

 ERROR  Failed to compile with 1 errors                                        9:31:56 AM

 error  in ./containers/Listing/index.js

Syntax Error: Unexpected token (125:38)
  123 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  124 |
> 125 | var LazyLoad = (0, _dynamic2.default)(import('react-lazyload'), { ssr: false, loading: function loading() {
      |                                       ^
  126 |     return null;
  127 |   } });
  128 | var FilterNotFound = (0, _dynamic2.default)(import('./FilterNotFound'));
@comus
Copy link

comus commented Aug 9, 2017

@japesh
Copy link

japesh commented Sep 28, 2017

Is their any solution for this problem, i am getting the same error.

@lock
Copy link

lock bot commented May 10, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants