Cerebro installation fails with unexpected token operator
See original GitHub issue- I am on the latest Cerebro.app version
- I have searched the issues of this repo and believe that this is not a duplicate
- OS version and name: Arch
- Cerebro version: 0.3.0-1 (cerebro) & 0.2.7.r4.ga69a0a8-1 (cerebro-git)
Issue
Installing via AUR results in following error message with both cerebro
and cerebro-git
package:
Parse error at ./app/dist/main.bundle.js:940,5060
,h,k){'use strict';var m=k(9);const n=u=>u.replace(/[^а-яa-z0-9\s]/i,'').replace
^
SyntaxError: Unexpected token: operator (>)
at JS_Parse_Error.get (eval at <anonymous> (/home/jonathan/.cache/pacaur/cerebro/src/cerebro-0.3.0/node_modules/uglify-js/tools/node.js:27:1), <anonymous>:86:23)
at /home/jonathan/.cache/pacaur/cerebro/src/cerebro-0.3.0/node_modules/uglify-js/bin/uglifyjs:384:39
at time_it (/home/jonathan/.cache/pacaur/cerebro/src/cerebro-0.3.0/node_modules/uglify-js/bin/uglifyjs:620:15)
at /home/jonathan/.cache/pacaur/cerebro/src/cerebro-0.3.0/node_modules/uglify-js/bin/uglifyjs:345:9
at tryToString (fs.js:512:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:500:12)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:18 (7 by maintainers)
Top Results From Across the Web
Unexpected token: operator (<) in terser plugin #6219 - GitHub
Hi, I have updated to last version of docusaurus but when I try to npm run build I have the following error: assets/ ......
Read more >Cerebral Administrator's Guide - Veriato
If the Agent fails to install when expected, Cancel the pending install, or Uninstall the unfinished install, and try again. Text message.
Read more >COMMON ERRORS IN KRONOS AND HOW TO FIX THEM
Employee Error Details. Entering work hours before they have actually been worked. Employees are not allowed to record their work time until they...
Read more >"syntax error near unexpected token" when installing R-3.6.3 ...
I have R-4.0.5 installed on my Linux Mint 20.1 platform however, I need R-3.6.3 for a class I'm taking so I'm trying to...
Read more >Infinity Installation and Upgrade Guide - Blackbaud
If you do not perform this step, you will receive a non-compliance error when you upgrade The Raiser's Edge. Note: During the upgrade,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As a temporary solution I fixed path to uglify binary (
./node_modules/uglify-es/bin/uglifyjs
, instead of./node_modules/.bin/uglifyjs
). I’ll try to investigate more why it happens, but #362 should fix installation issue@IgnusG yep, started to fail on travis after merging last PR, I didn’t find time to fix, I’ll try to do it asap