aws-lex-web-ui icon indicating copy to clipboard operation
aws-lex-web-ui copied to clipboard

Unable to build prod dist folder from parent directory

Open SuneetPatil opened this issue 5 years ago • 1 comments

Hi Team,

Currently to get charts in Lex-Web-UI, we have modified the Message.Vue and added package and updated code base and build. CHarts will be rendered when we pass session variables from lambda and everything is working when we run the lex-web-ui/lex-web-ui code using npm start, however when we build the build-prod from lex-web-ui parent folder we are getting below error. Need help is resolving the below issue, URL: http://localhost:8000/

fullpage-component-loader.js:339 Uncaught (in promise) Error: failed to load LexWebUi: ReferenceError: LexWebUi is not defined
    at fullpage-component-loader.js:339
    at new Promise (<anonymous>)
    at Function.value (fullpage-component-loader.js:334)
    at fullpage-component-loader.js:306

Steps to reproduce it, in parent folder lex-web-ui

npm install
cd lex-web-ui
npm install
npm run dev (works fine with new changes both as full screen loader and Iframe loader)
ie http://localhost:8080/

now to build prod from parent folder,

cd build
release.sh
cd ..
npm start (throws error)

Please let us is the commands followed to run the prod dist folder is correct? if not, can you please share the pointers or snippets which help to resolve this issue.

Let me know if you need further inputs.

Thanks, Suneet

SuneetPatil avatar Jun 22 '20 05:06 SuneetPatil

@SuneetPatil Has the above error been resolved? If so, what did you do.

jegathish avatar Aug 29 '22 17:08 jegathish