You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described by the quick start, we are asked to use : Node 14.x and NPM 6.14.x.
But I am using other library asking for : Node : v16.14.0 and NPM : 8.14.0
If I go with the second configuration it is not working and gives me the following ERROR.
Steps To Reproduce
USING : Node : v16.14.0 and NPM : 8.14.0
npx pwa-kit-create-app@latest --preset retail-react-app-demo
cd pwa-kit-starter-project
npm start
ERROR
SyntaxError: The "req1-ssr-overall-start" performance mark has not been set
at getMark (node:internal/perf/usertiming:54:11)
at calculateStartDuration (node:internal/perf/usertiming:137:13)
at EventTarget.measure (node:internal/perf/usertiming:155:7)
at PerformanceTimer.end (D:\Work\ToTest\salesforce\pwa-kit-starter-project\node_modules\pwa-kit-runtime\utils\ssr-server\performance-timer.js:117:29)
at ServerResponse.done (D:\Work\ToTest\salesforce\pwa-kit-starter-project\node_modules\pwa-kit-runtime\ssr\server\build-remote-server.js:909:11) at ServerResponse.emit (node:events:532:35)
at onFinish (node:_http_outgoing:830:10) at afterWrite (node:internal/streams/writable:497:5)
at afterWriteTick (node:internal/streams/writable:484:10)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
Command failed: node D:\Work\ToTest\salesforce\pwa-kit-starter-project\app\ssr.js
The text was updated successfully, but these errors were encountered:
Hey @benramsay , thanks for reporting this! Unfortunately this is a known issue with Node v16 at the moment. It's on our roadmap to support node 16 soon. I'll come back to this issue when this is fixed. Thanks for your patience!
Summary
As described by the quick start, we are asked to use : Node 14.x and NPM 6.14.x.
But I am using other library asking for : Node : v16.14.0 and NPM : 8.14.0
If I go with the second configuration it is not working and gives me the following ERROR.
Steps To Reproduce
USING : Node : v16.14.0 and NPM : 8.14.0
ERROR
SyntaxError: The "req1-ssr-overall-start" performance mark has not been set
at getMark (node:internal/perf/usertiming:54:11)
at calculateStartDuration (node:internal/perf/usertiming:137:13)
at EventTarget.measure (node:internal/perf/usertiming:155:7)
at PerformanceTimer.end (D:\Work\ToTest\salesforce\pwa-kit-starter-project\node_modules\pwa-kit-runtime\utils\ssr-server\performance-timer.js:117:29)
at ServerResponse.done (D:\Work\ToTest\salesforce\pwa-kit-starter-project\node_modules\pwa-kit-runtime\ssr\server\build-remote-server.js:909:11) at ServerResponse.emit (node:events:532:35)
at onFinish (node:_http_outgoing:830:10) at afterWrite (node:internal/streams/writable:497:5)
at afterWriteTick (node:internal/streams/writable:484:10)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
Command failed: node D:\Work\ToTest\salesforce\pwa-kit-starter-project\app\ssr.js
The text was updated successfully, but these errors were encountered: