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
(node:70122) Warning: require() of ES modules is not supported.
require() of /Users/luis/Documents/Personal/cumbi/coinlib/node_modules/@eslint/eslintrc/universal.js from /Users/luis/Documents/Personal/cumbi/coinlib/node_modules/eslint/lib/linter/linter.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename universal.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /Users/luis/Documents/Personal/cumbi/coinlib/node_modules/@eslint/eslintrc/package.json.
Oops! Something went wrong! :(
ESLint: 8.21.0
Error: Failed to load plugin '@typescript-eslint' declared in '.eslintrc.js': Cannot find module 'eslint/use-at-your-own-risk'
Require stack:
/Users/luis/Documents/Personal/cumbi/coinlib/node_modules/@eslint/eslintrc/dist/eslintrc.cjs
Referenced from: /Users/luis/Documents/Personal/cumbi/coinlib/.eslintrc.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17)
at Function.Module._load (internal/modules/cjs/loader.js:686:27)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (/Users/luis/Documents/Personal/cumbi/coinlib/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at /Users/luis/Documents/Personal/cumbi/coinlib/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js:34:5
at Object. (/Users/luis/Documents/Personal/cumbi/coinlib/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js:5:60)
at Module._compile (/Users/luis/Documents/Personal/cumbi/coinlib/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
How can I solve it?
The text was updated successfully, but these errors were encountered:
Hello
I downloaded and installed the project with
npm i
Node version (
node -v
) : 12.14.1And when I run
npm run build
I get this error:npm run build
How can I solve it?
The text was updated successfully, but these errors were encountered: