In the default template after initialization only `build` script works as expected but `dev` and `preview` gives complicated error messages.