Hi,

I am trying to create a custom widget in SP dashboard and I followed the
example shown in the documentation on creating custom widgets
<https://docs.wso2.com/display/SP410/Creating+Custom+Widgets>

I followed exactly same and getting following error when tried to build the
widget:

ERROR in ./HelloWorld.jsx

Module not found: Error: Can't resolve './ExtendedWidget' in
'/Users/Thisaru/Projects/IS_Analytics_Migation/carbon-dashboards/samples/widgets/HelloWorld/src'

 @ ./HelloWorld.jsx 9:23-50

npm ERR! code ELIFECYCLE

npm ERR! errno 2

npm ERR! [email protected] build: `webpack -p`

npm ERR! Exit status 2

npm ERR!

npm ERR! Failed at the [email protected] build script.

npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.

Can anyone help me on this ?

-- 
Thanks and Best Regards
Thisaru Guruge
Software Engineer
WSO2 Inc.: http://www.wso2.com

Mobile: +94 71 720 9720
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to