Closed gileri closed 3 years ago
Not tested, but look good to me.
Thanks for the fix.
I didn't know that "../../web_api/views" was no longer necessary. Is it because templates were removed from frontend?
I didn't know that "../../web_api/views" was no longer necessary. Is it because templates were removed from frontend?
Yes, all template left.
I've tested your changes, and they work correctly.
A suggestion: could we detect that ../node_modules/easygettext/src/extract-cli.js
is not installed, and launch a "npm install" command to install it? Something like:
mv package.json package.json.bak
npm install --no-package-lock --no-save easygettext@2.17.0
mv package.json.bak package.json
I've tested your changes, and they work correctly.
A suggestion: could we detect that
../node_modules/easygettext/src/extract-cli.js
is not installed, and launch a "npm install" command to install it? Something like:mv package.json package.json.bak npm install --no-package-lock --no-save easygettext@2.17.0 mv package.json.bak package.json
easygettext
is a dev dependancy. Dev deps from package.json should be installed..
A suggestion: could we detect that ../node_modules/easygettext/src/extract-cli.jsis not installed, and launch a "npm install" command to install it?
I added a commit that suggest the user to install dependencies, what do you think ?
Thank you all.
Small tweaks to help run
cd web/po && make
. Don't hesitate to make comments, I'm not very familiar with this.See https://github.com/osm-fr/osmose-frontend/pull/340#issuecomment-846607645