lukehoban / es6features

Overview of ECMAScript 6 features
MIT License
29.21k stars 2.87k forks source link

npm install babel #130

Open zhaomenglu opened 6 years ago

zhaomenglu commented 6 years ago

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 es6@1.0.0 No description ','npm WARN es6@1.0.0 No repository field.','npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: 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.

neontorrent commented 6 years ago

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

zhaomenglu commented 6 years ago

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?

fipo commented 6 years ago

@zhaomenglu those errors actually are not real errors.

you should start with npm init ;)

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

zhaomenglu commented 6 years ago

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