Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Unexpected token #1

Open
usrin opened this issue Aug 10, 2023 · 0 comments
Open

SyntaxError: Unexpected token #1

usrin opened this issue Aug 10, 2023 · 0 comments

Comments

@usrin
Copy link

usrin commented Aug 10, 2023

Hi there,
I gave it a try , all container is running except jazz-widget-client which shows this error. am not experienced with node but I tried to run npm install & npm run build in jazz-widget-react but the build faild too

SyntaxError: Unexpected token {
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
/usr/local/lib/node_modules/serve/build/main.js:4
import { cwd as getPwd, exit, env as env2, stdout } from "node:process";

I have also a question regarding .env file
at line six what should be inserted as projectUri= or it may left blank as its?

temp=temp
mongo=mongodb://db
clientURL=https://mbse-colldev.saic.com/#/
authURL=https://mbse-colldev.saic.com:9443/jts/j_security_check
jazzURL=https://mbse-colldev.saic.com:9443
jazzResourcesEndpoint=/rm/publish/resources?projectURI=>>>>here what should be fill? <<<
jazzProjectAreaEndpoint=/rm/process/project-areas
jazzAddMembersEndpoint1=/rm/process/project-areas/
jazzAddMembersEndpoint2=/members
jazzAuth=j_username=myUser&j_password=myPassword
REACT_APP_SERVER_URL=https://mbse-colldev.saic.com/
REACT_APP_JAZZ_URL=https://mbse-colldev.saic.com:9443/rm/web

Thank you in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant