Fork me on GitHub
#practicalli
<
2021-01-30
>
caumond14:01:10

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-john14:01:18

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

caumond14:01:03

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

caumond14:01:25

this is why I thought I did an obvious error somewhere

practicalli-john14:01:33

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

caumond14:01:51

As I told, I am more or less following instructions of the https://www.youtube.com/watch?v=NDrpclY54E0&amp;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

caumond14:01:06

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

caumond15:01:45

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.

caumond15:01:23

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

caumond15:01:54

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