Skip to content

Instantly share code, notes, and snippets.

@majkelo
Last active April 11, 2019 23:52
Show Gist options
  • Save majkelo/1fcacd3aea7c00ad2e31e2fdf696b5e9 to your computer and use it in GitHub Desktop.
Save majkelo/1fcacd3aea7c00ad2e31e2fdf696b5e9 to your computer and use it in GitHub Desktop.
Fix for different webapp behaviour in dev env and production env
Ok, so I faced the same error. The solution was quite simple (didn't require any code change):
rm -rf ./bower_components/
rm -rf ./release/
rm -rf ./node_modules/
rm -rf ./.tmp/*
gulp clean
npm install
bower install
npm rebuild node-sass
gulp build
After this, webapp behaves the same from `gulp serve`, `gulp serve:dist` and `gulp build`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment