You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you try to deploy to heroku, chances are you will get an error about "node-gyp" or other modules.
I was able to solve this by doing this:
First push a fresh copy to your heroku modules, so the modules are installed in the server and not pushed when you do "npm install"; you usually get many errors before you are able to push your project.
If you already started your project add the following to your ".slugignore" file.
There is a problem with Karma, so if the modules are installed in the server at first your will have many errors solved, if not just add this and you will solve most errors.
When you try to deploy to heroku, chances are you will get an error about "node-gyp" or other modules.
I was able to solve this by doing this:
First push a fresh copy to your heroku modules, so the modules are installed in the server and not pushed when you do "npm install"; you usually get many errors before you are able to push your project.
If you already started your project add the following to your ".slugignore" file.
There is a problem with Karma, so if the modules are installed in the server at first your will have many errors solved, if not just add this and you will solve most errors.
Other possible solution:
stackoverflow-node-gyp
Issues already referenced here but not solved:
issue #411
issue #108
The text was updated successfully, but these errors were encountered: