Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"npm run build" fails when source open with Visual Studio Code #285

Open
clinicaloffice opened this issue Mar 15, 2018 · 0 comments
Open

Comments

@clinicaloffice
Copy link

For some reason, whenever I try to build my library with the "npm run build" command and I have my library source open in Visual Studio Code (1.21.1), the npm build command errors out. If I close VS Code and try again it works just fine.

I know this is likely a file locking issue in VS Code and nothing to do with generator-angular2-library but I've been searching for a few weeks for a solution and nobody seems to have an answer. I've tried other editors such as Atom and don't have the same problem so it is definitely local to VS Code.

If anyone has run into this and has a fix I'd appreciate it. Please don't say use another editor as I've tried a bunch of them and I find VS Code does everything I want (except this problem) just the way I like.

Thanks,

John

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant