dojo / cli

:rocket: Dojo - command line tooling.
http://dojo.io
Other
25 stars 34 forks source link

Installing @dojo/cli results in broken tool #172

Closed rhpijnacker closed 7 years ago

rhpijnacker commented 7 years ago

Bug

Installing @dojo/cli results in broken tool.

Package Version: 0.1.0

Code

λ node --version v6.11.2

λ npm install -g @dojo/cli

λ dojo Commands are not available: SyntaxError: Failed to load module C:/Program Files/nodejs/node_modules/@dojo/cli/commands/eject.js Nested error: Unexpected token { in JSON at position 68

kitsonk commented 7 years ago

This is likely due to an invalid .dojorc... can you please provide the .dojorc associated with this. We agree it is not a desirable or useful error message at the moment.

rhpijnacker commented 7 years ago

You are correct. Renaming the file to .json made my editor highlight the error. (Something to consider for future errors I am sure to make?)

Sorry for the noise.