You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be related to #183 but since the error message looks completely different and the setup is different, too, I'm putting this into a separate ticket.
First off: really nice project! The architecture is nicely thought through and very straightforward and the dashboard looks nice, too!
Trying to get it to run (Node 12.14.0, NPM 6.13.4 on Linux), the build script fails with:
static/js/main.821d85ae.js from UglifyJs
Unexpected token: name (index) [./~/engine.io-client/~/debug/src/browser.js:155,0][static/js/main.821d85ae.js:32369,5]
This seems to be because the engino.io-client package uses ES6 let syntax. The UglifyJS webpack plugin used by react-scripts however abandoned ES6 support and one is supposed to use terser instead 🤷♂️
Maybe the packages need to be locked at a specific (outdated?) version for things to work?
The text was updated successfully, but these errors were encountered:
how to fix the error?
[3/5] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
[5/5] Building fresh packages...
success Saved lockfile.
$ if $BUILD_ASSETS; then npm run build-assets; fi
此时不应有 then。
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
It might be related to #183 but since the error message looks completely different and the setup is different, too, I'm putting this into a separate ticket.
First off: really nice project! The architecture is nicely thought through and very straightforward and the dashboard looks nice, too!
Trying to get it to run (Node 12.14.0, NPM 6.13.4 on Linux), the build script fails with:
This seems to be because the
engino.io-client
package uses ES6let
syntax. The UglifyJS webpack plugin used byreact-scripts
however abandoned ES6 support and one is supposed to use terser instead 🤷♂️Maybe the packages need to be locked at a specific (outdated?) version for things to work?
The text was updated successfully, but these errors were encountered: