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

/definitions/ecosystem_settings.js references launcher.js, which no longer exist #54

Open
littnils opened this issue May 13, 2021 · 1 comment

Comments

@littnils
Copy link

littnils commented May 13, 2021

When trying to launch an indexer via
pm2 start --only chain-indexer --update-env
the launch fails with the error message that launcher.js doesn't exist. Changing it to launcher.ts results in a different error when trying to start the indexer:
SyntaxError: Cannot use import statement outside a module.

Also launcher.ts does not seem to be a typescript-converted version of launcher.js, as the original launcher.js has been deleted in this commit 647b6f7 while launcher.ts has just been renamed from indexer.ts

@siliconswampio
Copy link

It has happened to me that postinstall script (package.json) fails and I had to run the command manually (after npm install):

npm run tsc && npm run fix-permissions

After that, launcher.js is generated.

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

No branches or pull requests

3 participants