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
Node v13 #291
Comments
Not sure how the binaries get published. I think TravisCI used to do it but I'm not sure about Github Workflows. Is it just a matter of adding v13 here? fsevents/.github/workflows/nodejs.yml Lines 10 to 12 in b0bb4d6
|
You are trying to install fsevents v1, which is unsupported at this point. You will need to upgrade to fsevents v2. fsevents v2 doesn't download binaries from a shady AWS service. Big improvement. |
@pipobscure can we get v13 binaries published? |
I solved the above issue by removing rm -rf node_modules yarn.lock package-lock.json
PYTHON=python2 yarn install |
@pipobscure and @paulmillr this issue is still present and breaks vue cli installation on node 13. It also breaks installation with express.js or apollo. The package looks for the binaries but it cannot find them - you can fix it installing fsevents into the project directly as dependence, but I do think this is not the right approach (clearly the error will be put up again starting a new different project). Vue cli is installed with -g, and that dependence should be also installed g. What do you guys think? Probably publishing the binaries in the shady AWS service for a bit longer until other publisher are up to speed with the new system (vers 2) it would be smart.
The code runs, and it fails miserably. The other option is going back to node 12 last version, and it eliminates the issue (I guess the problem is just with the binaries that are not available).
Success with Node 12 - Failure with Node 13. Everything install greatly on Node 13 except fsevents. |
Hi all, first off, new binaries will be coming, however it will take a bit. There already is a new version v2.x that does not need new binaries on new node versions. This is already in chokidar v3.x. So vue, apollo, etc. have the option to solve this for you permanently. If you could also raise an issue requesting the thing you installed to update to chokidar v3 with fsevents v2? This would solve the problem permanently, rather than the stopgap of releasing new binaries for every nee node version. Thanks! |
I know nothing of node etc., just trying to get the pet-shop running. Is there a workaround of achieving to use v2.x. Could someone please write down the steps to achieve it? |
Nope, nothing has changed. |
@pipobscure ping ? |
Any idea around when this will be fixed? |
This is not something to be "fixed". One needs to have XCode command-line tools installed in order to install/compile native modules. There no longer are credentials for AWS. So the installs are actually a bit risky. In addition 1.2.x is really deprecated. I've just done a release that removes node-pre-gyp dependency and therefore the ability/failure to download prebuilt binaries. |
@pipobscure did you intend to publish 1.2.11 to npm? There's a commit (909af26) but not a corresponding publish. |
Sorry, oversight. It’s been published |
Thanks @pipobscure. It looks like there's an inconsistency between the 1.2.11 commit and the published version. Specifically, the published version declares a dependency on You can confirm by running:
Was this intentional? |
Could anyone give a quick TL;DR on how to fix this?
My error:
My env:
@ziishaned I'm sorry, but this comment is helpless for me. Could you please elaborate on why it is necessary to remove the node_modules and lock files? Please tell me you need more info about my environment etc. |
@vyorkin try reinstalling
|
@vyorkin
|
@ziishaned Thank you, but as I can see here, here and here it is mentioned that node-gyp supports python3 as well:
This appears a bit odd and unclear to me.
Gives me the same error mentioned above. Some more details about my current env:
I've tried to follow the Configuring Python Dependency guide. Here is what I had before:
Then I've tried setting the path to python3 executable:
But got the same error. Then I've tried setting this path to python (2) executable:
But this doesn't help either -- same error. Then I tried setting the env var:
Same error. I would appreciate any further suggestions... Thank you. |
Anyway, it might be a good idea to add something (a troubleshooting guide?) about this to README of Wiki. I can help, but obviously I don't have enough knowledge about the source of this issue. |
it works for me. |
In my case, I solved this by adding
Testing with a fresh |
There are currently no pre-compiled binaries for node v13, so installation fails:
The text was updated successfully, but these errors were encountered: