Skip to content

pakage.json #55627

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

Closed
vaish73 opened this issue May 2, 2025 · 1 comment
Closed

pakage.json #55627

vaish73 opened this issue May 2, 2025 · 1 comment

Comments

@vaish73
Copy link

vaish73 commented May 2, 2025

Laravel Version

12.11.1

PHP Version

8.2

Database Driver & Version

sqlite

Description

I'm experiencing an issue in my Laravel 12 project where the package.json file seems to be ignored or not working properly. When I try to run npm run build or any other npm script, nothing happens or I receive errors related to missing scripts or dependencies. It looks like the JSON package isn't being recognized or executed correctly. This is blocking my ability to build frontend assets and continue development. I expect Laravel 12 to properly handle the build setup out of the box, but this is proving to be a frustrating obstacle.

Steps To Reproduce

In my Laravel 12 project, the build process fails because the package.json scripts don't seem to execute properly. When I run npm run build, nothing happens, or I get errors related to missing scripts or dependencies. This suggests that either the package.json file is misconfigured, dependencies are not installed, or something in the environment is preventing the build process from running.

@crynobone
Copy link
Member

Hi there,

Thanks for reporting the problem you are encountering, but it looks like this is a question which may be better suited for a support channel. We only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repository you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.

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