dleitee / crates

🌎 A tool to generate your locale files compatible with i18n.
52 stars 5 forks source link

Unable ton install on windows 10 #2

Closed Armaldio closed 6 years ago

Armaldio commented 6 years ago

Hello,

I'm unable ton install this plugin on windows 10

npm ERR! path XXX\node_modules\crates\cli.js
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod 'XXX\node_modules\crates\cli.js'
dleitee commented 6 years ago

hmm, I'll take a look at that, but I don't have a windows 10 to test it.

Can you help me?

dleitee commented 6 years ago

have you tried with docker?

Armaldio commented 6 years ago

No, I don't know how to setup docker

Armaldio commented 6 years ago

It "seems" that after making these changes inside the package.json

   "name": "crates",
   "version": "0.0.10",
   "description": "A tool to generate your locale files compatible with i18n.",
-  "main": "index.js",
+  "main": "src/index.js",
   "bin": {
-    "crates": "cli.js"
+    "crates": "src/cli.js"
   },

I'm able to npm link and npm link crates

dleitee commented 6 years ago

Sorry @armaldio, there was a bug and I fixed right now on 666073586939bee

dleitee commented 6 years ago

I had published a package with error, sorry.

Armaldio commented 6 years ago

No problems, I hope this one will fix. Thanks :D!