exercism / typescript

Exercism exercises in TypeScript.
https://exercism.org/tracks/typescript
MIT License
147 stars 160 forks source link

hello world not work #1405

Closed neuromagus closed 10 months ago

neuromagus commented 10 months ago

after using instruction:

> exercism download --exercise=hello-world --track=typescript
> cd .\exercism\typescript\hello-world\
> yarn install
> yarn test

I have this error:

Type Error: Cannot read properties of undefined (reading 'D:\Code\exercism\typescript\hello-world\.pnp.cjs')
    at c4 (D:\Code\exercism\typescript\hello-world\.yarn\releases\yarn-3.6.0.cjs:390:12692)
    at a0e (D:\Code\exercism\typescript\hello-world\.yarn\releases\yarn-3.6.0.cjs:390:13173)
    at Object.mf (D:\Code\exercism\typescript\hello-world\.yarn\releases\yarn-3.6.0.cjs:390:13402)
    at D:\Code\exercism\typescript\hello-world\.yarn\releases\yarn-3.6.0.cjs:694:4611
    at Object.Ta (D:\Code\exercism\typescript\hello-world\.yarn\releases\yarn-3.6.0.cjs:390:10714)
    at wl.findPackageLocation (D:\Code\exercism\typescript\hello-world\.yarn\releases\yarn-3.6.0.cjs:694:4566)
    at D:\Code\exercism\typescript\hello-world\.yarn\releases\yarn-3.6.0.cjs:423:1264
    at Function.from (<anonymous>)
    at LB (D:\Code\exercism\typescript\hello-world\.yarn\releases\yarn-3.6.0.cjs:423:1008)
    at d9 (D:\Code\exercism\typescript\hello-world\.yarn\releases\yarn-3.6.0.cjs:423:1589)

And yarn install log me this:

➤ YN0032: │ fsevents@npm:2.3.3: Implicit dependencies on node-gyp are discouraged
➤ YN0002: │ @exercism/typescript-hello-world@workspace:. doesn't provide @babel/core (p29b02), requested by babel-jest
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code

My system: Windows 10 (19045), NodeJS 20.9.0.

github-actions[bot] commented 10 months ago

Hello. Thanks for opening an issue on Exercism 🙂

At Exercism we use our Community Forum, not GitHub issues, as the primary place for discussion. That allows maintainers and contributors from across Exercism's ecosystem to discuss your problems/ideas/suggestions without them having to subscribe to hundreds of repositories. This issue will be automatically closed. Please use this link to copy your GitHub Issue into a new topic on the forum, where we look forward to chatting with you! If you're interested in learning more about this auto-responder, please read this blog post.