Skip to content

Suggested writeFile for exercise 21.1 returns "Error: Internal Server Error" #478

@alexandersandberg

Description

@alexandersandberg

The solution for exercise 21.1, suggesting using writeFile in the update function, gives me an alert with "Error: Internal Server Error", and the JSON is not written to the file.

Not sure if I'm doing something wrong with writeFile, but I managed to solve the problem by using the synchronous writeFileSync instead.

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