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

Can't serve site on Mac #8

Closed
stephanieluz opened this issue May 5, 2020 · 1 comment · Fixed by #10
Closed

Can't serve site on Mac #8

stephanieluz opened this issue May 5, 2020 · 1 comment · Fixed by #10

Comments

@stephanieluz
Copy link
Collaborator

plenti serve

Creating "public" build directory
Temp writing '/build.js' file.
Temp writing '/main.js' file.
Temp writing '/router.svelte' file.
Creating non-ejected core files for build took 603.266µs

Gathering data source from "content/" folder
Number of content files used: 6
Creating data_source took 1.614468ms

Prepping client SPA for svelte compiler
Number of source files copied: 1
Number of components to be compiled: 12
Prepping client SPA data took 1.003576ms

Compiling components and creating static HTML took 424.775935ms

Running gopack to build esm support for:
- navaid, version ^1.0.5
- regexparam, version ^1.3.0
- svelte, version ^3.21.0
Gopack took 28.402194ms
Removing temp file 'layout/ejected/build.js'
Removing temp file 'layout/ejected/main.js'
Removing temp file 'layout/ejected/router.svelte'
Removing the ejected directory.
Cleaning up non-ejected core files took 325.16µs

Total build took 457.058828ms

Serving site from your "public" directory.
Visit your site at http://localhost:3000/
ERROR open node_modules/svelte/types/compiler/parse/utils: too many open files
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
2020/05/05 14:34:37 http: Accept error: accept tcp [::]:3000: accept: too many open files; retrying in 5ms
2020/05/05 14:34:37 http: Accept error: accept tcp [::]:3000: accept: too many open files; retrying in 10ms
2020/05/05 14:34:37 http: Accept error: accept tcp [::]:3000: accept: too many open files; retrying in 20ms
2020/05/05 14:34:37 http: Accept error: accept tcp [::]:3000: accept: too many open files; retrying in 40ms
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
2020/05/05 14:34:42 http: Accept error: accept tcp [::]:3000: accept: too many open files; retrying in 80ms
2020/05/05 14:34:42 http: Accept error: accept tcp [::]:3000: accept: too many open files; retrying in 160ms
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
2020/05/05 14:34:42 http: Accept error: accept tcp [::]:3000: accept: too many open files; retrying in 320ms
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
Unable to read site config file: unexpected end of JSON input

Removing old "public" build directory
open .: too many open files
^C
@stephanieluz
Copy link
Collaborator Author

Seems to be related to FSEvents: fsnotify/fsnotify#11

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

Successfully merging a pull request may close this issue.

1 participant