It seems like the static files (HTML, CSS, JS) are not being included in the built package, just the DLL, resulting in various errors after installing in Umbraco. It looks like this started around v1.1.0, and affects both the NuGet and Umbraco packages.
To Reproduce
Run LocalBuild.bat
Open the built artifacts in BuildPackage\artifacts - note that they include the DLL but not any static files
You can also reproduce by downloading the package from AppVeyor (link) or Our Umbraco and verifying the static files are missing from the zip
You can also try installing these packages in Umbraco, and will receive an error about a missing view file on the Content dashboard
Expected behavior
I was expecting the built Umbraco and NuGet packages to install the necessary static files, rather than just the DLL
Plumber version
v1.1.0+
Additional context
Reviewing the logs from LocalBuild.bat or AppVeyor, this error occurs during the grunt build and appears to cause grunt to terminate early:
Running "browserify:dist" (browserify) task
Fatal error: Cannot find module '@babel/core'
babelify@10 requires Babel 7.x (the package '@babel/core'). If you'd like to use Babel 6.x ('babel-core'), you should install 'babelify@8'.
It seems like the static files (HTML, CSS, JS) are not being included in the built package, just the DLL, resulting in various errors after installing in Umbraco. It looks like this started around v1.1.0, and affects both the NuGet and Umbraco packages.
To Reproduce
LocalBuild.bat
BuildPackage\artifacts
- note that they include the DLL but not any static filesExpected behavior I was expecting the built Umbraco and NuGet packages to install the necessary static files, rather than just the DLL
Plumber version v1.1.0+
Additional context Reviewing the logs from
LocalBuild.bat
or AppVeyor, this error occurs during the grunt build and appears to cause grunt to terminate early: