Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"npm run build" gives tons of errors #280

Open
zhangyiatmicrosoft opened this issue Jun 24, 2023 · 1 comment
Open

"npm run build" gives tons of errors #280

zhangyiatmicrosoft opened this issue Jun 24, 2023 · 1 comment
Labels
website issue Issue with the website, not samples themselves

Comments

@zhangyiatmicrosoft
Copy link

win10, node v18.16.0, npm 9.5.1,
clean clone, npm install followed by "npm run build", tons of errors like these. Did I miss anything?
image

@ben-clayton
Copy link
Collaborator

Given that all the errors are at the end of lines, this looks like a CRLF vs LF issue (although I'm a little surprised the symbol is displaying as a unicode replacement character).

Try resaving the file with LR line endings.

Note: We should probably add a .gitattributes file to ensure that new checkout all use the same line endings.

@kainino0x kainino0x added the website issue Issue with the website, not samples themselves label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website issue Issue with the website, not samples themselves
Projects
None yet
Development

No branches or pull requests

3 participants