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

@parcel/watcher error when regenerate package-lock.json #1

Open
hangoocn opened this issue May 5, 2024 · 0 comments
Open

@parcel/watcher error when regenerate package-lock.json #1

hangoocn opened this issue May 5, 2024 · 0 comments

Comments

@hangoocn
Copy link

hangoocn commented May 5, 2024

I have used ththis template to create my first gen 2 app, and tried to delete package-lock.json the regenerate it using npm install on windows, it build successlly in my local, but when push to remote, amplify console rebuild will Error: No prebuild or local build of @parcel/watcher found.

I checked package_lock.json, only windows prebuild is there and missing linux ones, so just rollback to the original package-lock.json and npm install on top of it to fix it, but this is not intuitive.

Not sure if this is a bug, but it actually takes me a few hours to figure out, just post it here in case anyone else experience the same.

Btw, want to thanks Gen2 team to make such a great improvement to amplify that makes dev so much easier, it is a great idea to put front-end/backend work closer and share same node_modules, and involves cdk is a great thing that removes the black box of cli. 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

1 participant