Open 55dmb opened 7 years ago
Thanks for reporting your issue. Can you tell me a little about the file structure for the project you're trying to run import-js in? I'm asking because that error is thrown when import-js, based on the currently opened file, tries to find a "project root" - a place in the directory structure where there is a package.json
and a node_modules
folder. Here's the relevant code: https://github.com/Galooshi/import-js/blob/a4a284ba5ab710f5fa7eca5b9425214d2d3f813a/lib/findProjectRoot.js#L6
We should probably make that error message clearer and more actionable for folks! 🍡
[Enter steps to reproduce:]
Atom: 1.15.0 x64 Electron: 1.3.13 OS: Mac OS X 10.12.4 Thrown From: atom-import-js package 0.6.1
Stack Trace
Uncaught Error: No project root found
Commands
Non-Core Packages