我试图添加添加react-router-dom它不让我

我试图添加添加react-router-dom它不允许我这样做。

这是我得到的错误:

PS D:\spring boot and react training> npm add react-router-dom

npm WARN saveError ENOENT: no such file or directory, open 'D:\spring boot and react training\package.json'

npm WARN enoent ENOENT: no such file or directory, open 'D:\spring boot and react training\package.json'

npm WARN mini-create-react-context@0.4.0 requires a peer of react@^0.14.0 || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.

npm WARN react-router@5.2.0 requires a peer of react@>=15 but none is installed. You must install peer dependencies yourself.

npm WARN react-router-dom@5.2.0 requires a peer of react@>=15 but none is installed. You must install peer dependencies yourself.

npm WARN spring boot and react training No description

npm WARN spring boot and react training No repository field.

npm WARN spring boot and react training No README data

npm WARN spring boot and react training No license field.

react-router-dom@5.2.0 updated 1 package and audited 28 packages in 5.015s found 2 moderate severity vulnerabilities run npm audit fix to fix them, or npm audit for details PS D:\spring boot and react training>