-
Notifications
You must be signed in to change notification settings - Fork 485
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
Unexpected token from documentation readme? #1068
Comments
even |
Looks like your version of node is too old. |
I'm new to node so I didn't realize. Thanks for the quick help! :D |
Worked once and now I get fs.js1024
|
copy pasting all files to test.js and running works... |
Are you running some unusual filesystem or operating system? These errors are deep in heavily-tested, general modules that documentation.js uses internally, it's very unlikely that they're an actual bug in documentation.js. |
It is a relatively clean install of ubuntu 16 LTS. |
I am using this in a rollup project, and it bundles so I do not think it is an error with import statments... |
I have tried uninstall and reinstalling node (and updating to latest version), and I still get this error (but I can run documentation if I copy everything to a test file) |
🤔 Okay, this may be a Node v10 thing, according to the related issues. I'll look into it this evening. |
Sorry I can't be more help, but I just started using node when I opened this issue - so I am still very green and don't really know how to debug it. I am willing to uninstall and reinstall if you give me the commands to run (as there are multiple ways to do this) if it helps with debugging |
If it helps, the repo is: |
This was, indeed, a Node v10 bug. Fixed upstream in nodejs/node#20498 |
installed with
npm install -g documentation
with
Warn optional skipping failed optional dependency fsevents
Ran:
documentation build src/** -f html -o docs
got
The text was updated successfully, but these errors were encountered: