-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Milestone
Description
Current behavior
When running yarn start I see the following error in pm2 logs for server and it fails to start:
40|server | /core/scripts/server.ts:1
40|server | import { serverHooksExecutors } from '@vue-storefront/core/server/hooks'
40|server | ^
40|server |
40|server | SyntaxError: Unexpected token {
40|server | at Module._compile (internal/modules/cjs/loader.js:723:23)
40|server | at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
40|server | at Module.load (internal/modules/cjs/loader.js:653:32)
40|server | at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
40|server | at Function.Module._load (internal/modules/cjs/loader.js:585:3)
40|server | at Function._load (/usr/lib/node_modules/pm2/node_modules/@pm2/io/build/main/metrics/httpMetrics.js:172:43)
40|server | at /usr/lib/node_modules/pm2/lib/ProcessContainer.js:295:23
40|server | at /usr/lib/node_modules/pm2/node_modules/async/internal/once.js:12:16
40|server | at next (/usr/lib/node_modules/pm2/node_modules/async/waterfall.js:21:29)
40|server | at /usr/lib/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16
Expected behavior
yarn start should work without errors
Steps to reproduce the issue
Repository
Can you handle fixing this bug by yourself?
- YES
- NO
Which Release Cycle state this refers to? Info for developer.
Pick one option.
- This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from
developbranch and create Pull Request2. Feature / Improvementback todevelop. - This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from
releasebranch and create Pull Request3. Stabilisation fixback torelease. - This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from
hotfixormasterbranch and create Pull Request4. Hotfixback tohotfix.
Environment details
- Browser: -
- OS: Linux
- Node: v10.17.0
- Code Version: release/v1.11
Additional information
yaroslav-zenin
