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

npm run start error code 126 #44

Open
seafarer opened this issue Oct 5, 2021 · 4 comments
Open

npm run start error code 126 #44

seafarer opened this issue Oct 5, 2021 · 4 comments

Comments

@seafarer
Copy link

seafarer commented Oct 5, 2021

Im trying to get local development going to try and add other projects but I'm getting stuck trying to start the server. This is the error I get:

[2] sh: ~/www/rarity-analyzer/node_modules/.bin/copyfiles: Argument list too long
[2] npm run start:client exited with code 126

Any thoughts on how to troubleshoot or what could be causing this?

I've had mixed results running npm run build and accessing the site with a local nginx install, sometimes it works sometimes it doesnt. My react/js skill is limited.

@hemanCalvin
Copy link
Collaborator

What version of npm and node are you running?

@seafarer
Copy link
Author

Output of NVM:

Now using node v16.9.1 (npm v7.21.1)

Happy to try any other version.

@skiinginjeans
Copy link

@seafarer I had to use the solution proposed here: calvinmetcalf/copyfiles#14

This meant updating the package.json on publish:client & start:rarities cmds - wrapping the folder path when using globs in quotations

@seafarer
Copy link
Author

Thanks @0xdruu - I'll try this this weekend 🙏

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

3 participants