Comments (7)
Can i see your serverless.yml
Also are you trying to deploy by function or the whole thing?
from nx-plugins.
The serverless.yml is straightforward
service: myapi
frameworkVersion: ">=1.1.0 <2.0.0"
plugins:
- serverless-offline
package:
individually: true
excludeDevDependencies: true
custom:
enable_optimize:
local: false
provider:
name: aws
runtime: nodejs12.x
stage: dev
region: us-east-1
profile: recom_dev
functions:
hello-world:
handler: src/hello-world/hello-world.handler
events:
- http:
path: hello-world
method: get
The workspace.json also default
Failed when checking peer dependencies causing missing packages when running on Lambda. So much appreciated if we can fix this issue quickly
from nx-plugins.
@wickstargazer today I also found a mistake of the normalize util at
I can submit a PR that fixes both issues. Can I have write access to this repo?
from nx-plugins.
Hi! Would you mind forking it and submitting a PR?
Also would you kind elaborating the mistake in normalize?
from nx-plugins.
I have submitted a PR to fix two issues, let me know if I need to provide more details
from nx-plugins.
There are two issues on the normalize util
- The packagePath is a full path, so we can use dirname to get workspace root path
- Missing the packageJson when calling the getProdModules function
from nx-plugins.
Hi!, I have published 0.5.1
please see if it works :)
from nx-plugins.
Related Issues (20)
- [BUG] Cannot create new api HOT 1
- [BUG] Cannot find module '@nrwl/workspace/src/utilities/run-webpack' HOT 1
- [BUG] Schematic "init" cannot resolve the factory. HOT 3
- [BUG] nx-serverless: Property 'port' does not match the schema. '7777' should be a 'number'. HOT 1
- [BUG] When using npm as packager, pacakgelist is not properly computed resulting in "*" for all package versions HOT 2
- [FEAT] Webpack stats.json support HOT 4
- [BUG] NX 13 and Webpack5 Support HOT 10
- Configuration error at 'useDotenv': should be equal to constant HOT 2
- [BUG] After creating monorepo blank workspace not able to create api HOT 3
- [FEAT] Nx-Serverless | option to exclude ALL dependencies from build HOT 1
- Cannot destructure property 'name' of 'node' as it is undefined. - @flowaccount/scully-plugin-angular-delay
- Support newer Serverless framework
- [BUG] Not able to run or build the freshly scaffolded project HOT 3
- [FEAT] Build functions individually HOT 9
- [BUG] Zip file resolution error when deploying a single artifact HOT 18
- Allow for a serverless.ts file HOT 8
- [BUG] External dependencies are unavailable after deploying HOT 5
- [BUG] Cannot Include Json Schema in serverless.yml HOT 6
- [BUG] Runtime.ImportModuleError in every Lambda function after deploying new project HOT 2
- [BUG] Missing compat.ts for sls executor HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nx-plugins.