Closed zengin closed 2 weeks ago
Hello @zengin, thank you for raising this issue. By default, we encourage development on mgt to use yarn
. From this https://github.com/microsoftgraph/microsoft-graph-toolkit/pull/2718, we leverage features of yarn like zero-install which improve collaboration by ensuring we have consistent dependencies, and you can easily switch between branches in development. Additional development level dependencies are discouraged. More information on development can be found here https://github.com/microsoftgraph/microsoft-graph-toolkit/wiki#setup-the-development-environment.
Lastly, I ran the project on Windows and ran yarn run lint
. There was an error which I believe is because we are not escaping the \"path\to\files\"
around file paths but using the single 'path\to\file' that works on Linux. I have put up a PR to fix this here https://github.com/microsoftgraph/microsoft-graph-toolkit/pull/3205
Describe the bug
npm run lint
fails with the following error in Windows:To Reproduce
npm run lint
and observe the errorExpected behavior Linting works on a Windows machine.
Environment (please complete the following information):
Additional context
cross-env
npm package resolves this issue.