angularjs - Deploying Angular-fullstack on Heroku: problems adding modules -
i have used generator-angular-fullstack, , have deployed on heroku , works. have tried add together module (angular-bootstrap), , when seek deploy on heroku have problem:
uncaught syntaxerror: unexpected token < 8e80b874.vendor.js:1 uncaught syntaxerror: unexpected token < e1807e47.scripts.js:1 these steps deploy on heroku (the first time):
>> grunt build >> cd dist >> git force heroku master >> heroku ps:scale web=1 >> heroku config:add node_env=production >> heroku open these steps update project on heroku:
>> grunt build >> cd dist >> git commit -m "commit coment" >> git force heroku master >> heroku open the problem when seek add together module in angular project ('ui-router','ui.bootstrap'), in local works when deploy on heroku have problem:
uncaught syntaxerror: unexpected token < 8e80b874.vendor.js:1
i have tried set paht in heroku:
heroku config:set node_path=lib and forcefulness add together lib folder within dist folder
git add together -f lib/ i lost... idea?? thx
angularjs heroku module mean-stack yeoman-generator
No comments:
Post a Comment