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

[How to use] Out of memory on npm install of forked package #200

Closed
ahozeyo opened this issue Apr 7, 2024 · 1 comment
Closed

[How to use] Out of memory on npm install of forked package #200

ahozeyo opened this issue Apr 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ahozeyo
Copy link

ahozeyo commented Apr 7, 2024

Issue summary

I fork and use the package to support localization languages.
When deploying to Heroku using docker with the following command
git push heroku main
I get an error during npm install.

If I install directly without forking this package, the problem does not occur.

Expected behavior

Installation is completed.

Actual behavior

Insufficient memory as shown below.

remote: Step 6/8 : RUN npm install github:maneko00/discount-app-components
remote:  ---> Running in 4b4d7094a667
remote: operties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
remote: npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
remote: The command '/bin/sh -c npm install' returned a non-zero code: 137
remote: 
remote: Verifying deploy...
remote: 
remote: !       Push rejected to deploy-test-01.
remote: 
To https://git.heroku.com/deploy-test-01.git
 ! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/deploy-test-01.git'

Steps to reproduce the problem

  1. Fork this project.
  2. Allow npm install of the forked project.
    package.json
"dependencies": {
    "my-package": "github:user/discount-app-components"
}
  1. Deploy the application to Heroku according to the article.
    https://shopify.dev/docs/apps/deployment/web

Specifications

  • discount-app-components version number:v2.1.1
  • Operating System:Mac OS
@ahozeyo ahozeyo added the bug Something isn't working label Apr 7, 2024
@ahozeyo
Copy link
Author

ahozeyo commented Apr 20, 2024

I stopped installing from the forked end.

@ahozeyo ahozeyo closed this as completed Apr 20, 2024
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

No branches or pull requests

1 participant