Open MeenaMakwana opened 6 years ago
Hi, can you try 'allowJs' with a lowercase s?
I did, but no change. Still not working.
Hi,
Thank you for your reply.
In order to get succeed, I have connected my laptop to other WIFI having no proxy. I have downloaded the source code from https://github.com/bcameron1231/SharePoint-Framework/releases/tag/v2.0 and run below command. I haven’t modify this code after download. • npm i • gulp serve --nobrowser While running gulp serve –nobrowser, I have come across 2 errors and several warnings. Errors are : [17:20:38] Warning - tslint - src\extensions\reactHubsiteNavbar\services\SPSearchService.ts(88,51): error semicolon: Missing semicolon [17:20:40] Error - typescript - src\extensions\reactHubsiteNavbar\ReactHubsiteNavbarApplicationCustomizer.ts(12,45): error TS2307: Cannot find module 'sp-pnp-js'. [17:20:40] Error - typescript - src\extensions\reactHubsiteNavbar\ReactHubsiteNavbarApplicationCustomizer.ts(17,46): error TS2307: Cannot find module '../../../lib/extensions/reactHubsiteNavbar/services/SPSearchService'. [17:20:40] Warning - tslint - src\extensions\reactHubsiteNavbar\components\HubNavBar.tsx(29,116): error semicolon: Missing semicolon [17:20:40] Warning - tslint - src\extensions\reactHubsiteNavbar\components\HubNavBar.tsx(40,112): error semicolon: Missing semicolon [17:20:40] Warning - tslint - src\extensions\reactHubsiteNavbar\components\HubNavBar.tsx(93,10): error semicolon: Missing semicolon
I have updated your code to fix SPSearchService error. And Install "sp-pnp-js" using command “npm install sp-pnp-js –save” for 'sp-pnp-js'. I haven't done anything to fix this warnings.
After making this changes, I was able to build the solution but while verification before deployment I am facing new error.
Verification link is :- https://XXX.sharepoint.com/sites/TEST-0365Template? loadSPFX=true&debugManifestsFile=https://localhost:4321/temp/manifests.js&customActions={"1859a5f8-d2fc-4c55-91ba-a097edf6da00":{"location":"ClientSideExtension.ApplicationCustomizer","properties":{"NavHeading":"TEST-0365Template"}}}
here https://XXX.sharepoint.com/sites/TEST-0365Template is modern site connected to https://XXX.sharepoint.com/sites/TEST_HUb_site
Error I am facing now is : -
Error loading debug manifests. Error loading debug script. Ensure the server is running and the "debugManifestsFile" parameter URL is correct.
It will be great if you can help me to fix this issue. Many thanks.
I am facing the error" Unknown compiler option 'allowJS'" during build of the solution. Please find attached config file and error description. I have updated config file, but the issue still persist. It will be great if you can suggest proper steps for execution. Thank you
tsconfig - Copy.json.txt tslint - Copy.json.txt Issue - react-hubsite-securitytrim-navbar.txt
2018-10-24T19_09_51_289Z-debug.log