Answer the question
In order to leave comments, you need to log in
Eslint package import with nested paths?
Hello. Instead of prompt on eslint as for ways import { pipeline } from 'stream/promises'; configure import/no-unresolved and node/no-missing-import rules ?
Unable to resolve path to module 'stream/promises'. import/no-unresolved
"stream/promises" is not found. node/no-missing-import
...
"engines": {
"node": "15.4.0",
"npm": "7.0.15"
},
...
module.exports = {
root: true,
env: {
node: true
},
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2021,
sourceType: 'module'
},
extends: ['airbnb-base', 'plugin:node/recommended'],
....
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question