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
It built successfully with no error. Then the next step, I put another command to run it as the following
$ docker-compose -f docker-compose.yml -f docker-compose.override.yml up rendertron
In this stage, I have got the exception Unexpected token. The full stack trace information as below
# docker-compose -f docker-compose.yml -f docker-compose.override.yml up rendertron
Docker Compose is now in the Docker CLI, try `docker compose up`
Starting aspnetcorerendertron_rendertron_1 ... done
Attaching to aspnetcorerendertron_rendertron_1
rendertron_1 |
rendertron_1 | > rendertron@3.1.0 start /app
rendertron_1 | > node build/rendertron.js
rendertron_1 |
rendertron_1 | /app/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:707
rendertron_1 | catch {
rendertron_1 | ^
rendertron_1 |
rendertron_1 | SyntaxError: Unexpected token {
rendertron_1 | at createScript (vm.js:80:10)
rendertron_1 | at Object.runInThisContext (vm.js:139:10)
rendertron_1 | at Module._compile (module.js:617:28)
rendertron_1 | at Object.Module._extensions..js (module.js:664:10)
rendertron_1 | at Module.load (module.js:566:32)
rendertron_1 | at tryModuleLoad (module.js:506:12)
rendertron_1 | at Function.Module._load (module.js:498:3)
rendertron_1 | at Module.require (module.js:597:17)
rendertron_1 | at require (internal/module.js:11:18)
rendertron_1 | at Object.<anonymous> (/app/node_modules/puppeteer/lib/cjs/puppeteer/common/Target.js:19:19)
rendertron_1 | npm ERR! code ELIFECYCLE
rendertron_1 | npm ERR! errno 1
rendertron_1 | npm ERR! rendertron@3.1.0 start: `node build/rendertron.js`
rendertron_1 | npm ERR! Exit status 1
rendertron_1 | npm ERR!
rendertron_1 | npm ERR! Failed at the rendertron@3.1.0 start script.
rendertron_1 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
rendertron_1 |
rendertron_1 | npm ERR! A complete log of this run can be found in:
rendertron_1 | npm ERR! /root/.npm/_logs/2021-04-28T04_17_36_835Z-debug.log
aspnetcorerendertron_rendertron_1 exited with code 1
Any guys can shred the light on how to fix this issue?
I have seen the repo is quite old, the last commit was almost 3 years ago. Do we have to maintain it or we have any other forks to maintain this cool project?
The text was updated successfully, but these errors were encountered:
Hi team,
I have cloned this git repo into my local machine and tried to run it on my Windows 10 box as below
It built successfully with no error. Then the next step, I put another command to run it as the following
In this stage, I have got the exception
Unexpected token
. The full stack trace information as belowAny guys can shred the light on how to fix this issue?
The text was updated successfully, but these errors were encountered: