Skip to content

Now able to run the project. #295

@alanbosco003

Description

@alanbosco003

I'm not able to run the project, I'm getting this below error.

[0] 
[0] 
[0] 12:18:40 AM - Found 0 errors. Watching for file changes.
[2]                                                       
[2]                         #######                       
[2]                    ################                   
[2]                 #########     #########               
[2]             #########             ##########          
[2]         #########        ######        #########      
[2]        ##########################################     
[2]       #####      #####################       #####    
[2]       #####          ##############          #####    
[2]       #####    ###       ######       ###    #####    
[2]       #####    #######            #######    #####    
[2]       #####    ###########    ###########    #####    
[2]       #####    ##########################    #####    
[2]       #####    ##########################    #####    
[2]       #####      ######################     ######    
[2]        ######        #############        #######     
[2]          #########        ####       #########        
[2]               #########          #########            
[2]                   ######### #########                 
[2]                        #########                      
[2]                                                       
                                                      
[2]                     Welcome to Metro!
[2]               Fast - Scalable - Integrated
[2] 

[1] (node:9223) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/alan/playground/react/github-contribution/devhub/node_modules/postcss-safe-parser/node_modules/postcss/package.json.
[1] Update this package.json to use a subpath pattern like "./*".
[1] (Use `node --trace-deprecation ...` to show where the warning was created)
[1] ℹ 「wds」: Project is running at http://192.168.15.153/
[1] ℹ 「wds」: webpack output is served from 
[1] ℹ 「wds」: Content not from webpack is served from /Users/alan/playground/react/github-contribution/devhub/packages/web/public
[1] ℹ 「wds」: 404s will fallback to /
[1] Starting the development server...
[1] 
[1] Browserslist: caniuse-lite is outdated. Please run:
[1] npx browserslist@latest --update-db
[1] 
[1] Why you should do it regularly:
[1] https://github.com/browserslist/browserslist#browsers-data-updating
[2] /Users/alan/playground/react/github-contribution/devhub/node_modules/metro-hermes-compiler/src/emhermesc.js:81
[2]           throw ex;
[2]           ^
[2] 
[2] Error: EMFILE: too many open files, watch
[2]     at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:204:21)
[2] Emitted 'error' event on NodeWatcher instance at:
[2]     at NodeWatcher.checkedEmitError (/Users/alan/playground/react/github-contribution/devhub/node_modules/sane/src/node_watcher.js:143:12)
[2]     at FSWatcher.emit (node:events:513:28)
[2]     at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:210:12) {
[2]   errno: -24,
[2]   syscall: 'watch',
[2]   code: 'EMFILE',
[2]   filename: null
[2] }
error Command failed with exit code 7.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
[2] Exit code: 7
[2] Command: /Users/alan/.nvm/versions/node/v16.20.2/bin/node
[2] Arguments: /opt/homebrew/Cellar/yarn/1.22.21/libexec/lib/cli.js start
[2] Directory: /Users/alan/playground/react/github-contribution/devhub/packages/mobile
[2] Output:
[2] 
info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
[2] yarn workspace @devhub/mobile start exited with code 7
--> Sending SIGTERM to other processes..
[3] wait-on http://localhost:3000 && yarn workspace @devhub/desktop start exited with code SIGTERM
--> Sending SIGTERM to other processes..
[0] yarn workspace @devhub/desktop compile -w exited with code 1
--> Sending SIGTERM to other processes..
[1] yarn workspace @devhub/web start exited with code 1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.```


I'm running using 

`yarn dev`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions