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

Adding sls-offline breaks build #10

Open
bsliu17 opened this issue Nov 17, 2019 · 1 comment
Open

Adding sls-offline breaks build #10

bsliu17 opened this issue Nov 17, 2019 · 1 comment

Comments

@bsliu17
Copy link

bsliu17 commented Nov 17, 2019

Hi, love your work with this monrepo for lerna + serverless.

Inside sls-random, i've added serverless-offline as devDep and ran yarn run build and got this error:

1 import { fetchRandomNumber as fetchNumber } from '@org/random'
                                                   ~~~~~~~~~~~~~
Found 1 error.

I can't figure out why this occurs by simply adding sls-offline. Any idea why this is happening?

@ajhool
Copy link

ajhool commented Nov 17, 2019

Is there any more error information?

My guess is that you have not added @org/random as a dependency

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