-
Notifications
You must be signed in to change notification settings - Fork 23
Error running TSLint Error: Cannot read property 'findConfigurationPath' of undefined #206
Comments
Appears to be due to a missing if-statement wrapping worker.js:146-148. It's not finding As for why it's not finding |
That should prevent the error from being thrown, but there's still the issue of why it's not finding |
@smhxx I am using nvm, I have a feeling that's related. The output shown above is for the system node. |
Hmm, it might be related to nvm, I'm not sure if it changes any of npm's default settings. What does |
Yup, specifying it to /usr/local/lib worked. Thank you! |
Glad to hear it. 👍 I imagine you're probably right that nvm messes with your prefix and that's why the auto-detection fails. Oh, well. I think it's better to specify the path manually, anyway, so that's a valid workaround for anyone who runs into the same problem. |
Trying to use the global tslint installation...
The text was updated successfully, but these errors were encountered: