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

Not compatible with node 10 #9

Open
pluby opened this issue Sep 9, 2021 · 0 comments
Open

Not compatible with node 10 #9

pluby opened this issue Sep 9, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@pluby
Copy link

pluby commented Sep 9, 2021

Get an error running on node 10:

web_1            | PID of Peritus: 41
web_1            | /tmp/src/node_modules/couchdb-utils/node_modules/node-fetch/src/index.js:9
web_1            | import http from 'http';
web_1            |        ^^^^
web_1            | 
web_1            | SyntaxError: Unexpected identifier
web_1            |     at Module._compile (internal/modules/cjs/loader.js:723:23)
web_1            |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
web_1            |     at Module.load (internal/modules/cjs/loader.js:653:32)
web_1            |     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
web_1            |     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
web_1            |     at Module.require (internal/modules/cjs/loader.js:692:17)
web_1            |     at require (internal/modules/cjs/helpers.js:25:18)
web_1            |     at Object.<anonymous> (/tmp/src/node_modules/couchdb-utils/lib/couchdb-utils.js:29:15)
web_1            |     at Module._compile (internal/modules/cjs/loader.js:778:30)
web_1            |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
web_1            | [nodemon] app crashed - waiting for file changes before starting...
@pluby pluby added the bug Something isn't working label Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant