Error message when I run "serve" command: Uncaught SyntaxError: expected expression, got ')' #3657
-
After following the steps in order to install JBrowse Web I finally run the By checking the Web developer tools's debugger I get the error message mentioned in the title (I am using Mozilla Firefox 112.0.1) . It seems that there is a ')' somewhere but I have no idea how to find it nor how to fix it. When I click, "view source in debugger" though, I notice that the very first character is a ')' :
....etcetera.
Any help would be much appreciated Best, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
I've tried this with the same version of |
Beta Was this translation helpful? Give feedback.
-
You're right, I've just made what you mentioned (removing the
The corresponding file is now: |
Beta Was this translation helpful? Give feedback.
-
Many thanks for your help and your patience, it seems to be working now. Best Regards, |
Beta Was this translation helpful? Give feedback.
-
I've noticed a similar error recently when jbrowse is installed with $ curl -Lo jbrowse.zip https://github.com/GMOD/jbrowse-components/releases/download/v2.5.0/jbrowse-web-v2.5.0.zip
...
$ unzip jbrowse.zip
...
$ echo "$(head -c 50 static/js/main.d42b84c7.js)"
/*! For license information please see main.d42b84
$ jbrowse --version
@jbrowse/cli/2.5.0 linux-x64 node-v18.16.0
$ jbrowse create broken
Fetching https://github.com/GMOD/jbrowse-components/releases/download/v2.5.0/jbrowse-web-v2.5.0.zip...
Unpacked https://github.com/GMOD/jbrowse-components/releases/download/v2.5.0/jbrowse-web-v2.5.0.zip at broken
$ echo "$(head -c 50 broken/static/js/main.d42b84c7.js)"
41===e&&L(e);break;case 92:E()}return y}function R
|
Beta Was this translation helpful? Give feedback.
@nathanweeks thanks for the extra info. I think the fact it occurs at newer versions of node is true, the nodejs library we used (node-unzipper) has some issues on their github about this. I changed the libraries in this PR #3686 and hopefully can get it released soon!