-
Notifications
You must be signed in to change notification settings - Fork 86
Remove npm install next-on-netlify
#10
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
Comments
@ehmicky this is a bug jason and i discovered monday night. without running the command on line 31, the function bundling errors out because it's unable to find next-on-netlify dependencies. |
If |
|
npm install next-on-netlify
?npm install next-on-netlify
Related: netlify/next-on-netlify#56 The problem is the following. When The above workaround works because However, there is no need for the site to install all of That being said, running I would suggest the two following action points to solve this issue:
|
Some PR at #48 for the first point. |
i just merged your PR and think we can close this issue. i just synced with finn and he's removing the next-aws-lambda dependency in a WIP PR: netlify/next-on-netlify#85 proposal:
let me know your thoughts! i defer to you @ehmicky edit: merged finn's NoN PR, opened a followup PR in here :) |
Yes, problem solved! |
* chore: don't force target * fix: add warning * fix: update tests
feat: use NFT to trace handler dependencies
next-on-netlify
is already adependencies
of this plugin.https://github.com/netlify/netlify-plugin-nextjs/blob/ef4529016ed0f87ae89d5f312dc8f8f08d1ef7b6/package.json#L28
https://github.com/netlify/netlify-plugin-nextjs/blob/ef4529016ed0f87ae89d5f312dc8f8f08d1ef7b6/index.js#L6
https://github.com/netlify/netlify-plugin-nextjs/blob/ef4529016ed0f87ae89d5f312dc8f8f08d1ef7b6/index.js#L92
Should the following statement be removed?
https://github.com/netlify/netlify-plugin-nextjs/blob/ef4529016ed0f87ae89d5f312dc8f8f08d1ef7b6/index.js#L31
Note:
@latest
is the default npm tag, so is not required here.The text was updated successfully, but these errors were encountered: