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
Facing the below error while executing ember/no-implicit-injections
Actual code in route file : this.store.pushPayload({ 'data': JSON.parse(objects) });
And I assign this to the variable called (self) and use the same in the code self.store.unloadAll("modelName")
Oops! Something went wrong! :(
ESLint: 8.43.0
TypeError: Cannot read properties of undefined (reading '0')
Rule: "ember/no-implicit-injections"
at fixService (/node_modules/eslint-plugin-ember/lib/rules/no-implicit-injections.js:33:50)
at Object.fix (/node_modules/eslint-plugin-ember/lib/rules/no-implicit-injections.js:239:19)
at normalizeFixes (node_modules/eslint/lib/linter/report-translator.js:178:28)
at /Users/ramar-9623/Desktop/Workdrive Development/zd-client/jsapps/node_modules/eslint/lib/linter/report-translator.js:349:49
at Object.report (/node_modules/eslint/lib/linter/linter.js:1021:41)
at MemberExpression (/node_modules/eslint-plugin-ember/lib/rules/no-implicit-injections.js:220:21)
at ruleErrorHandler (/node_modules/eslint/lib/linter/linter.js:1050:28)
at (/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach ()
at Object.emit (/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
Facing the below error while executing ember/no-implicit-injections
Actual code in route file : this.store.pushPayload({ 'data': JSON.parse(objects) });
And I assign this to the variable called (self) and use the same in the code self.store.unloadAll("modelName")
Oops! Something went wrong! :(
ESLint: 8.43.0
TypeError: Cannot read properties of undefined (reading '0')
Rule: "ember/no-implicit-injections"
at fixService (/node_modules/eslint-plugin-ember/lib/rules/no-implicit-injections.js:33:50)
at Object.fix (/node_modules/eslint-plugin-ember/lib/rules/no-implicit-injections.js:239:19)
at normalizeFixes (node_modules/eslint/lib/linter/report-translator.js:178:28)
at /Users/ramar-9623/Desktop/Workdrive Development/zd-client/jsapps/node_modules/eslint/lib/linter/report-translator.js:349:49
at Object.report (/node_modules/eslint/lib/linter/linter.js:1021:41)
at MemberExpression (/node_modules/eslint-plugin-ember/lib/rules/no-implicit-injections.js:220:21)
at ruleErrorHandler (/node_modules/eslint/lib/linter/linter.js:1050:28)
at (/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach ()
at Object.emit (/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: