@Damith Wickramasinghe <[email protected]> It's not that we are missing any
steps, the documentation is disjoint and unclear.

@Rukshani Weerasinha <[email protected]> Shall we revamp the documentation
under "Creating custom widgets", especially under SP4.2.0 space, since the
improvements[1] done for 4.2.0 release, will make the example redundant.

[1] [SP] [Solutions] Data provider configurations in solution widgets

Best Regards,
*Niveathika Rajendran,*
*Software Engineer.*
*Mobile : +94 077 903 7536*





On Tue, Jul 3, 2018 at 2:55 PM Damith Wickramasinghe <[email protected]>
wrote:

> @Niveathika if we are missing any step in the doc , please create a doc
> jira .
>
> Thanks,
> Damith
>
> On Tue, Jul 3, 2018 at 9:12 AM, Niveathika Rajendran <[email protected]>
> wrote:
>
>> Hi Thisaru,
>>
>> From the logs, it seems you have updated HelloWorld.jsx file as in Step
>> 4. Here, we are importing "ExtendedWiget.jsx" file created in Step 3,
>> adding that to the src folder should resolve this issue.
>>
>> Best Regards,
>> *Niveathika Rajendran,*
>> *Software Engineer.*
>> *Mobile : +94 077 903 7536*
>>
>>
>>
>>
>>
>> On Tue, Jul 3, 2018 at 2:30 PM Thisaru Guruge <[email protected]> wrote:
>>
>>> 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
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
> lean.enterprise.middleware
>
> mobile: *+94728671315*
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to