Giter Club home page Giter Club logo

Comments (10)

mamtawardhani avatar mamtawardhani commented on July 19, 2024 1

@KarinaNi That's good to hear!
You can take up this issue!

from docs.

KarinaNi avatar KarinaNi commented on July 19, 2024

the plotly folder does not exist in https://github.com/Codecademy/docs/tree/main/content could you please update the correct location or let me know what is going wrong, and once that is done, I would like to be assigned this issue.

I found

docs/content/matplotlib/concepts/pyplot/terms/scatter/scatter.md

do you mean this?

from docs.

mamtawardhani avatar mamtawardhani commented on July 19, 2024

Hey @KarinaNi!

You can go ahead and create the directory named "plotly" as per the given path: docs/content/plotly/concepts/express/terms/scatter/scatter.md

@KarinaNi You're assigned. In addition to the documents linked in the description, please also look at our Contribution Guide if you haven't already. After creating a PR, the maintainer(s) (with the collaborator label) will add comments/suggestions to address any revisions before approval.

Is this your first contribution to Codecademy Docs? If so, we're curious to know how you found out about contributing to Docs.

from docs.

KarinaNi avatar KarinaNi commented on July 19, 2024

Its my second contribution to Codecademy Docs I think. I have been an avid Codecademy user over the years, loved how they taught concepts with hands on immediate exercises. I did a course on Github on codecademy they asked me to do contributions here, I did two. I have recently been finding some open source to contribute to, so I came here to see if there are any issues I can help with. @mamtawardhani

from docs.

KarinaNi avatar KarinaNi commented on July 19, 2024

Okay so there are some tests that are failing in this PR. @mamtawardhani

format:verify
lint:md
I ran 
yarn test result: Tests: 4849 passed, 4849 total
yarn format: all: Ran successfully
yarn format:verify : Ran successfully
yarn lint: error message as below

The error message:

Oops! Something went wrong! :(

ESLint: 8.57.0

ESLint couldn't find the plugin "eslint-plugin-import".

(The package "eslint-plugin-import" was not found when loaded as a Node modulecs".)

It's likely that the plugin isn't installed correctly. Try reinstalling by run

    npm install eslint-plugin-import@latest --save-dev

The plugin "eslint-plugin-import" was referenced from the config file in ".esl

error Command failed with exit code 2.                                    rg/c
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.                                    s co
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.                                                                s co

How do I debug this? I went to https://www.npmjs.com/package/@codecademy/eslint-config?activeTab=versions the latest version is 8.0.0 how to resolve this issue, any steps would be highly appreciated

from docs.

KarinaNi avatar KarinaNi commented on July 19, 2024

Okay so there are some tests that are failing in this PR. @mamtawardhani

format:verify
lint:md
I ran 
yarn test result: Tests: 4849 passed, 4849 total
yarn format: all: Ran successfully
yarn format:verify : Ran successfully
yarn lint: error message as below

The error message:

Oops! Something went wrong! :(

ESLint: 8.57.0

ESLint couldn't find the plugin "eslint-plugin-import".

(The package "eslint-plugin-import" was not found when loaded as a Node modulecs".)

It's likely that the plugin isn't installed correctly. Try reinstalling by run

    npm install eslint-plugin-import@latest --save-dev

The plugin "eslint-plugin-import" was referenced from the config file in ".esl

error Command failed with exit code 2.                                    rg/c
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.                                    s co
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.                                                                s co

How do I debug this? I went to https://www.npmjs.com/package/@codecademy/eslint-config?activeTab=versions the latest version is 8.0.0 how to resolve this issue, any steps would be highly appreciated

from docs.

mamtawardhani avatar mamtawardhani commented on July 19, 2024

Hey @KarinaNi! It looks like you're encountering an ESLint error related to the eslint-plugin-import plugin not being found or installed correctly. Here's how you can fix it:

  1. Open your terminal or command prompt.
  2. Navigate to your project directory where ESLint is configured to run.
  3. Run the following command to reinstall the "eslint-plugin-import" plugin:
    npm install eslint-plugin-import@latest --save-dev

This command will install the latest version of the "eslint-plugin-import" plugin as a development dependency in your project.

  1. After the installation is complete, try running ESLint again to see if the issue has been resolved:
    eslint . --ext .js

Replace .js with the file extension(s) you want ESLint to check (e.g., .js, .jsx, .ts, .tsx).

If you're using Yarn instead of npm, you can use the following command to reinstall the plugin:
yarn add eslint-plugin-import@latest --dev

After reinstalling the plugin, ESLint should be able to find and use the "eslint-plugin-import" plugin without any issues.

from docs.

KarinaNi avatar KarinaNi commented on July 19, 2024

Hi, I already ran the installation command yesterday and i got the following error

npm ERR! code ERESOLVE                                          g
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @codecademy/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR!   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/[email protected]
npm ERR!   node_modules/@eslint-community/eslint-utils
npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from [email protected]
npm ERR!   peer eslint@"*" from @typescript-eslint/[email protected]
npm ERR!   node_modules/@typescript-eslint/experimental-utils
npm ERR!     @typescript-eslint/experimental-utils@"4.4.1" from @typescript-eslint/[email protected]
npm ERR!     node_modules/@codecademy/eslint-config/node_modules/@typescript-eslint/eslint-plugin
npm ERR!       @typescript-eslint/eslint-plugin@"4.4.1" from @codecademy/[email protected]
npm ERR!       node_modules/@codecademy/eslint-config
npm ERR!         dev @codecademy/eslint-config@"^3.1.0" from the root project
npm ERR!   5 more (eslint-config-prettier, eslint-plugin-react, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^6.5.1" from @codecademy/[email protected] ERR! node_modules/@codecademy/eslint-config
npm ERR!   dev @codecademy/eslint-config@"^3.1.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/eslint
npm ERR!   peer eslint@"^6.5.1" from @codecademy/[email protected]
npm ERR!   node_modules/@codecademy/eslint-config
npm ERR!     dev @codecademy/eslint-config@"^3.1.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!

from docs.

KarinaNi avatar KarinaNi commented on July 19, 2024

Reinstalled yarn, upgraded yarn, added eslint through yarn, and yarn lint does not throw any errors in the command prompt. But there are the same errors that i posted. Any idea what I am missing?

Edit: The checks seem to run now. When can I see changes in the repository?

from docs.

mamtawardhani avatar mamtawardhani commented on July 19, 2024

@dakshdeepHERE @Sriparno08 Could you help solve the above issue, please?

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.