Unable to deply "react-script-editor" to our app catalog

%3CLINGO-SUB%20id%3D%22lingo-sub-362847%22%20slang%3D%22en-US%22%3EUnable%20to%20deply%20%22react-script-editor%22%20to%20our%20app%20catalog%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-362847%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3Ei%20want%20to%20deploy%20the%20%22%3CSTRONG%3Ereact-script-editor%3C%2FSTRONG%3E%22%20from%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-script-editor%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-script-editor%3C%2FA%3E.%3C%2FP%3E%3CP%3Eso%20i%20did%20these%20steps%3A-%3C%2FP%3E%3CP%3E1.%20i%20download%20the%20zip%20file%20%26gt%3B%26gt%3B%20extract%20it%20inside%20my%20C%3A%5C%20drive.%3C%2FP%3E%3CP%3E2.%20then%20i%20modify%20the%20%22config%5Cwrite-manifest.json%22%20to%20reference%20our%20root%20site%20folder%2C%20as%20follow%3A-%3C%2FP%3E%3CP%3E%3CSTRONG%3E%7B%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%22%24schema%22%3A%20%22%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fjson-schemas%2Fspfx-build%2Fwrite-manifests.schema.json%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fjson-schemas%2Fspfx-build%2Fwrite-manifests.schema.json%3C%2FA%3E%22%2C%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%22cdnBasePath%22%3A%20%22https%3A%2F%2F*****.sharepoint.com%2FSiteAssets%2FSPFX%2F%22%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%7D%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E3.%20then%20i%20opened%20the%20node.js%20%26gt%3B%26gt%3B%20change%20the%20directory%20to%20c%2C%20as%20follow%3A-%3C%2FP%3E%3CP%3E%3CSTRONG%3EH%3A%5C%26gt%3Bcd%20%2Fd%20c%3A%5C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E4.%20i%20chnage%20the%20directory%20to%20where%20the%20file%20are%20found%20%2C%20as%20follow%3A-%3C%2FP%3E%3CP%3E%3CSTRONG%3Ec%3A%5C%26gt%3Bcd%20C%3A%5C***%5Csp-dev-fx-webparts-master%5Csamples%5Creact-scri%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Ept-editor%5C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E5.%20as%20per%20the%20documentation%20i%20tried%20to%20run%20this%20command%20%3CSTRONG%3Egulp%20--ship%3C%2FSTRONG%3E%2C%20but%20i%20got%20an%20error%3A-%3C%2FP%3E%3CP%3E%3CSTRONG%3EC%3A%5C***%5Csp-dev-fx-webparts-master%5Csamples%5Creact-script-edit%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eor%26gt%3Bgulp%20--ship%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%5B16%3A39%3A51%5D%20Local%20gulp%20not%20found%20in%20C%3A%5C***%5Csp-dev-fx-webpar%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Ets-master%5Csamples%5Creact-script-editor%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%5B16%3A39%3A51%5D%20Try%20running%3A%20npm%20install%20gulp%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E6.%20so%20i%20run%20the%20%3CSTRONG%3Enpm%20install%20gulp%3C%2FSTRONG%3E%2C%20but%20i%20got%20many%20warning%20as%20follow%3A-%3C%2FP%3E%3CP%3E%3CSTRONG%3EC%3A%5C***%5Csp-dev-fx-webparts-master%5Csamples%5Creact-script-edit%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eor%26gt%3B%20npm%20install%20gulp%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20deprecated%20graceful-fs%403.0.11%3A%20please%20upgrade%20to%20graceful-fs%204%20for%20comp%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eatibility%20with%20current%20and%20future%20versions%20of%20Node.js%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20deprecated%20minimatch%402.0.10%3A%20Please%20update%20to%20minimatch%203.0.2%20or%20higher%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eto%20avoid%20a%20RegExp%20DoS%20issue%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20deprecated%20minimatch%400.2.14%3A%20Please%20update%20to%20minimatch%203.0.2%20or%20higher%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eto%20avoid%20a%20RegExp%20DoS%20issue%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20deprecated%20graceful-fs%401.2.3%3A%20please%20upgrade%20to%20graceful-fs%204%20for%20compa%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Etibility%20with%20current%20and%20future%20versions%20of%20Node.js%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26gt%3B%20deasync%400.1.13%20install%20C%3A%5C***%5Csp-dev-fx-webparts-master%5C%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Esamples%5Creact-script-editor%5Cnode_modules%5Cdeasync%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%26gt%3B%20node%20.%2Fbuild.js%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%60win32-x64-node-8%60%20exists%3B%20testing%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3EBinary%20is%20fine%3B%20exiting%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26gt%3B%20node-sass%404.9.3%20install%20C%3A%5C***%5Csp-dev-fx-webparts-master%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%5Csamples%5Creact-script-editor%5Cnode_modules%5Cnode-sass%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%26gt%3B%20node%20scripts%2Finstall.js%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ECached%20binary%20found%20at%20C%3A%5CUsers%5C*******.AD-***GROUP%5CAppData%5CRoaming%5Cnpm-c%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eache%5Cnode-sass%5C4.9.3%5Cwin32-x64-57_binding.node%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26gt%3B%20phantomjs-prebuilt%402.1.16%20install%20C%3A%5C***%5Csp-dev-fx-webpa%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Erts-master%5Csamples%5Creact-script-editor%5Cnode_modules%5Cphantomjs-prebuilt%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%26gt%3B%20node%20install.js%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EPhantomJS%20not%20found%20on%20PATH%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3EDownload%20already%20available%20at%20C%3A%5CUsers%5C***~1.AD-%5CAppData%5CLocal%5CTemp%5Cphantomjs%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%5Cphantomjs-2.1.1-windows.zip%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3EVerified%20checksum%20of%20previously%20downloaded%20file%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3EExtracting%20zip%20contents%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3ERemoving%20C%3A%5C***%5Csp-dev-fx-webparts-master%5Csamples%5Creact-sc%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eript-editor%5Cnode_modules%5Cphantomjs-prebuilt%5Clib%5Cphantom%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3ECopying%20extracted%20folder%20C%3A%5CUsers%5C****~1.AD-%5CAppData%5CLocal%5CTemp%5Cphantomjs%5Cphan%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Etomjs-2.1.1-windows.zip-extract-1551976921083%5Cphantomjs-2.1.1-windows%20-%26gt%3B%20C%3A%5C***%3C%2FSTRONG%3E%3CSTRONG%3E%5Csp-dev-fx-webparts-master%5Csamples%5Creact-script-editor%5Cnode%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E_modules%5Cphantomjs-prebuilt%5Clib%5Cphantom%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3EWriting%20location.js%20file%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3EDone.%20Phantomjs%20binary%20available%20at%20C%3A%5C***%5Csp-dev-fx-webpa%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Erts-master%5Csamples%5Creact-script-editor%5Cnode_modules%5Cphantomjs-prebuilt%5Clib%5Cphant%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eom%5Cbin%5Cphantomjs.exe%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26gt%3B%20spawn-sync%401.0.15%20postinstall%20C%3A%5C***%5Csp-dev-fx-webparts-%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Emaster%5Csamples%5Creact-script-editor%5Cnode_modules%5Cspawn-sync%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%26gt%3B%20node%20postinstall%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CSTRONG%3E%26gt%3B%20uglifyjs-webpack-plugin%400.4.6%20postinstall%20C%3A%5C***%5Csp-dev-%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Efx-webparts-master%5Csamples%5Creact-script-editor%5Cnode_modules%5Cuglifyjs-webpack-plu%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Egin%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%26gt%3B%20node%20lib%2Fpost_install.js%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CSTRONG%3E%26gt%3B%20node-sass%404.9.3%20postinstall%20C%3A%5C***%5Csp-dev-fx-webparts-ma%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Ester%5Csamples%5Creact-script-editor%5Cnode_modules%5Cnode-sass%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%26gt%3B%20node%20scripts%2Fbuild.js%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EBinary%20found%20at%20C%3A%5C***%5Csp-dev-fx-webparts-master%5Csamples%5Cr%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eeact-script-editor%5Cnode_modules%5Cnode-sass%5Cvendor%5Cwin32-x64-57%5Cbinding.node%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3ETesting%20binary%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3EBinary%20is%20fine%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20optional%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20fsevents%401.2.4%20(node_modules%5Cwat%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Echpack%5Cnode_modules%5Cfsevents)%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20notsup%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20Unsupported%20platform%20for%20fsevents%40%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E1.2.4%3A%20wanted%20%7B%22os%22%3A%22darwin%22%2C%22arch%22%3A%22any%22%7D%20(current%3A%20%7B%22os%22%3A%22win32%22%2C%22arch%22%3A%22x64%22%7D%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20optional%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20fsevents%401.2.4%20(node_modules%5Csan%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Ee%5Cnode_modules%5Cfsevents)%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20notsup%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20Unsupported%20platform%20for%20fsevents%40%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E1.2.4%3A%20wanted%20%7B%22os%22%3A%22darwin%22%2C%22arch%22%3A%22any%22%7D%20(current%3A%20%7B%22os%22%3A%22win32%22%2C%22arch%22%3A%22x64%22%7D%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20optional%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20fsevents%401.1.3%20(node_modules%5Cfse%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Events)%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20notsup%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20Unsupported%20platform%20for%20fsevents%40%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E1.1.3%3A%20wanted%20%7B%22os%22%3A%22darwin%22%2C%22arch%22%3A%22any%22%7D%20(current%3A%20%7B%22os%22%3A%22win32%22%2C%22arch%22%3A%22x64%22%7D%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%2B%20gulp%403.9.1%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eadded%201950%20packages%20from%201747%20contributors%20and%20audited%20776321%20packages%20in%20125.12%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E5s%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Efound%2010941%20vulnerabilities%20(4750%20low%2C%205965%20moderate%2C%20219%20high%2C%207%20critical)%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Erun%20%60npm%20audit%20fix%60%20to%20fix%20them%2C%20or%20%60npm%20audit%60%20for%20details%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E7.%20so%20i%20tried%20to%20install%20the%20latest%20version%20of%20graceful%2C%20as%20follow%3A-%3C%2FP%3E%3CP%3E%3CSTRONG%3EC%3A%5C***%5Csp-dev-fx-webparts-master%5Csamples%5Creact-script-edit%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eor%26gt%3Bnpm%20install%20-g%20graceful-fs%20graceful-fs%40latest%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%2B%20graceful-fs%404.1.15%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E%2B%20graceful-fs%404.1.15%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eupdated%201%20package%20in%200.419s%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E8.%20then%20i%20run%20the%20%3CSTRONG%3Enpm%20install%20gulp%3C%2FSTRONG%3E%20again%2C%20as%20follow%3A-%3C%2FP%3E%3CP%3E%3CSTRONG%3EC%3A%5C***%5Csp-dev-fx-webparts-master%5Csamples%5Creact-script-edit%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eor%26gt%3Bnpm%20install%20gulp%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20deprecated%20graceful-fs%403.0.11%3A%20please%20upgrade%20to%20graceful-fs%204%20for%20comp%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eatibility%20with%20current%20and%20future%20versions%20of%20Node.js%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20deprecated%20minimatch%402.0.10%3A%20Please%20update%20to%20minimatch%203.0.2%20or%20higher%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eto%20avoid%20a%20RegExp%20DoS%20issue%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20deprecated%20minimatch%400.2.14%3A%20Please%20update%20to%20minimatch%203.0.2%20or%20higher%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eto%20avoid%20a%20RegExp%20DoS%20issue%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20deprecated%20graceful-fs%401.2.3%3A%20please%20upgrade%20to%20graceful-fs%204%20for%20compa%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Etibility%20with%20current%20and%20future%20versions%20of%20Node.js%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20ajv-keywords%403.2.0%20requires%20a%20peer%20of%20ajv%40%5E6.0.0%20but%20none%20is%20installed.%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3EYou%20must%20install%20peer%20dependencies%20yourself.%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20optional%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20fsevents%401.2.4%20(node_modules%5Cwat%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Echpack%5Cnode_modules%5Cfsevents)%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20notsup%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20Unsupported%20platform%20for%20fsevents%40%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E1.2.4%3A%20wanted%20%7B%22os%22%3A%22darwin%22%2C%22arch%22%3A%22any%22%7D%20(current%3A%20%7B%22os%22%3A%22win32%22%2C%22arch%22%3A%22x64%22%7D%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20optional%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20fsevents%401.2.4%20(node_modules%5Csan%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Ee%5Cnode_modules%5Cfsevents)%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20notsup%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20Unsupported%20platform%20for%20fsevents%40%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E1.2.4%3A%20wanted%20%7B%22os%22%3A%22darwin%22%2C%22arch%22%3A%22any%22%7D%20(current%3A%20%7B%22os%22%3A%22win32%22%2C%22arch%22%3A%22x64%22%7D%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20optional%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20fsevents%401.1.3%20(node_modules%5Cfse%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Events)%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Enpm%20WARN%20notsup%20SKIPPING%20OPTIONAL%20DEPENDENCY%3A%20Unsupported%20platform%20for%20fsevents%40%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E1.1.3%3A%20wanted%20%7B%22os%22%3A%22darwin%22%2C%22arch%22%3A%22any%22%7D%20(current%3A%20%7B%22os%22%3A%22win32%22%2C%22arch%22%3A%22x64%22%7D%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%2B%20gulp%403.9.1%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eupdated%201%20package%20and%20audited%20776321%20packages%20in%2041.189s%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Efound%2010941%20vulnerabilities%20(4750%20low%2C%205965%20moderate%2C%20219%20high%2C%207%20critical)%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Erun%20%60npm%20audit%20fix%60%20to%20fix%20them%2C%20or%20%60npm%20audit%60%20for%20details%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E9.%20then%20i%20run%20%3CSTRONG%3Egulp%20--ship%3C%2FSTRONG%3E%2C%20as%20follow%20(where%20i%20got%20this%20error%20%22The%20build%20failed%20because%20a%20task%20wrote%20output%20to%20stderr.%22)%3A-%3C%2FP%3E%3CP%3E%3CSTRONG%3EC%3A%5C***%5Csp-dev-fx-webparts-master%5Csamples%5Creact-script-edit%3CBR%20%2F%3Eor%26gt%3Bgulp%20--ship%3CBR%20%2F%3EBuild%20target%3A%20SHIP%3CBR%20%2F%3E%5B16%3A44%3A26%5D%20Using%20gulpfile%20C%3A%5C***%5Csp-dev-fx-webparts-master%3CBR%20%2F%3E%5Csamples%5Creact-script-editor%5Cgulpfile.js%3CBR%20%2F%3E%5B16%3A44%3A26%5D%20Starting%20gulp%3CBR%20%2F%3E%5B16%3A44%3A26%5D%20Starting%20'default'...%3CBR%20%2F%3E%5B16%3A44%3A26%5D%20Starting%20subtask%20'configure-sp-build-rig'...%3CBR%20%2F%3E%5B16%3A44%3A26%5D%20Finished%20subtask%20'configure-sp-build-rig'%20after%206.56%20ms%3CBR%20%2F%3E%5B16%3A44%3A26%5D%20Starting%20subtask%20'pre-copy'...%3CBR%20%2F%3E%5B16%3A44%3A26%5D%20Finished%20subtask%20'pre-copy'%20after%2021%20ms%3CBR%20%2F%3E%5B16%3A44%3A26%5D%20Starting%20subtask%20'copy-static-assets'...%3CBR%20%2F%3E%5B16%3A44%3A26%5D%20Starting%20subtask%20'sass'...%3CBR%20%2F%3E%5B16%3A44%3A30%5D%20Finished%20subtask%20'sass'%20after%203.95%20s%3CBR%20%2F%3E%5B16%3A44%3A30%5D%20Starting%20subtask%20'tslint'...%3CBR%20%2F%3E%5B16%3A44%3A32%5D%20Starting%20subtask%20'typescript'...%3CBR%20%2F%3E%5B16%3A44%3A32%5D%20%5Btypescript%5D%20TypeScript%20version%3A%202.4.2%3CBR%20%2F%3E%5B16%3A44%3A32%5D%20Finished%20subtask%20'copy-static-assets'%20after%205.42%20s%3CBR%20%2F%3EWarning%3A%20no-duplicate-case%20rule%20is%20deprecated.%20Replace%20your%20usage%20with%20the%20TSLin%3CBR%20%2F%3Et%20no-duplicate-switch-case%20rule.%3CBR%20%2F%3EWarning%3A%20valid-typeof%20rule%20is%20deprecated.%20Replace%20your%20usage%20with%20the%20TSLint%20typ%3CBR%20%2F%3Eeof-compare%20rule.%3CBR%20%2F%3E%5B16%3A44%3A32%5D%20Warning%20-%20tslint%20-%20src%5Cwebparts%5CscriptEditor%5CScriptEditorWebPart.ts(1%3CBR%20%2F%3E78%2C29)%3A%20error%20prefer-const%3A%20Identifier%20'hackReload'%20is%20never%20reassigned%3B%20use%20'co%3CBR%20%2F%3Enst'%20instead%20of%20'let'.%3CBR%20%2F%3E%5B16%3A44%3A32%5D%20Finished%20subtask%20'tslint'%20after%202.17%20s%3CBR%20%2F%3E%5B16%3A44%3A34%5D%20Finished%20subtask%20'typescript'%20after%202.19%20s%3CBR%20%2F%3E%5B16%3A44%3A34%5D%20Starting%20subtask%20'ts-npm-lint'...%3CBR%20%2F%3E%5B16%3A44%3A34%5D%20Finished%20subtask%20'ts-npm-lint'%20after%2014%20ms%3CBR%20%2F%3E%5B16%3A44%3A34%5D%20Starting%20subtask%20'api-extractor'...%3CBR%20%2F%3E%5B16%3A44%3A34%5D%20Finished%20subtask%20'api-extractor'%20after%202.04%20ms%3CBR%20%2F%3E%5B16%3A44%3A34%5D%20Starting%20subtask%20'post-copy'...%3CBR%20%2F%3E%5B16%3A44%3A34%5D%20Finished%20subtask%20'post-copy'%20after%20888%20%C2%B5s%3CBR%20%2F%3E%5B16%3A44%3A34%5D%20Starting%20subtask%20'collectLocalizedResources'...%3CBR%20%2F%3E%5B16%3A44%3A34%5D%20Finished%20subtask%20'collectLocalizedResources'%20after%201.1%20ms%3CBR%20%2F%3E%5B16%3A44%3A34%5D%20Starting%20subtask%20'configure-webpack'...%3CBR%20%2F%3E%5B16%3A44%3A36%5D%20Finished%20subtask%20'configure-webpack'%20after%202.01%20s%3CBR%20%2F%3E%5B16%3A44%3A36%5D%20Starting%20subtask%20'webpack'...%3CBR%20%2F%3E%5B16%3A44%3A42%5D%20Finished%20subtask%20'webpack'%20after%206.24%20s%3CBR%20%2F%3E%5B16%3A44%3A42%5D%20Starting%20subtask%20'configure-webpack-external-bundling'...%3CBR%20%2F%3E%5B16%3A44%3A42%5D%20Finished%20subtask%20'configure-webpack-external-bundling'%20after%202.85%20ms%3CBR%20%2F%3E%5B16%3A44%3A42%5D%20Starting%20subtask%20'copy-assets'...%3CBR%20%2F%3E%5B16%3A44%3A43%5D%20Finished%20subtask%20'copy-assets'%20after%20869%20ms%3CBR%20%2F%3E%5B16%3A44%3A43%5D%20Starting%20subtask%20'write-manifests'...%3CBR%20%2F%3E%5B16%3A44%3A45%5D%20Finished%20subtask%20'write-manifests'%20after%202.18%20s%3CBR%20%2F%3E%5B16%3A44%3A45%5D%20Finished%20'default'%20after%2019%20s%3CBR%20%2F%3E%5B16%3A44%3A46%5D%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%5B%20Finished%20%5D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3CBR%20%2F%3EWarning%20-%20tslint%20-%20src%2Fwebparts%2FscriptEditor%2FScriptEditorWebPart.ts(178%2C29)%3A%20err%3CBR%20%2F%3Eor%20prefer-const%3A%20Identifier%20'hackReload'%20is%20never%20reassigned%3B%20use%20'const'%20instea%3CBR%20%2F%3Ed%20of%20'let'.%3CBR%20%2F%3E%5B16%3A44%3A46%5D%20Project%20pzl-script-editor%20version%3A0.0.1%3CBR%20%2F%3E%5B16%3A44%3A46%5D%20Build%20tools%20version%3A3.7.4%3CBR%20%2F%3E%5B16%3A44%3A46%5D%20Node%20version%3Av8.11.4%3CBR%20%2F%3E%5B16%3A44%3A46%5D%20Total%20duration%3A31%20s%3CBR%20%2F%3E%5B16%3A44%3A46%5D%20Task%20warnings%3A1%3CBR%20%2F%3EThe%20build%20failed%20because%20a%20task%20wrote%20output%20to%20stderr.%3CBR%20%2F%3EExiting%20with%20exit%20code%3A%201%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E10%20finally%20i%20run%20this%20command%20%3CSTRONG%3Egulp%20package-solution%20--ship%3C%2FSTRONG%3E%20but%20i%20got%20this%20error%20(%22The%20build%20failed%20because%20a%20task%20wrote%20output%20to%20stderr.%22)%2C%20as%20follow%3A-%3C%2FP%3E%3CP%3E%3CSTRONG%3EC%3A%5C***%5Csp-dev-fx-webparts-master%5Csamples%5Creact-script-edit%3CBR%20%2F%3Eor%26gt%3Bgulp%20package-solution%20--ship%3CBR%20%2F%3EBuild%20target%3A%20SHIP%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Using%20gulpfile%20C%3A%5C***%5Csp-dev-fx-webparts-master%3CBR%20%2F%3E%5Csamples%5Creact-script-editor%5Cgulpfile.js%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Starting%20gulp%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Starting%20'package-solution'...%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Starting%20subtask%20'configure-sp-build-rig'...%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Finished%20subtask%20'configure-sp-build-rig'%20after%208.24%20ms%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Starting%20subtask%20'package-solution'...%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Warning%20-%20%5Bpackage-solution%5D%20The%20%22cdnBasePath%22%20in%20%22config%2Fwrite-manif%3CBR%20%2F%3Eests.json%22%20has%20been%20changed%20from%20its%20default%20value%20(%22%3C!--%20PATH%20TO%20CDN%20--%3E%22)%20to%20%22%3CBR%20%2F%3Ehttps%3A%2F%2F***groupinfra.sharepoint.com%2FSiteAssets%2FSPFX%2F%22%2C%20however%20the%20%22includeClie%3CBR%20%2F%3EntSideAssets%22%20setting%20in%20%22config%2Fpackage-solution.json%22%20is%20%22true%22%20and%20will%20be%20ig%3CBR%20%2F%3Enored.%20If%20you%20meant%20to%20deploy%20your%20assets%20in%20your%20SPPKG%20to%20SharePoint%2C%20reset%20the%3CBR%20%2F%3Evalue%20of%20%22cdnBasePath%22%20to%20%22%3C!--%20PATH%20TO%20CDN%20--%3E%22.%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20%5Bpackage-solution%5D%20Found%20manifest%3A%20C%3A%5C***%5Csp-de%3CBR%20%2F%3Ev-fx-webparts-master%5Csamples%5Creact-script-editor%5Ctemp%5Cdeploy%5C3a328f0a-99c4-4b28-%3CBR%20%2F%3E95ab-fe0847f657a3.json%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Verifying%20configuration...%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Done!%3CBR%20%2F%3E%5B16%3A44%3A54%5D%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Normalizing%20solution%20information...%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Attempting%20creating%20component%20definitions%20for%20%7B1%7D%20manifests%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Created%20component%20definitions%20for%20%7B1%7D%20manifests%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20config.solution.features%20not%20set!%20Instead%20generating%20a%20feature%20for%20ea%3CBR%20%2F%3Ech%20component.%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Creating%20feature%20for%20Modern%20Script%20Editor...%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Done!%3CBR%20%2F%3E%5B16%3A44%3A54%5D%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Reading%20custom%20Feature%20XML...%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Done!%3CBR%20%2F%3E%5B16%3A44%3A54%5D%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Validating%20App%20Package...%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Done!%3CBR%20%2F%3E%5B16%3A44%3A54%5D%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Reading%20resources...%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Done!%3CBR%20%2F%3E%5B16%3A44%3A54%5D%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Reading%20Sharepoint%20Assets%20%26amp%3B%20Creating%20XML...%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Done!%3CBR%20%2F%3E%5B16%3A44%3A54%5D%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Writing%20solution%20XML%20to%20sharepoint%5Csolution%5Cdebug...%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Cleaned%20sharepoint%5Csolution%5Cdebug%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Created%20file%3A%20sharepoint%5Csolution%5Cdebug%5C3a328f0a-99c4-4b28-95ab-fe084%3CBR%20%2F%3E7f657a3%5CWebPart_3a328f0a-99c4-4b28-95ab-fe0847f657a3.xml%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Created%20file%3A%20sharepoint%5Csolution%5Cdebug%5C%5BContent_Types%5D.xml%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Created%20file%3A%20sharepoint%5Csolution%5Cdebug%5CAppManifest.xml%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Created%20file%3A%20sharepoint%5Csolution%5Cdebug%5Cfeature_3a328f0a-99c4-4b28-95%3CBR%20%2F%3Eab-fe0847f657a3.xml.config.xml%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Created%20file%3A%20sharepoint%5Csolution%5Cdebug%5Cfeature_3a328f0a-99c4-4b28-95%3CBR%20%2F%3Eab-fe0847f657a3.xml%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Created%20file%3A%20sharepoint%5Csolution%5Cdebug%5C_rels%5Cfeature_3a328f0a-99c4-4%3CBR%20%2F%3Eb28-95ab-fe0847f657a3.xml.rels%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Created%20file%3A%20sharepoint%5Csolution%5Cdebug%5C_rels%5C.rels%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Created%20file%3A%20sharepoint%5Csolution%5Cdebug%5C_rels%5CAppManifest.xml.rels%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Created%20file%3A%20sharepoint%5Csolution%5Cpzl-script-editor.sppkg%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Done!%3CBR%20%2F%3E%5B16%3A44%3A54%5D%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20ALL%20DONE!%3CBR%20%2F%3E%5B16%3A44%3A54%5D%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Finished%20subtask%20'package-solution'%20after%20135%20ms%3CBR%20%2F%3E%5B16%3A44%3A54%5D%20Finished%20'package-solution'%20after%20148%20ms%3CBR%20%2F%3E%5B16%3A44%3A55%5D%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%5B%20Finished%20%5D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3CBR%20%2F%3EWarning%20-%20%5Bpackage-solution%5D%20The%20%22cdnBasePath%22%20in%20%22config%2Fwrite-manifests.json%22%3CBR%20%2F%3Ehas%20been%20changed%20from%20its%20default%20value%20(%22%3C!--%20PATH%20TO%20CDN%20--%3E%22)%20to%20%22https%3A%2F%2F***%3CBR%20%2F%3Egroupinfra.sharepoint.com%2FSiteAssets%2FSPFX%2F%22%2C%20however%20the%20%22includeClientSideAsset%3CBR%20%2F%3Es%22%20setting%20in%20%22config%2Fpackage-solution.json%22%20is%20%22true%22%20and%20will%20be%20ignored.%20If%20y%3CBR%20%2F%3Eou%20meant%20to%20deploy%20your%20assets%20in%20your%20SPPKG%20to%20SharePoint%2C%20reset%20the%20value%20of%20%22%3CBR%20%2F%3EcdnBasePath%22%20to%20%22%3C!--%20PATH%20TO%20CDN%20--%3E%22.%3CBR%20%2F%3E%5B16%3A44%3A55%5D%20Project%20pzl-script-editor%20version%3A0.0.1%3CBR%20%2F%3E%5B16%3A44%3A55%5D%20Build%20tools%20version%3A3.7.4%3CBR%20%2F%3E%5B16%3A44%3A55%5D%20Node%20version%3Av8.11.4%3CBR%20%2F%3E%5B16%3A44%3A55%5D%20Total%20duration%3A4.47%20s%3CBR%20%2F%3E%5B16%3A44%3A55%5D%20Task%20warnings%3A1%3CBR%20%2F%3EThe%20build%20failed%20because%20a%20task%20wrote%20output%20to%20stderr.%3CBR%20%2F%3EExiting%20with%20exit%20code%3A%201%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E11.%26nbsp%3B%20i%20copied%20the%20content%20from%20samples%5Creact-script-editor%5Ctemp%5Cdeploy%20to%20the%20SPFX%20folder%2C%20but%20when%20i%20upload%20the%20.sppkg%20file%20to%20our%20app%20catalog%20site%20collection%2C%20i%20got%20this%20error%20that%20the%20deployment%20has%20failed%2C%20as%20follow%3A-%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F86086i90008F593B68755F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22correaltionis.png%22%20title%3D%22correaltionis.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3Eso%20can%20anyone%20advice%20how%20i%20can%20get%20my%20%22react-script-editor%22%20deplyed%20to%20our%20app%20catalog%3F%20as%20i%20am%20following%20all%20the%20needed%20steps.%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-362847%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Super Contributor

Hi All,

i want to deploy the "react-script-editor" from https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor.

so i did these steps:-

1. i download the zip file >> extract it inside my C:\ drive.

2. then i modify the "config\write-manifest.json" to reference our root site folder, as follow:-

{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/write-manifests.schema.json",
"cdnBasePath": "https://*****.sharepoint.com/SiteAssets/SPFX/"
}

3. then i opened the node.js >> change the directory to c, as follow:-

H:\>cd /d c:\

 

4. i chnage the directory to where the file are found , as follow:-

c:\>cd C:\***\sp-dev-fx-webparts-master\samples\react-scri
pt-editor\

 

5. as per the documentation i tried to run this command gulp --ship, but i got an error:-

C:\***\sp-dev-fx-webparts-master\samples\react-script-edit
or>gulp --ship
[16:39:51] Local gulp not found in C:\***\sp-dev-fx-webpar
ts-master\samples\react-script-editor
[16:39:51] Try running: npm install gulp

 

6. so i run the npm install gulp, but i got many warning as follow:-

C:\***\sp-dev-fx-webparts-master\samples\react-script-edit
or> npm install gulp
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for comp
atibility with current and future versions of Node.js
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher
to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher
to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compa
tibility with current and future versions of Node.js

> deasync@0.1.13 install C:\***\sp-dev-fx-webparts-master\
samples\react-script-editor\node_modules\deasync
> node ./build.js

`win32-x64-node-8` exists; testing
Binary is fine; exiting

> node-sass@4.9.3 install C:\***\sp-dev-fx-webparts-master
\samples\react-script-editor\node_modules\node-sass
> node scripts/install.js

Cached binary found at C:\Users\*******.AD-***GROUP\AppData\Roaming\npm-c
ache\node-sass\4.9.3\win32-x64-57_binding.node

> phantomjs-prebuilt@2.1.16 install C:\***\sp-dev-fx-webpa
rts-master\samples\react-script-editor\node_modules\phantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
Download already available at C:\Users\***~1.AD-\AppData\Local\Temp\phantomjs
\phantomjs-2.1.1-windows.zip
Verified checksum of previously downloaded file
Extracting zip contents
Removing C:\***\sp-dev-fx-webparts-master\samples\react-sc
ript-editor\node_modules\phantomjs-prebuilt\lib\phantom
Copying extracted folder C:\Users\****~1.AD-\AppData\Local\Temp\phantomjs\phan
tomjs-2.1.1-windows.zip-extract-1551976921083\phantomjs-2.1.1-windows -> C:\***\sp-dev-fx-webparts-master\samples\react-script-editor\node
_modules\phantomjs-prebuilt\lib\phantom
Writing location.js file
Done. Phantomjs binary available at C:\***\sp-dev-fx-webpa
rts-master\samples\react-script-editor\node_modules\phantomjs-prebuilt\lib\phant
om\bin\phantomjs.exe

> spawn-sync@1.0.15 postinstall C:\***\sp-dev-fx-webparts-
master\samples\react-script-editor\node_modules\spawn-sync
> node postinstall


> uglifyjs-webpack-plugin@0.4.6 postinstall C:\***\sp-dev-
fx-webparts-master\samples\react-script-editor\node_modules\uglifyjs-webpack-plu
gin
> node lib/post_install.js


> node-sass@4.9.3 postinstall C:\***\sp-dev-fx-webparts-ma
ster\samples\react-script-editor\node_modules\node-sass
> node scripts/build.js

Binary found at C:\***\sp-dev-fx-webparts-master\samples\r
eact-script-editor\node_modules\node-sass\vendor\win32-x64-57\binding.node
Testing binary
Binary is fine
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\wat
chpack\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\san
e\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fse
vents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)

+ gulp@3.9.1
added 1950 packages from 1747 contributors and audited 776321 packages in 125.12
5s
found 10941 vulnerabilities (4750 low, 5965 moderate, 219 high, 7 critical)
run `npm audit fix` to fix them, or `npm audit` for details

 

7. so i tried to install the latest version of graceful, as follow:-

C:\***\sp-dev-fx-webparts-master\samples\react-script-edit
or>npm install -g graceful-fs graceful-fs@latest
+ graceful-fs@4.1.15
+ graceful-fs@4.1.15
updated 1 package in 0.419s

 

8. then i run the npm install gulp again, as follow:-

C:\***\sp-dev-fx-webparts-master\samples\react-script-edit
or>npm install gulp
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for comp
atibility with current and future versions of Node.js
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher
to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher
to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compa
tibility with current and future versions of Node.js
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed.
You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\wat
chpack\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\san
e\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fse
vents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)

+ gulp@3.9.1
updated 1 package and audited 776321 packages in 41.189s
found 10941 vulnerabilities (4750 low, 5965 moderate, 219 high, 7 critical)
run `npm audit fix` to fix them, or `npm audit` for details

 

9. then i run gulp --ship, as follow (where i got this error "The build failed because a task wrote output to stderr."):-

C:\***\sp-dev-fx-webparts-master\samples\react-script-edit
or>gulp --ship
Build target: SHIP
[16:44:26] Using gulpfile C:\***\sp-dev-fx-webparts-master
\samples\react-script-editor\gulpfile.js
[16:44:26] Starting gulp
[16:44:26] Starting 'default'...
[16:44:26] Starting subtask 'configure-sp-build-rig'...
[16:44:26] Finished subtask 'configure-sp-build-rig' after 6.56 ms
[16:44:26] Starting subtask 'pre-copy'...
[16:44:26] Finished subtask 'pre-copy' after 21 ms
[16:44:26] Starting subtask 'copy-static-assets'...
[16:44:26] Starting subtask 'sass'...
[16:44:30] Finished subtask 'sass' after 3.95 s
[16:44:30] Starting subtask 'tslint'...
[16:44:32] Starting subtask 'typescript'...
[16:44:32] [typescript] TypeScript version: 2.4.2
[16:44:32] Finished subtask 'copy-static-assets' after 5.42 s
Warning: no-duplicate-case rule is deprecated. Replace your usage with the TSLin
t no-duplicate-switch-case rule.
Warning: valid-typeof rule is deprecated. Replace your usage with the TSLint typ
eof-compare rule.
[16:44:32] Warning - tslint - src\webparts\scriptEditor\ScriptEditorWebPart.ts(1
78,29): error prefer-const: Identifier 'hackReload' is never reassigned; use 'co
nst' instead of 'let'.
[16:44:32] Finished subtask 'tslint' after 2.17 s
[16:44:34] Finished subtask 'typescript' after 2.19 s
[16:44:34] Starting subtask 'ts-npm-lint'...
[16:44:34] Finished subtask 'ts-npm-lint' after 14 ms
[16:44:34] Starting subtask 'api-extractor'...
[16:44:34] Finished subtask 'api-extractor' after 2.04 ms
[16:44:34] Starting subtask 'post-copy'...
[16:44:34] Finished subtask 'post-copy' after 888 µs
[16:44:34] Starting subtask 'collectLocalizedResources'...
[16:44:34] Finished subtask 'collectLocalizedResources' after 1.1 ms
[16:44:34] Starting subtask 'configure-webpack'...
[16:44:36] Finished subtask 'configure-webpack' after 2.01 s
[16:44:36] Starting subtask 'webpack'...
[16:44:42] Finished subtask 'webpack' after 6.24 s
[16:44:42] Starting subtask 'configure-webpack-external-bundling'...
[16:44:42] Finished subtask 'configure-webpack-external-bundling' after 2.85 ms
[16:44:42] Starting subtask 'copy-assets'...
[16:44:43] Finished subtask 'copy-assets' after 869 ms
[16:44:43] Starting subtask 'write-manifests'...
[16:44:45] Finished subtask 'write-manifests' after 2.18 s
[16:44:45] Finished 'default' after 19 s
[16:44:46] ==================[ Finished ]==================
Warning - tslint - src/webparts/scriptEditor/ScriptEditorWebPart.ts(178,29): err
or prefer-const: Identifier 'hackReload' is never reassigned; use 'const' instea
d of 'let'.
[16:44:46] Project pzl-script-editor version:0.0.1
[16:44:46] Build tools version:3.7.4
[16:44:46] Node version:v8.11.4
[16:44:46] Total duration:31 s
[16:44:46] Task warnings:1
The build failed because a task wrote output to stderr.
Exiting with exit code: 1

 

10 finally i run this command gulp package-solution --ship but i got this error ("The build failed because a task wrote output to stderr."), as follow:-

C:\***\sp-dev-fx-webparts-master\samples\react-script-edit
or>gulp package-solution --ship
Build target: SHIP
[16:44:54] Using gulpfile C:\***\sp-dev-fx-webparts-master
\samples\react-script-editor\gulpfile.js
[16:44:54] Starting gulp
[16:44:54] Starting 'package-solution'...
[16:44:54] Starting subtask 'configure-sp-build-rig'...
[16:44:54] Finished subtask 'configure-sp-build-rig' after 8.24 ms
[16:44:54] Starting subtask 'package-solution'...
[16:44:54] Warning - [package-solution] The "cdnBasePath" in "config/write-manif
ests.json" has been changed from its default value ("<!-- PATH TO CDN -->") to "
https://***groupinfra.sharepoint.com/SiteAssets/SPFX/", however the "includeClie
ntSideAssets" setting in "config/package-solution.json" is "true" and will be ig
nored. If you meant to deploy your assets in your SPPKG to SharePoint, reset the
value of "cdnBasePath" to "<!-- PATH TO CDN -->".
[16:44:54] [package-solution] Found manifest: C:\***\sp-de
v-fx-webparts-master\samples\react-script-editor\temp\deploy\3a328f0a-99c4-4b28-
95ab-fe0847f657a3.json
[16:44:54] Verifying configuration...
[16:44:54] Done!
[16:44:54]
[16:44:54] Normalizing solution information...
[16:44:54] Attempting creating component definitions for {1} manifests
[16:44:54] Created component definitions for {1} manifests
[16:44:54] config.solution.features not set! Instead generating a feature for ea
ch component.
[16:44:54] Creating feature for Modern Script Editor...
[16:44:54] Done!
[16:44:54]
[16:44:54] Reading custom Feature XML...
[16:44:54] Done!
[16:44:54]
[16:44:54] Validating App Package...
[16:44:54] Done!
[16:44:54]
[16:44:54] Reading resources...
[16:44:54] Done!
[16:44:54]
[16:44:54] Reading Sharepoint Assets & Creating XML...
[16:44:54] Done!
[16:44:54]
[16:44:54] Writing solution XML to sharepoint\solution\debug...
[16:44:54] Cleaned sharepoint\solution\debug
[16:44:54] Created file: sharepoint\solution\debug\3a328f0a-99c4-4b28-95ab-fe084
7f657a3\WebPart_3a328f0a-99c4-4b28-95ab-fe0847f657a3.xml
[16:44:54] Created file: sharepoint\solution\debug\[Content_Types].xml
[16:44:54] Created file: sharepoint\solution\debug\AppManifest.xml
[16:44:54] Created file: sharepoint\solution\debug\feature_3a328f0a-99c4-4b28-95
ab-fe0847f657a3.xml.config.xml
[16:44:54] Created file: sharepoint\solution\debug\feature_3a328f0a-99c4-4b28-95
ab-fe0847f657a3.xml
[16:44:54] Created file: sharepoint\solution\debug\_rels\feature_3a328f0a-99c4-4
b28-95ab-fe0847f657a3.xml.rels
[16:44:54] Created file: sharepoint\solution\debug\_rels\.rels
[16:44:54] Created file: sharepoint\solution\debug\_rels\AppManifest.xml.rels
[16:44:54] Created file: sharepoint\solution\pzl-script-editor.sppkg
[16:44:54] Done!
[16:44:54]
[16:44:54] ALL DONE!
[16:44:54]
[16:44:54] Finished subtask 'package-solution' after 135 ms
[16:44:54] Finished 'package-solution' after 148 ms
[16:44:55] ==================[ Finished ]==================
Warning - [package-solution] The "cdnBasePath" in "config/write-manifests.json"
has been changed from its default value ("<!-- PATH TO CDN -->") to "https://***
groupinfra.sharepoint.com/SiteAssets/SPFX/", however the "includeClientSideAsset
s" setting in "config/package-solution.json" is "true" and will be ignored. If y
ou meant to deploy your assets in your SPPKG to SharePoint, reset the value of "
cdnBasePath" to "<!-- PATH TO CDN -->".
[16:44:55] Project pzl-script-editor version:0.0.1
[16:44:55] Build tools version:3.7.4
[16:44:55] Node version:v8.11.4
[16:44:55] Total duration:4.47 s
[16:44:55] Task warnings:1
The build failed because a task wrote output to stderr.
Exiting with exit code: 1

 

11.  i copied the content from samples\react-script-editor\temp\deploy to the SPFX folder, but when i upload the .sppkg file to our app catalog site collection, i got this error that the deployment has failed, as follow:-

correaltionis.png

so can anyone advice how i can get my "react-script-editor" deplyed to our app catalog? as i am following all the needed steps.

0 Replies