ESLint problem

01:40:49.038 Oops! Something went wrong! :(
01:40:49.038
01:40:49.039 ESLint: 8.57.0
01:40:49.039
01:40:49.039 ESLint couldn't find the plugin "eslint-plugin-json".
01:40:49.039
01:40:49.039 (The package "eslint-plugin-json" was not found when loaded as a Node module from the directory "/opt/buildhome/repo".)
01:40:49.039
01:40:49.039 It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
01:40:49.039
01:40:49.040 npm install eslint-plugin-json@latest --save-dev
01:40:49.040
01:40:49.040 The plugin "eslint-plugin-json" was referenced from the config file in "../.eslintrc.json".
01:40:49.038 Oops! Something went wrong! :(
01:40:49.038
01:40:49.039 ESLint: 8.57.0
01:40:49.039
01:40:49.039 ESLint couldn't find the plugin "eslint-plugin-json".
01:40:49.039
01:40:49.039 (The package "eslint-plugin-json" was not found when loaded as a Node module from the directory "/opt/buildhome/repo".)
01:40:49.039
01:40:49.039 It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
01:40:49.039
01:40:49.040 npm install eslint-plugin-json@latest --save-dev
01:40:49.040
01:40:49.040 The plugin "eslint-plugin-json" was referenced from the config file in "../.eslintrc.json".
i don't really know what i can do to fix this i'm running node 18.19.1
3 Replies
Cyb3r-Jak3
Cyb3r-Jak38mo ago
You can install the plugin using the npm command of the error log
Need_Not 2
Need_Not 2OP8mo ago
how do i run commands though? add it to the build command?
Cyb3r-Jak3
Cyb3r-Jak38mo ago
Run it locally in your project folder and it will get added to the package.json file and be installed
Want results from more Discord servers?
Add your server