es6features icon indicating copy to clipboard operation
es6features copied to clipboard

npm install babel

Open zhaomenglu opened this issue 7 years ago • 4 comments

when I tried to use npm command to install babel,I writed 'npm install babel-preset-env --save-dev' at cmd,then there was an error ,'npm WARN [email protected] No description ','npm WARN [email protected] No repository field.','npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})'. Could you tell me how can I do to solve this problem?I will appreciate it.

zhaomenglu avatar Sep 25 '18 09:09 zhaomenglu

Go to stackoverflow to ask this type of question. Github issue is not for helping on how to use. Plus this is the wrong repo

neontorrent avatar Sep 25 '18 10:09 neontorrent

Go to stackoverflow to ask this type of question. Github issue is not for helping on how to use. Plus this is the wrong repo

this is the wrong repo?....what does it mean?

zhaomenglu avatar Sep 25 '18 10:09 zhaomenglu

@zhaomenglu those errors actually are not real errors.

  • No description meaning there is no "description" property in your package.json.
  • No repository field. ditto ...

you should start with npm init ;)

ref.: https://docs.npmjs.com/files/package.json

fipo avatar Sep 25 '18 13:09 fipo

@fipo thank you.but I seem to be in some other trouble....I'm going to look it up on the Internet first.Thanks😊

zhaomenglu avatar Sep 26 '18 01:09 zhaomenglu