jcoleman-pcprofessional / SPFx-Modern-Calendar

MIT License
8 stars 1 forks source link

Please Provide SharePoint Package #1

Open tonyfederer opened 5 years ago

tonyfederer commented 5 years ago

Can you please provide a SharePoint package (sppkg) so this package can be installed without needing to compile the source? We installed the one you created for the TrueScriptEditor project and it's working great for us.

dandansoy2004 commented 5 years ago

Got error upon compiling it >

C:\dev\SPFx-Modern-Calendar-master>npm i npm WARN deprecated @types/moment@2.13.0: This is a stub types definition for Moment (https://github.com/moment/moment). Moment provides its own type definitions, so you don't need @types/moment installed! npm WARN deprecated @types/fullcalendar@2.7.46: This is a stub types definition for FullCalendar (http://arshaw.com/fullcalendar/). FullCalendar provides its own type definitions, so you don\'t need @types/fullcalendar installed! npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 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 compatibility with current and future versions of Node.js npm WARN deprecated es6-collections@0.5.6: not actively maintained anymore npm WARN deprecated @types/log4js@2.3.5: This is a stub types definition for log4js (https://github.com/nomiddlename/log4js-node). log4js provides its own type definitions, so you don't need @types/log4js installed! npm WARN deprecated gulp-util@2.2.20: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated formatio@1.1.1: This package is unmaintained. Use @sinonjs/formatio instead npm WARN deprecated samsam@1.1.2: This package has been deprecated in favour of @sinonjs/samsam npm WARN deprecated @types/chalk@2.2.0: This is a stub types definition for chalk (https://github.com/chalk/chalk). chalk provides its own type definitions, so you don't need @types/chalk installed! npm WARN deprecated @types/whatwg-fetch@0.0.30: fetch types are now provided by '--lib dom' npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN deprecated connect@2.30.2: connect 2.x series is deprecated npm WARN deprecated browserslist@1.3.6: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. npm WARN deprecated samsam@1.1.3: This package has been deprecated in favour of @sinonjs/samsam npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130 npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).

deasync@0.1.15 install C:\dev\SPFx-Modern-Calendar-master\node_modules\deasync node ./build.js

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

node-sass@3.13.1 install C:\dev\SPFx-Modern-Calendar-master\node_modules\node-sass node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g.

  export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

  npm config set proxy http://example.com:8080

phantomjs-prebuilt@2.1.16 install C:\dev\SPFx-Modern-Calendar-master\node_modules\phantomjs-prebuilt node install.js

PhantomJS not found on PATH Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip Saving to C:\Users\danab\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip Receiving... [========================================] 99% Received 17767K total. Extracting zip contents Removing C:\dev\SPFx-Modern-Calendar-master\node_modules\phantomjs-prebuilt\lib\phantom Copying extracted folder C:\Users\danab\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip-extract-1568797459116\phantomjs-2.1.1-windows -> C:\dev\SPFx-Modern-Calendar-master\node_modules\phantomjs-prebuilt\lib\phantom Writing location.js file Done. Phantomjs binary available at C:\dev\SPFx-Modern-Calendar-master\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe

@microsoft/sp-loader@1.0.0 install C:\dev\SPFx-Modern-Calendar-master\node_modules\@microsoft\sp-loader node npm-install-script.js

core-js@2.6.9 postinstall C:\dev\SPFx-Modern-Calendar-master\node_modules\babel-runtime\node_modules\core-js node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@2.6.9 postinstall C:\dev\SPFx-Modern-Calendar-master\node_modules\karma\node_modules\core-js node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

node-sass@3.13.1 postinstall C:\dev\SPFx-Modern-Calendar-master\node_modules\node-sass node scripts/build.js

Building: C:\Program Files\nodejs\node.exe C:\dev\SPFx-Modern-Calendar-master\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ 'C:\Program Files\nodejs\node.exe', gyp verb cli 'C:\dev\SPFx-Modern-Calendar-master\node_modules\node-gyp\bin\node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' ] gyp info using node-gyp@3.8.0 gyp info using node@8.15.0 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb which failed Error: not found: python2 gyp verb which failed at getNotFoundError (C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:80:29) gyp verb which failed at C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:89:16 gyp verb which failed at C:\dev\SPFx-Modern-Calendar-master\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\dev\SPFx-Modern-Calendar-master\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) gyp verb which failed python2 { Error: not found: python2 gyp verb which failed at getNotFoundError (C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:80:29) gyp verb which failed at C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:89:16 gyp verb which failed at C:\dev\SPFx-Modern-Calendar-master\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\dev\SPFx-Modern-Calendar-master\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) gyp verb which failed stack: 'Error: not found: python2\n at getNotFoundError (C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:13:12)\n at F (C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:68:19)\n at E (C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:80:29)\n at C:\dev\SPFx-Modern-Calendar-master\node_modules\which\which.js:89:16\n at C:\dev\SPFx-Modern-Calendar-master\node_modules\isexe\index.js:42:5\n at C:\dev\SPFx-Modern-Calendar-master\node_modules\isexe\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:152:21)', gyp verb which failed code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb which succeeded python C:\Users\danab\AppData\Local\Programs\Python\Python37-32\python.EXE gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Users\danab\AppData\Local\Programs\Python\Python37-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:281:12) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at maybeClose (internal/child_process.js:915:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) gyp ERR! System Windows_NT 10.0.17763 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\dev\SPFx-Modern-Calendar-master\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd C:\dev\SPFx-Modern-Calendar-master\node_modules\node-sass gyp ERR! node -v v8.15.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1 npm WARN fullcalendar@3.10.1 requires a peer of jquery@2 - 3 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@3.13.1 postinstall: node scripts/build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@3.13.1 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\danab\AppData\Roaming\npm-cache_logs\2019-09-18T09_04_26_111Z-debug.log

C:\dev\SPFx-Modern-Calendar-master>gulp package-solution module.js:550 throw err; ^

Error: Cannot find module '@microsoft/sp-build-web' at Function.Module._resolveFilename (module.js:548:15) at Function.Module._load (module.js:475:25) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object. (C:\dev\SPFx-Modern-Calendar-master\gulpfile.js:4:15) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3)