Skip to content

📝 Documentation: read me file command not work #154

Description

@mostafahamed15

Documentation Report Checklist

  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my request.
  • This is the appropriate issue form for the documentation issue I would like to report.

Expected

npm run tsc -- --project 01-ingredients --watch

it did not work

Actual

npm warn "./02-recipes" is being parsed as a normal command line argument.
npm warn Unknown cli config "--project". This will stop working in the next major version of npm.
npm warn Unknown cli config "--watch". This will stop working in the next major version of npm.

tsc
tsc ./02-recipes

error TS5112: tsconfig.json is present but will not be loaded if files are specified on commandline. Use '--ignoreConfig' to skip this error.

Additional Info

Otherwise, if I remove "npm run," it will work correctly and update tsconfig from "moduleResolution": "node" to "moduleResolution": "nodenext",

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions