frictionlessdata / dpm-js

[DEPRECATED] Please use https://datahub.io/docs/features/data-cli
109 stars 18 forks source link

dpm init and path in windows #25

Closed aborruso closed 10 years ago

aborruso commented 10 years ago

Hi, I'm using bitnami node.js shell - https://bitnami.com/stack/nodejs - for windows.

When I run dpm init "c:\tmp\path", dpm writes datapackage in the root of my shell "C:\Program Files\Bitnami Node.js Stack".

Is it normal?

I'm using dpm 0.7.2

Thank you

rufuspollock commented 10 years ago

Bug in the docs: npm init does not take a path argument - it will always init in the current directory (similar to npm init). Fixing now.

rufuspollock commented 10 years ago

FIXED in https://github.com/okfn/dpm/commit/75f51c54ccd1d7b82028551362e955bbbf7e2b13