practicalli

https://practicalli.github.io/ http://yt.vu/+practicalli (youtube)
caumond 2021-01-30T14:10:10.005900Z

Hi guys ! I'm trying to learn from the spacemacs introduction video. I install spacemacs.d with some few tweaks for my configuration (mac os x...). But when I try to do projectile-toggle-between-implementation , I have a No matching source file found for project type: npmor wrong type of argument: stringp, nil (depending on when / where I launch the command). I don't have any where I modified the projectile setup and I expected it working properly in your spacemacs.d setup.

practicalli-john 2021-01-30T14:19:18.006200Z

Not much information to go on here, not sure I can help. I don't really develop with JavaScript.

caumond 2021-01-30T14:20:03.006400Z

oh, neither do I, I'm in a clojure file...

caumond 2021-01-30T14:21:25.006600Z

this is why I thought I did an obvious error somewhere

practicalli-john 2021-01-30T14:24:33.006800Z

Maybe you can elaborate on what you are doing.. Alternatively, look through the source code of projectile

caumond 2021-01-30T14:43:51.007Z

As I told, I am more or less following instructions of the https://www.youtube.com/watch?v=NDrpclY54E0&feature=emb_logo, I tried with a fresh practicalli's spacemacs.d fresh installation also, same result. First, I am building the fresh "random-function" project as told in the video. Everything's fine until there. But when I start to build the test file with the projectile-toggle-between-implemantation-and-test . I got that error, with no extra message in the Messages buffer. I thought I did a rookie's classical mistake. Don't understand why projectile think I'm in a npm project. As I am quite new to all of this, I'm even not sure where to look at. I'm looking at projectile's code right now, try to understand where npm could come from

caumond 2021-01-30T14:47:06.007300Z

Just in case you wonder, I am in clojure major mode

caumond 2021-01-30T15:08:45.007500Z

I got it : Projectile-project-info told me what happen: my issue was due to my local configuration: my home directory was a git, understood as a npm by projectile. Nothing to do with practicalli's sorry.

caumond 2021-01-30T15:09:23.007700Z

Now I remove that .git directory, I have the same behavior than you in the video. Thx

caumond 2021-01-30T15:09:54.007900Z

I don't have the habit to rely on an IDE which source is discoverable and open source !