Forge deploy failure for ui kit forge app

Hi,
I am trying to use SQLite in-memory database to store a list of issues. However, I am getting the error below:

Error: Bundling failed: Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See Concepts | webpack

<!doctype html>
|
| , Module not found: Error: Can’t resolve ‘mock-aws-s3’ in ‘/Users/onderozcan/dev/JiraIssueEngagement/node_modules/@mapbox/node-pre-gyp/lib/util’, Module not found: Error: Can’t resolve ‘aws-sdk’ in ‘/Users/onderozcan/dev/JiraIssueEngagement/node_modules/@mapbox/node-pre-gyp/lib/util’, Module not found: Error: Can’t resolve ‘nock’ in ‘/Users/onderozcan/dev/JiraIssueEngagement/node_modules/@mapbox/node-pre-gyp/lib/util’, Module parse failed: Unexpected token (9:6)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See Concepts | webpack
| // This script needs to be compatible with PowerShell v2 to run on Windows 2008R2 and Windows 7.
|
using System;
| using System.Text;
| using System.Runtime.InteropServices;

Any guidance is more than welcome. Many thanks

Onder

Hey Onder,

the error seems to hint at the fact that mock-aws-s3 isn’t correctly listed as a dependency in your package.json. However, I really don’t think that it would work in Forge, you could probably get that to work in Connect, but it wouldn’t really work with Forge’s lambda execution model.

If you want to store data, you should use the storage api for Forge.