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

Netlify build function failed #83

Closed
hightall opened this issue Nov 22, 2019 · 0 comments
Closed

Netlify build function failed #83

hightall opened this issue Nov 22, 2019 · 0 comments
Assignees
Labels

Comments

@hightall
Copy link
Contributor

Expected Behavior

Build function successfully

Current Behavior

Build function failed

Possible Solution

Add netlify.tolm under dashboard folder

Detailed Description and log

10:00:38 PM: No netlify.toml found. This is needed to configure the function settings. For more info: https://github.com/netlify/netlify-lambda#installation
10:00:38 PM: npm ERR! code ELIFECYCLE
10:00:38 PM: npm ERR! errno 1
10:00:38 PM: npm
10:00:38 PM: ERR! cello-dashboard@1.0.0 functions:build: npm run generateMock && netlify-lambda build ./lambda
10:00:38 PM: npm
10:00:38 PM: ERR! Exit status 1
10:00:38 PM: npm
10:00:38 PM: ERR!
10:00:38 PM: npm
10:00:38 PM: ERR!
10:00:38 PM: Failed at the cello-dashboard@1.0.0 functions:build script.
10:00:38 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
10:00:38 PM: npm
10:00:38 PM: ERR! A complete log of this run can be found in:
10:00:38 PM: npm ERR! /opt/buildhome/.npm/_logs/2019-11-21T14_00_38_805Z-debug.log
10:00:38 PM: Function Dir: /opt/build/repo/src/dashboard/functions

Possible Implementation

@hightall hightall added the bug label Nov 22, 2019
@hightall hightall self-assigned this Nov 22, 2019
litong01 added a commit that referenced this issue Nov 22, 2019
[Close #83] Fix netlify build function failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant