We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: 1.6.0
running netlify dev produces the following error, didn't receive this on the previous version (1.5.1):
netlify dev
Error: Command failed: npm run build internal/modules/cjs/loader.js:628 throw err; ^ Error: Cannot find module 'globby' Require stack: - D:/my-app/node_modules/netlify-lambda/lib/install.js - D:/my-app/node_modules/netlify-lambda/bin/cmd.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15) at Function.Module._load (internal/modules/cjs/loader.js:527:27) at Module.require (internal/modules/cjs/loader.js:683:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (D:/my-app/node_modules/netlify-lambda/lib/install.js:3:16) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:643:32) at Function.Module._load (internal/modules/cjs/loader.js:556:12) at Module.require (internal/modules/cjs/loader.js:683:19) { code: 'MODULE_NOT_FOUND', requireStack: [ 'D://my-app//node_modules//netlify-lambda//lib//install.js', 'D://my-app//node_modules//netlify-lambda//bin//cmd.js' ] } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build: `netlify-lambda build express` npm ERR! Exit status 1 npm ERR!
I fixed this for the time being by installing globby manually.
The text was updated successfully, but these errors were encountered:
thanks for the issue.
hmm, globby is a devdependency. i guess it has to be promoted to a full dependency?
altho when i tested it in production today I did not have this problem.
Sorry, something went wrong.
I also got this error, solved by adding the package to my package.json. Would be good to get it fixed for new installs, though.
package.json
gotcha thanks for feedback
8e217f5
Successfully merging a pull request may close this issue.
Version: 1.6.0
running
netlify dev
produces the following error, didn't receive this on the previous version (1.5.1):I fixed this for the time being by installing globby manually.
The text was updated successfully, but these errors were encountered: