Skip to content

Prettier not defined and Error saving file: recieved promiseΒ #4

@lester51

Description

@lester51

cmd recover-source -i /sdcard/AzLyrics-Lyric-Scraper/dist/cjs/

ErrLog:

An error occurred while prettifying the code: ReferenceError: prettier is not defined
    at /data/data/com.termux/files/usr/lib/node_modules/recover-source/index.js:78:17
    at SourceMapConsumer.with (/data/data/com.termux/files/usr/lib/node_modules/recover-source/node_modules/source-map/lib/source-map-consumer.js:70:20)
    at async handleFile (/data/data/com.termux/files/usr/lib/node_modules/recover-source/index.js:33:5)

After installing the prettier I encountered error at index.js line 87 on saving the file invalid data type. recieved promise.

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