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

cannot install under mac os x "requires a peer of ajv@>=5.0.3-beta.0 but none was installed." #179

Closed
kwccoin opened this issue Mar 16, 2017 · 3 comments

Comments

@kwccoin
Copy link

kwccoin commented Mar 16, 2017

Strange if one ignore it, whilst one cannot generate the mac version, one can still generate a web version and run on a browser.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-linux@^1.0.3 (node_modules/7zip-bin/node_modules/7zip-bin-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"any"} (current: {"os":"darwin","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-win@^2.0.2 (node_modules/7zip-bin/node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"darwin","arch":"x64"})
npm WARN [email protected] requires a peer of ajv@>=5.0.3-beta.0 but none was installed.

@yishn
Copy link
Member

yishn commented Mar 16, 2017

Seems like this has something to do with electron-userland/electron-builder#1344. This is only a warning though, does npm run pack and npm run dist:macos work?

@dfannius
Copy link
Contributor

I got past this by following the directions at https://github.com/epoberezkin/ajv which say to run npm install ajv@^5.0.3-beta.

@yishn
Copy link
Member

yishn commented Mar 30, 2017

This is only a warning and does not affect building. I'm closing this, as it can't be fixed.

@yishn yishn closed this as completed Mar 30, 2017
@yishn yishn added the wontfix label Mar 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants