Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Install fails #32

Open
mayeaux opened this issue Oct 13, 2020 · 1 comment
Open

Install fails #32

mayeaux opened this issue Oct 13, 2020 · 1 comment

Comments

@mayeaux
Copy link

mayeaux commented Oct 13, 2020

$ npm install --save protonmail-api

> puppeteer@3.3.0 install/nodetube/node_modules/puppeteer
> node install.js

nodetube/node_modules/puppeteer/install.js:175
            } catch {
                    ^

SyntaxError: Unexpected token {
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:617:28)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3
@mayeaux
Copy link
Author

mayeaux commented Oct 13, 2020

Turns out you need at least Node V10, maybe it should be added to the docs in the Puppeteer section

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

No branches or pull requests

1 participant