Error while setting up Plone Training frontend

After all the process when i run yarn start I am getting this error
SyntaxError: Unexpected token '.'
follwowing this page :5. Installation – Mastering Plone 6 development — Plone Training 2023 documentation

Please follow "Option 2. Start with prepared training project volto-ploneconf with all code for the training" in

If you played with it, maybe a fresh clone helps.
If not, feel free to come back here with some lines of the log showing info about the problem.

1 Like

I am following option 2

and Yes I am already following this documentation (link you have mentioned) but getting this error

More log please.

"use strict";const r$1=Object.create(null),s=e=>global This error message is very long

Also Please Note I am exactly following the steps on documentation and I have setted up the backend correctly but in frontend after make install When i run yarn start it is giving me error as I have mentioned before.

Full log please. Don't tease us.

Really sorry ! My Intension was'nt to tease anyone Here is Complete log:
/home/moizsheraz/training/frontend/node_modules/std-env/dist/index.cjs:1
"use strict";const r$1=Object.create(null),s=e=>globalThis.process?.env||void 0||globalThis.Deno?.env.toObject()||globalThis.env||(e?r$1:globalThis),env=new Proxy(r$1,{get(e,n){return s()[n]??r$1[n]},has(e,n){const i=s();return n in i||n in r$1},set(e,n,i){const l=s(!0);return l[n]=i,!0},deleteProperty(e,n){if(!n)return!1;const i=s(!0);return delete i[n],!0},ownKeys(){const e=s(!0);return Object.keys(e)}}),nodeENV=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",E=[["APPVEYOR"],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:!0}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:!1}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["VERCEL","VERCEL",{ci:!1}],["VERCEL","VERCEL_ENV",{ci:!1}],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:!1}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"]];function I(){if(globalThis.process?.env)for(const e of E){const n=e[1]||e[0];if(globalThis.process?.env[n])return{name:e[0].toLowerCase(),...e[2]}}return globalThis.process?.env?.SHELL==="/bin/jsh"&&globalThis.process?.versions?.webcontainer?{name:"stackblitz",ci:!1}:{name:"",ci:!1}}const providerInfo=I(),provider=providerInfo.name;function toBoolean(e){return e?e!=="false":!1}const platform=globalThis.process?.platform||"",isCI=toBoolean(env.CI)||providerInfo.ci!==!1,hasTTY=toBoolean(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY),hasWindow=typeof window<"u",isDebug=toBoolean(env.DEBUG),isTest=nodeENV==="test"||toBoolean(env.TEST),isProduction=nodeENV==="production",isDevelopment=nodeENV==="dev"||nodeENV==="development",isMinimal=toBoolean(env.MINIMAL)||isCI||isTest||!hasTTY,isWindows=/^win/i.test(platform),isLinux=/^linux/i.test(platform),isMacOS=/^darwin/i.test(platform),isColorSupported=!toBoolean(env.NO_COLOR)&&(toBoolean(env.FORCE_COLOR)||isWindows&&env.TERM!=="dumb"||hasTTY&&env.TERM&&env.TERM==="dumb"||isCI),nodeVersion=(globalThis.process?.versions?.node||"").replace(/^v/,"")||null,nodeMajorVersion=Number(nodeVersion?.split(".")[0])||null,o$1=globalThis.process||Object.create(null),r={versions:{}},process$1=new Proxy(o$1,{get(e,n){if(n==="env")return env;if(n in e)return e[n];if(n in r)return r[n]}}),isNetlify=!!globalThis.Netlify,isEdgeLight=!!globalThis.EdgeRuntime,isWorkerd=globalThis.navigator?.userAgent==="Cloudflare-Workers",isDeno=!!globalThis.Deno,isLagon=!!globalThis.lagon,isNode=globalThis.process?.release?.name==="node",isBun=!!globalThis.Bun||!!process.versions.bun,isFastly=!!globalThis.fastly,o=[[isNetlify,"netlify"],[isEdgeLight,"edge-light"],[isWorkerd,"workerd"],[isDeno,"deno"],[isLagon,"lagon"],[isNode,"node"],[isBun,"bun"],[isFastly,"fastly"]];function t(){const e=o.find(n=>n[0]);if(e)return{name:e[1]}}const runtimeInfo=t(),runtime=runtimeInfo?.name||"";exports.env=env,exports.hasTTY=hasTTY,exports.hasWindow=hasWindow,exports.isBun=isBun,exports.isCI=isCI,exports.isColorSupported=isColorSupported,exports.isDebug=isDebug,exports.isDeno=isDeno,exports.isDevelopment=isDevelopment,exports.isEdgeLight=isEdgeLight,exports.isFastly=isFastly,exports.isLagon=isLagon,exports.isLinux=isLinux,exports.isMacOS=isMacOS,exports.isMinimal=isMinimal,exports.isNetlify=isNetlify,exports.isNode=isNode,exports.isProduction=isProduction,exports.isTest=isTest,exports.isWindows=isWindows,exports.isWorkerd=isWorkerd,exports.nodeENV=nodeENV,exports.nodeMajorVersion=nodeMajorVersion,exports.nodeVersion=nodeVersion,exports.platform=platform,exports.process=process$1,exports.provider=provider,exports.providerInfo=providerInfo,exports.runtime=runtime,exports.runtimeInfo=runtimeInfo;
^

SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/moizsheraz/training/frontend/node_modules/webpackbar/dist/index.cjs:4:16)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

Hay! may be you should check your yarn version