Home forums Using CanvasJS Error in ionic 2 project.

This topic contains 1 reply, has 2 voices, and was last updated by  Priyanka M S 3 weeks, 6 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22676

    Tarasis
    Member

    core.js:1449 ERROR Error: Uncaught (in promise): Error: Module parse failed: Unexpected token (1:7)
    You may need an appropriate loader to handle this file type.
    | export SplineChart from ‘../charts/spline’;
    | export ColumnChart from ‘../charts/column’;
    | export StackedColumnChart from ‘../charts/stacked_column’;
    Error: Module parse failed: Unexpected token (1:7)
    You may need an appropriate loader to handle this file type.
    | export SplineChart from ‘../charts/spline’;
    | export ColumnChart from ‘../charts/column’;
    | export StackedColumnChart from ‘../charts/stacked_column’;
    at Object.450 (legend.js:377)
    at __webpack_require__ (bootstrap 6e7befadc6a45c215b88:54)
    at Object.442 (index.js:63)
    at __webpack_require__ (bootstrap 6e7befadc6a45c215b88:54)
    at Object.441 (1.js:3047)
    at __webpack_require__ (bootstrap 6e7befadc6a45c215b88:54)
    at Object.440 (culture.js:27)
    at __webpack_require__ (bootstrap 6e7befadc6a45c215b88:54)
    at Object.288 (1.js:11)
    at __webpack_require__ (bootstrap 6e7befadc6a45c215b88:54)
    at Object.450 (legend.js:377)
    at __webpack_require__ (bootstrap 6e7befadc6a45c215b88:54)
    at Object.442 (index.js:63)
    at __webpack_require__ (bootstrap 6e7befadc6a45c215b88:54)
    at Object.441 (1.js:3047)
    at __webpack_require__ (bootstrap 6e7befadc6a45c215b88:54)
    at Object.440 (culture.js:27)
    at __webpack_require__ (bootstrap 6e7befadc6a45c215b88:54)
    at Object.288 (1.js:11)
    at __webpack_require__ (bootstrap 6e7befadc6a45c215b88:54)
    at c (polyfills.js:3)
    at Object.reject (polyfills.js:3)
    at NavControllerBase._fireError (nav-controller-base.js:223)
    at NavControllerBase._failed (nav-controller-base.js:216)
    at nav-controller-base.js:263
    at t.invoke (polyfills.js:3)
    at Object.onInvoke (core.js:4760)
    at t.invoke (polyfills.js:3)
    at r.run (polyfills.js:3)
    at polyfills.js:3

    This error is coming when i try to use in ionic 2 project

    #22688

    Priyanka M S
    Member

    @tarasis,

    Can you please share a sample project over google-drive or one-drive reproducing the issue you are facing, so that we can look into your code, understand it better and help you out?

    __
    Priyanka M S
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.