You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have also changed the order in serpbear/pages/api/settings.ts to:
import { writeFile, readFile } from 'fs/promises';
import type { NextApiRequest, NextApiResponse } from 'next';
import Cryptr from 'cryptr';
import getConfig from 'next/config';
import verifyUser from '../../utils/verifyUser';
import allScrapers from '../../scrapers/index';
Then started the process over again and I'm getting the same error. I'm trying to deploy on fly.io.
#0 7.684 ./pages/api/settings.ts #0 7.684 4:1 Error:
fs/promisesimport should occur before type import of
nextimport/order
Solved changing order:
import { writeFile, readFile } from 'fs/promises';
The text was updated successfully, but these errors were encountered: