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

nx-deploy-it could not be installed #79

Closed
vaggelis-diatsigkos opened this issue May 28, 2021 · 11 comments · Fixed by Dev-Thought/pulumi-npm#10
Closed

nx-deploy-it could not be installed #79

vaggelis-diatsigkos opened this issue May 28, 2021 · 11 comments · Fixed by Dev-Thought/pulumi-npm#10
Labels
bug Something isn't working

Comments

@vaggelis-diatsigkos
Copy link

vaggelis-diatsigkos commented May 28, 2021

Describe the bug
When I am trying to install nx-deploy-it package fails with error Failed at the @dev-thought/pulumi-npm@1.6.4 postinstall script.

To Reproduce
run npx nx add @dev-thought/nx-deploy-it

Logs

npm ERR! code ELIFECYCLE
npm ERR! errno 40
npm ERR! @dev-thought/pulumi-npm@1.6.4 postinstall: `node src/install-pulumi`
npm ERR! Exit status 40
npm ERR!
npm ERR! Failed at the @dev-thought/pulumi-npm@1.6.4 postinstall script.

Application type:
[x] Angular
[x] NestJS

Provider:
[] AWS
[x] Azure
[] Google Cloud Platform

nx-deploy-it version
2.0.0

@vaggelis-diatsigkos vaggelis-diatsigkos added the bug Something isn't working label May 28, 2021
@MitkoTschimev
Copy link
Contributor

Which operating system are you using?

@vaggelis-diatsigkos
Copy link
Author

Which operating system are you using?

Windows 10

@aterreno
Copy link

aterreno commented Jul 8, 2021

Hey @MitkoTschimev I just tried npx nx add @dev-thought/nx-deploy-it on mac and it doesn't work as well.

is this project still in active development?

@MitkoTschimev
Copy link
Contributor

Yes it is but I don't have so much time. I used it just 2 days ago for a small side project and I had an issue with missing angular devkit. That happens because I still have an open branch where I'm migrating to the new nx devkit completely.

Can you check if you had the same issue with angular devkit?

@aterreno
Copy link

aterreno commented Jul 9, 2021

@MitkoTschimev I don't use angular

@MitkoTschimev
Copy link
Contributor

Sure but nx was built on top of angular schematics. Now everything is built on top of their own nx devtools. But all the plug-in providers need to migrate ;)

What kind of error do you get?

@aterreno
Copy link

❯ yarn add -D @dev-thought/nx-deploy-it
yarn add v1.22.10
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
error /Users/toni/code/aterreno/pulumi-recipies/node_modules/@dev-thought/pulumi-npm: Command failed.
Exit code: 10
Command: node src/install-pulumi
Arguments:
Directory: /Users/toni/code/aterreno/pulumi-recipies/node_modules/@dev-thought/pulumi-npm
Output:
Unfortunately, your platform and architecture (darwin, arm64) isn't currently supported by Pulumi. Please uninstall this package.

It's because of my M1 I guess. But Pulumi is fine now with this

@aterreno
Copy link

I see the issue comes from upstream from https://github.com/dev-thought/pulumi-npm

I might give it a go and try to fix it

@MitkoTschimev
Copy link
Contributor

Ah ok, that's possible. Unfortunately, I don't have the M1 so maybe you can try to fix it in the package pulumi-npm. Would be a great contribution.

@aterreno
Copy link

aterreno commented Jul 15, 2021 via email

@MitkoTschimev
Copy link
Contributor

Released version 1.7.0

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

Successfully merging a pull request may close this issue.

3 participants