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

Post Installation Errors #26

Open
HamptonMakes opened this issue Dec 4, 2020 · 3 comments
Open

Post Installation Errors #26

HamptonMakes opened this issue Dec 4, 2020 · 3 comments

Comments

@HamptonMakes
Copy link

On an existing project, I attempted to follow the installation instructions, and everything was fine until my first attempt at starting the dev server:

[snowpack] [Snowpack 2.11.0] `buildOptions.minify` has moved to package "@snowpack/plugin-optimize". Install it and include as a plugin in your Snowpack config file.

See https://www.snowpack.dev/#configuration for more info.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
rails aborted!
Command failed with status (1): [NODE_ENV=development yarn run snowpack dev...]
/Users/hcatlin/.rvm/gems/ruby-2.7.2/bundler/gems/snowpacker-96eb376f9726/lib/snowpacker/runner.rb:40:in `snowpacker_command'
/Users/hcatlin/.rvm/gems/ruby-2.7.2/bundler/gems/snowpacker-96eb376f9726/lib/snowpacker/runner.rb:32:in `dev'
@HamptonMakes
Copy link
Author

I then noticed there was a yarn command, so tried to run NODE_ENV=development yarn run snowpack dev which resulted in:

snowpack

▼ Console

[snowpack] File size (31551019513) is greater than 2 GB

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@KonnorRogers
Copy link
Owner

KonnorRogers commented Dec 4, 2020

Yea this repo needs some love. This was created back around Snowpack v2.7.1 It appears I have to tweak the config options. I have plans to pin versions in the NPM package to prevent this stuff. I believe they're now on v2.17.1 and just announced the rc for v3.0.0. Definitely need to look into whats going on here, but this needs updates in general.

@KonnorRogers
Copy link
Owner

I also just pushed up 80 commits I had laying around on my development branch to allow users to play around with this a little more. Its possible this may solve these issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants