-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fixing Multipage Error & Adding Completion Stamps #43
Conversation
Ok, I'll look into it now |
That crypto error is most likely because of the .env file. Note the iv key here should never be used for production. I'll update the readme to reflect the fact. There is another error I'll try to debug.
|
https://www.loom.com/share/d11c57402cc141a48d1adda53fe6c126 @karansampath Can you test if the multipage surveys works with more than one question on each page? |
https://www.loom.com/share/aace88098ef54b7b8f7dc19f0c3f4fdc |
The curr page is 1 forward.
…nd then it will be auto generated
My computer crashed, and I've been unable to run and verify the code since. The following error keeps showing up:
Looked over it and doesn't seem to have any issues. |
Your .env file is wrong. The error is coming from config. Remember you have to also start mongo test service with sudo service mongo start.
…Sent from my iPhone
On Nov 19, 2021, at 6:52 PM, Karan Sampath ***@***.***> wrote:
My computer crashed, and I've been unable to run and verify the code since. The following error keeps showing up:
Error: Please set mongo db uri or db
at Object.<anonymous> (/Users/karansampath/Documents/GitHub/surveyor/built/config.js:18:11)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.<anonymous> (/Users/karansampath/Documents/GitHub/surveyor/built/server.js:45:16)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
The terminal process "zsh '-c', 'npm run start'" terminated with exit code: 1.
Looked over it and doesn't seem to have any issues.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@markwhiting I've tested this on the server, and I think this should be ready to go. @karansampath DM me and we can try to resolve these issue on your local machine. |
Have modified the code to deal with multipage #40 breaking earlier changes in #42. There still seems to be an error caused by the crypto key which I'm unsure how to rectify @sumants-dev. Have attached the stack trace below: