Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

npm ls react-scripts-ts is empty #176

Closed
jinmmd opened this issue Oct 23, 2017 · 2 comments
Closed

npm ls react-scripts-ts is empty #176

jinmmd opened this issue Oct 23, 2017 · 2 comments

Comments

@jinmmd
Copy link

jinmmd commented Oct 23, 2017

Is this a bug report?

maybe not. I must loss some important step.

Can you also reproduce the problem with npm 4.x?

(Write your answer here.)

Which terms did you search for in User Guide?

(Write your answer here if relevant.)

Environment

  1. npm ls react-scripts-ts (if you haven’t ejected): It's empty.
  2. node -v: 6.11.2
  3. npm -v: 3.10.10
  4. yarn --version (if you use Yarn):
  5. npm ls react-scripts-ts (if you haven’t ejected):

Then, specify:

  1. Operating system: Windows 10
  2. Browser and version (if relevant): Chrome

Steps to Reproduce

(Write your steps here:)

  1. input shell command:
npm install -g create-react-app
create-react-app my-app --scripts-version=react-scripts-ts
cd my-app/
  1. look at the dir, not exist any ts config file. but why?
    ts

Expected Behavior

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Please add screenshots!)

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

@jinmmd jinmmd changed the title the command seems not work npm ls react-scripts-ts is empty Oct 23, 2017
@jinmmd
Copy link
Author

jinmmd commented Oct 23, 2017

spelling mistakes: script-version => scripts-version

@jinmmd jinmmd closed this as completed Oct 23, 2017
@jinmmd
Copy link
Author

jinmmd commented Oct 23, 2017

Installing @types/node, @types/react, @types/react-dom, @types/jest as dev depen                                                                                                                          dencies npm...

npm ERR! Windows_NT 10.0.15063
npm ERR! argv "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\                                                                                                                          node_modules\\npm\\bin\\npm-cli.js" "install" "--save" "-D" "@types/node" "@type                                                                                                                          s/react" "@types/react-dom" "@types/jest"
npm ERR! node v6.11.2
npm ERR! npm  v3.10.10
npm ERR! code E404

npm ERR! 404 no such package available : @types/node
npm ERR! 404
npm ERR! 404  '@types/node' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR!     E:\diy\my-app\npm-debug.log
`npm install --save @types/node @types/react @types/react-dom @types/jest` faile
d

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant