In GraphQLUpload.mjs, ‘SyntaxError: Cannot use import statement outside a module’

In GraphQLUpload.mjs, ‘SyntaxError: Cannot use import statement outside a module’

but this error is occured. this is my import sentence. this file-name is ‘editProfile.resolvers.js’ const GraphQLUpload = require(‘graphql-upload/ …

 

Read More