generator-angular-fullstack icon indicating copy to clipboard operation
generator-angular-fullstack copied to clipboard

Link to forked instance

Open donvadicastro opened this issue 10 years ago • 2 comments

Hello. I use forked generator verison and trying to test my changes locally. For this purpose I'm using

npm link

to map to local generator. "Linking" process works fine, but when I'm trying to run I'm receiving next error image

What I'm doing wrong? Thanks.

donvadicastro avatar Dec 14 '15 09:12 donvadicastro

You should not be using Babel on your node_modules folder. I would guess that your entry point (app/index.js) is not excluding the node_modules folder for transpilation.

Awk34 avatar Dec 14 '15 17:12 Awk34

Actually I found out another way to use forked solution without any transformation. I've analyzed whats going when "npm link" occurs - on windows machine it creates virtual reference to your project folder inside npm local repository folder.

This is not actually copy of your data - its is just like a shortcut to your repository in different place. When I tried remove this link and copy my data to this location - all this staff starts working as expected.

Using this experience I'm going to clone my git solution directly to npm local repository destination while developing and debugging.

donvadicastro avatar Dec 15 '15 10:12 donvadicastro