Comments (7)
are you using master?
from dvsa.
Yes, I'm using master.
from dvsa.
Can you please paste the function's logs from CloudWatch logs?
from dvsa.
{
"errorType": "Runtime.ImportModuleError",
"errorMessage": "Error: Cannot find module 'node-serialize'\nRequire stack:\n- /var/task/backend/src/functions/order-api/order-manager-js.js\n- /var/runtime/UserFunction.js\n- /var/runtime/index.js",
"trace": [
"Runtime.ImportModuleError: Error: Cannot find module 'node-serialize'",
"Require stack:",
"- /var/task/backend/src/functions/order-api/order-manager-js.js",
"- /var/runtime/UserFunction.js",
"- /var/runtime/index.js",
" at _loadUserApp (/var/runtime/UserFunction.js: 100:13)",
" at Object.module.exports.load (/var/runtime/UserFunction.js:140:17)",
" at Object. (/var/runtime/index.js:43:30)",
" at Module._compile (internal/modules/cjs/loader.js:999:30)",
" at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)",
" at Module.load (internal/modules/cjs/loader.js:863:32)",
" at Function.Module._load (internal/modules/cjs/loader.js:708:14)",
" at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)",
" at internal/main/run_main_module.js:17:47"
]
}
from dvsa.
Another thing is that i had to change the command:
webpack -p --env production --mode production
inside client/package.json to
webpack -p --mode production
because the command npm run-script client:build does not work in my case otherwhise.
from dvsa.
can you please re-try now
from dvsa.
I know its quite late. The problem was that the node-serialize was not included in the ORDER-MANGER package.
I've updated the version. you can take a look now.
from dvsa.
Related Issues (20)
- be-stack.json file missing when building client HOT 2
- npm i , Error with node version 8 (working with version 10) HOT 1
- packaging freezes for long time HOT 1
- When I deploy backend,I got the error “The CloudFormation template is invalid...." HOT 1
- Cannot deploy Serverless Repo to AWS lambda HOT 2
- create default admin user HOT 1
- Problems I'm having with lessons... willing to understand and learn HOT 4
- CannotDeploy DVSA from the AWS Serverless Application Repository
- AWS Deploy Error HOT 2
- after deploy i got link but link is not working imnot getting how to change permissions HOT 2
- Attach File is not working in Contact HOT 1
- Attach File is not working in Feedback Information HOT 2
- DVSA CREATE_failed HOT 2
- Deployable on OpenFaaS or OpenWhisk
- Step by step guide - "npm i" fails with error HOT 1
- store profile info in localStorage
- Error Deploying DVSA
- create SAM template for DVSA
- Code Missing? HOT 1
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 dvsa.