Skip to content

ReferenceError: window is not defined #61

@KatyHwang

Description

@KatyHwang

I am using the nextjs , the chart cannot show .

error msg:

Server Error
ReferenceError: window is not defined

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Source
external%20%22react-gantt-timeline%22 (1:0) @ Object.react-gantt-timeline

1 | module.exports = require("react-gantt-timeline");
Call Stack
webpack_require
webpack\bootstrap (21:0)
Show collapsed frames
擷取

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions