When running the sudo docker-compose run web npm run build step, I get the following errors:
ERROR in ./webpack/password_reset/on_init.ts 42:31
Module parse failed: Unexpected token (42:31)
You may need an appropriate loader to handle this file type.
| return __generator(this, function (_a) {
| switch (_a.label) {
ERROR in ./webpack/route_config.tsx 80:36
Module parse failed: Unexpected token (80:36)
You may need an appropriate loader to handle this file type.
| children: false,
| $: “*”,
getModule: function () { return import("./404"); },
@I_Kill_Plants This is a bug that was discovered in the last 48 hours. We are fairly certain it is related to an NPM dependency, but have not yet deployed a fix.
I’ve got exactly the same issue.
Working with RAILS_ENV en dev mode, I got fist this error:
ERROR in ./webpack/css/_index.scss (./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./webpack/css/_index.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding /farmbot/node_modules/node-sass/vendor/linux-x64-64/binding.node
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 10.x
@nicolas@I_Kill_Plants@derletztename BUG FIX UPDATE: The bug is fixed. It has not yet been released (you can see the fix on the staging branch on Github). We still need to do QA on the branch before we can tag a release.
Great News @RickCarlino, thx
Btw, what does QA stand for? I know it as Question and Answering at the end of a talk, but that’s probably wrong
Something with Quality maybe?
@derletztename “Quality Assurance”, which is just a fancy term to say “make sure we didn’t break old stuff while fixing new stuff”. I’m also happy to do Q&A for this release though!
@derletztename We have automated unit tests, but new features (or changes to old ones) still need to be reviewed by humans as a matter of policy. I’ll keep you posted.
Btw – I appreciate you giving us access to the source code. I was looking for a robotics project to do with my daughter, and the ability to set up and run our own local server was really the tipping point to choose farmbot. Access to the source code opened up a whole different aspect to how deep this project could go. We not only get the ultimate live-action real world video game…but we can tear it apart and see how all it all works.
So I wanted to give you a well deserved thank you.
@derletztename Not yet. It is not merged yet. There are still some discussions/final checks happening internally.
You can subscribe to that PR and re-upgrade when it is merged.
Really important side note: Once the PR is merged, you will need to run the following to upgrade:
git pull https://github.com/FarmBot/Farmbot-Web-App.git master
sudo docker-compose build # <== THIS IS A NEW STEP
sudo docker-compose run web bundle install
sudo docker-compose run web npm install
sudo docker-compose run web rails db:migrate
@derletztename@I_Kill_Plants@nicolas The release is up. You may upgrade by running the commands in the message above. Thanks for everyone’s help in identifying the issue.