@hugoabernier - Help wanted on this
@wobba
Expected behavior to build the pckg after executing it
Does not bundle the solution as required / execute as required due to error message "Error - [tslint] No valid rules have been specified for TypeScript files"
C:\Users\tejast\Documents\GitHub\sp-dev-fx-webparts\samples\react-script-editor>gulp bundle --ship
Build target: SHIP
[17:46:26] Using gulpfile ~\Documents\GitHub\sp-dev-fx-webparts\samples\react-script-editor\gulpfile.js
[17:46:26] Starting gulp
[17:46:26] Starting 'bundle'...
[17:46:27] Starting subtask 'configure-sp-build-rig'...
[17:46:27] Finished subtask 'configure-sp-build-rig' after 4.89 ms
[17:46:27] Starting subtask 'pre-copy'...
[17:46:27] Finished subtask 'pre-copy' after 58 ms
[17:46:27] Starting subtask 'copy-static-assets'...
[17:46:27] Starting subtask 'sass'...
[17:46:27] Finished subtask 'copy-static-assets' after 82 ms
[17:46:27] Finished subtask 'sass' after 189 ms
[17:46:27] Starting subtask 'tslint'...
[17:46:28] [tslint] tslint version: 5.12.1
[17:46:28] Starting subtask 'tsc'...
[17:46:28] [tsc] typescript version: 3.2.4
[17:46:30] Finished subtask 'tsc' after 2.14 s
[17:46:30] Error - [tslint] No valid rules have been specified for TypeScript files
[17:46:30] Finished subtask 'tslint' after 3.16 s
[17:46:30] Starting subtask 'post-copy'...
[17:46:30] Finished subtask 'post-copy' after 7.49 ms
[17:46:30] Starting subtask 'collectLocalizedResources'...
[17:46:30] Finished subtask 'collectLocalizedResources' after 4.02 ms
[17:46:30] Starting subtask 'configure-webpack'...
[17:46:31] Finished subtask 'configure-webpack' after 1.49 s
[17:46:31] Starting subtask 'webpack'...
[17:46:37] Finished subtask 'webpack' after 5.05 s
[17:46:37] Starting subtask 'configure-webpack-external-bundling'...
[17:46:37] Finished subtask 'configure-webpack-external-bundling' after 9.58 ms
[17:46:37] Starting subtask 'copy-assets'...
[17:46:37] Finished subtask 'copy-assets' after 492 ms
[17:46:37] Starting subtask 'write-manifests'...
[17:46:39] Finished subtask 'write-manifests' after 1.86 s
[17:46:39] Finished 'bundle' after 12 s
[17:46:39] ==================[ Finished ]==================
Error - [tslint] No valid rules have been specified for TypeScript files
[17:46:40] Project pzl-script-editor version:1.0.0
[17:46:40] Build tools version:3.12.1
[17:46:40] Node version:v10.19.0
[17:46:40] Total duration:18 s
[17:46:40] Task errors:1
The build failed because a task wrote output to stderr.
Exiting with exit code: 1
C:\Users\tejast\Documents\GitHub\sp-dev-fx-webparts\samples\react-script-editor>
_(DELETE THIS PARAGRAPH AFTER READING)_
- All suggestions or bugs are welcome, please let us know what's on your mind.
- If you are reporting an issue around any of the samples, please ensure that you have clear reference on the sample and possibly code file, which should be fixed.
- If you have technical questions about the framework, we’ll be monitoring #spfx, #spfx-webparts, and #spfx-tooling on (SharePoint StackExchange)> [http://sharepoint.stackexchange.com/]. You can also alternatively submit your question to (SharePoint Developer group)> [https://network.office.com/t5/SharePoint-Developer/bd-p/SharePointDev] at Office Network.
- Remember to include sufficient details and context.
- If you have multiple suggestions or bugs please submit them in separate bugs so we can track resolution.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Can you share spfx version and environment? Did you try ´gulp clean´ and ´npm dedupe´ before building?
Okay i started Back with building my system Fresh and again tried installing the react-script-editor and below is what i am stuck on now @wobba, really need to get all this up and running asap.
Thank you
PS C:\code\sp-dev-fx-webparts\samples\react-script-editor> npm install
npm WARN deprecated [email protected]: connect 2.x series is deprecated
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this package is now deprecated
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: Please use the native JSON object instead of JSON 3
npm WARN deprecated [email protected]: This module is no longer maintained, try this instead:
npm WARN deprecated npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated [email protected]: This package has been deprecated in favour of @sinonjs/samsam
npm WARN deprecated [email protected]: This package is unmaintained. Use @sinonjs/formatio instead
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: 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 [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated @types/[email protected]: 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!
[email protected] install C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\deasync
node ./build.js
win32-x64-node-10 exists; testing
Binary is fine; exiting
[email protected] install C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass
node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-64_binding.node
Download complete ] - :
Binary saved to C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass\vendor\win32-x64-64\binding.node
Caching binary to C:\Users\tejast\AppData\Roaming\npm-cache\node-sass\4.13.1\win32-x64-64_binding.node
[email protected] install C:\code\sp-dev-fx-webparts\samples\react-script-editor\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\tejast\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip
Receiving...
[=======================================-] 98%
Received 17767K total.
Extracting zip contents
Removing C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\phantomjs-prebuilt\lib\phantom
Copying extracted folder C:\Users\tejast\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip-extract-1586797677764\phantomjs-2.1.1-windows -> C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\phantomjs-prebuilt\lib\phantom
Writing location.js file
Done. Phantomjs binary available at C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe
@microsoft/[email protected] install C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\sp-application-base\node_modules\@microsoft\sp-loader
node npm-postinstall.js
@microsoft/[email protected] install C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\sp-component-base\node_modules\@microsoft\sp-loader
node npm-postinstall.js
@microsoft/[email protected] install C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\sp-extension-base\node_modules\@microsoft\sp-loader
node npm-postinstall.js
@microsoft/[email protected] install C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\sp-webpart-workbench\node_modules\@microsoft\sp-loader
node npm-postinstall.js
@microsoft/[email protected] install C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\sp-webpart-base\node_modules\@microsoft\sp-loader
node npm-postinstall.js
[email protected] postinstall C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\babel-register\node_modulescore-js
node -e "try{require('./postinstall')}catch(e){}"
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 -)
[email protected] postinstall C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\babel-runtime\node_modulescore-js
node -e "try{require('./postinstall')}catch(e){}"
[email protected] postinstall C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\karma\node_modulescore-js
node -e "try{require('./postinstall')}catch(e){}"
[email protected] postinstall C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\spawn-sync
node postinstall
[email protected] postinstall C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\uglifyjs-webpack-plugin
node lib/post_install.js
[email protected] postinstall C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass
node scripts/build.js
Binary found at C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass\vendor\win32-x64-64\binding.node
Testing binary
Binary is fine
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"0.10 || 0.12 || 4 || 5"} (current: {"node":"10.20.1","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\abbrev):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\abbrev' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.abbrev.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\ansi-regex):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\ansi-regex' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.ansi-regex.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\aproba):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\aproba' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.aproba.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\balanced-match):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\balanced-match' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.balanced-match.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\chownr):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\chownr' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.chownr.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\code-point-at):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\code-point-at' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.code-point-at.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\concat-map):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\concat-map' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.concat-map.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\console-control-strings):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\console-control-strings' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.console-control-strings.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modulescore-util-is):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modulescore-util-is' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.core-util-is.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\deep-extend):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\deep-extend' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.deep-extend.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\delegates):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\delegates' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.delegates.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\detect-libc):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\detect-libc' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.detect-libc.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\fs.realpath):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\fs.realpath' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.fs.realpath.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\has-unicode):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\has-unicode' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.has-unicode.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\inherits):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\inherits' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.inherits.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\ini):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\ini' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.ini.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\isarray):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\isarray' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.isarray.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\minimist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\minimist' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.minimist.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\ms):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\ms' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.ms.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\npm-normalize-package-bin):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\npm-normalize-package-bin' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.npm-normalize-package-bin.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\number-is-nan):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\number-is-nan' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.number-is-nan.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\object-assign):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\object-assign' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.object-assign.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\os-homedir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\os-homedir' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.os-homedir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\os-tmpdir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\os-tmpdir' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.os-tmpdir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\path-is-absolute):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\path-is-absolute' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.path-is-absolute.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\process-nextick-args):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\process-nextick-args' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.process-nextick-args.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\safe-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\safe-buffer' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.safe-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\safer-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\safer-buffer' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.safer-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\sax):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\sax' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.sax.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\semver):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\semver' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.semver.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\set-blocking):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\set-blocking' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.set-blocking.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\signal-exit):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\signal-exit' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.signal-exit.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\strip-json-comments):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\strip-json-comments' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.strip-json-comments.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\util-deprecate):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\util-deprecate' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.util-deprecate.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\wrappy):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\wrappy' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.wrappy.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\yallist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules\yallist' -> 'C:\code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\fsevents\node_modules.yallist.DELETE'
added 1965 packages from 1765 contributors and audited 280886 packages in 236.864s
5 packages are looking for funding
run npm fund for details
found 7694 vulnerabilities (5849 low, 427 moderate, 1411 high, 7 critical)
run npm audit fix to fix them, or npm audit for details
PS C:\code\sp-dev-fx-webparts\samples\react-script-editor> gulp serve gulp serve[14600]: c:\wssrc\node_contextify.cc:635: Assertion `args[1]->IsString()' failed.
1: 00007FF6DC98879A v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+4506
2: 00007FF6DC963206 node::MakeCallback+4534
3: 00007FF6DC9632BF node::MakeCallback+4719
4: 00007FF6DC9374C0 node::DecodeWrite+13120
5: 00007FF6DCE94612 std::vector
6: 00007FF6DCE95779 std::vector
7: 00007FF6DCE94ABC std::vector
8: 00007FF6DCE949DB std::vector
9: 00000359AFDDC5C1
PS C:\code\sp-dev-fx-webparts\samples\react-script-editor>
@tejasthite thank you for following up with this.
Can you try using SPFx doctor and let us know what it says?
@hugoabernier @wobba - I get the below, Not able to find the cmdlets for PS how can i proceed?
PS C:\Code\sp-dev-fx-webparts\samples\react-script-editor> spfx doctor
spfx : The term 'spfx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
@tejasthite can you confirm that you installed the Office 365 CLI first?
Follow these steps:
npm i -g @pnp/office365-cli
o365 spfx doctor
Done! @hugoabernier
PS C:\Code\sp-dev-fx-webparts\samples\react-script-editor> o365 spfx doctor
Office 365 CLI SharePoint Framework doctor
Verifying configuration of your system for working with the SharePoint Framework
√ SharePoint Framework v1.4.1
× Node v10.20.1 found, v^6.0.0 || ^8.0.0 required
× npm v6.14.4 found, v^3.0.0 || ^4.0.0 required
√ yo v3.1.1
√ gulp v4.0.2
√ bundled typescript used
Recommended fixes:
PS C:\Code\sp-dev-fx-webparts\samples\react-script-editor>
@hugoabernier - I fixed the recommendations with downgrading my Node.js version
and installed npm i -g npm@4
Office 365 CLI SharePoint Framework doctor
Verifying configuration of your system for working with the SharePoint Framework
√ SharePoint Framework v1.4.1
√ Node v8.17.0
√ npm v4.6.1
√ yo v3.1.1
√ gulp v4.0.2
√ bundled typescript used
Further to which i did run ... and this is what i get
`PS C:\Code\sp-dev-fx-webparts\samples\react-script-editor> gulp serve
C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass\lib\binding.js:15
throw new Error(errors.missingBinary());
^
Error: Missing binding C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass\vendor\win32-x64-57\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 8.x
Found bindings for the following environments:
This usually happens because your environment has changed since running npm install.
Run npm rebuild node-sass to download the binding for your current environment.
at module.exports (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass\lib\binding.js:15:13)
at Object.
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)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.
PS C:\Code\sp-dev-fx-webparts\samples\react-script-editor> npm rebuild node-sass
[email protected] install C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass
node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.12.0/win32-x64-57_binding.node
Download complete ] - :
Binary saved to C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass\vendor\win32-x64-57\binding.node
Caching binary to C:\Users\tejast\AppData\Roaming\npm-cache\node-sass\4.12.0\win32-x64-57_binding.node
[email protected] postinstall C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass
node scripts/build.js
Binary found at C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass\vendor\win32-x64-57\binding.node
Testing binary
Binary is fine
[email protected] C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\node-sass
PS C:\Code\sp-dev-fx-webparts\samples\react-script-editor> gulp serve
Build target: DEBUG
C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\node-core-library\lib\JsonSchema.js:178
throw new Error(prefix + os.EOL +
^
Error: JSON validation failed:
C:\Code\sp-dev-fx-webparts\samples\react-script-editor\config\tslint.json
Error: #/ (Defines configuration options for the...)
Additional properties not allowed: lintConfig,useDefaultConfigAsBase,removeExistingRules,displayAsWarning
at validateObjectWithCallback (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\node-core-library\lib\JsonSchema.js:178:19)
at JsonSchema.validateObjectWithCallback (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\node-core-library\lib\JsonSchema.js:193:13)
at JsonSchema.validateObject (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\node-core-library\lib\JsonSchema.js:175:14)
at TslintCmdTask._readConfigFile (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\gulp-core-build\lib\tasks\GulpTask.js:311:28)
at TslintCmdTask.onRegister (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\gulp-core-build\lib\tasks\GulpTask.js:87:32)
at Object.initialize (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\gulp-core-build\lib\index.js:300:24)
at SPWebBuildRig.initialize (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\sp-build-common\lib\BuildRig.js:61:19)
at SPWebBuildRig.initialize (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\sp-build-common\lib\SPBuildRig.js:30:15)
at Object.exports.initialize (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\sp-build-web\lib\index.js:22:17)
at Object.
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)
at Module.require (module.js:597:17)
PS C:\Code\sp-dev-fx-webparts\samples\react-script-editor>`
@tejasthite can you try to build any of the other samples? Do they work? I simply cannot repro your issue. And it requires SPFx v1.10.0, not 1.4.1. The react-script-editor-onprem sample can be built using v1.4.1.
@wobba
I had tried one of the Calendar feed sample earlier months back which worked well, If you want i can again give that a try?
And it requires SPFx v1.10.0, not 1.4.1 - Will this need a upgrade? and how can i achieve it?
@tejasthite What does npm ls -g --depth=0 @microsoft/generator-sharepoint show in your system?
@wobba
PS C:\Code\sp-dev-fx-webparts\samples\react-script-editor> npm ls -g --depth=0 @microsoft/generator-sharepoint
C:\Users\tejast\AppData\Roaming\npm
`-- @microsoft/[email protected]
PS C:\Code\sp-dev-fx-webparts\samples\react-script-editor>
Then I'm unsure why npm i and building fails for you as you seem to have the right version. Does any of the steps at https://www.c-sharpcorner.com/article/spfx-upgrading-to-latest-version-1-9-1-issues-and-solutions/ help you to resolve the issue?
@wobba Much appreciate all you time with this, I will try to follow the article and see how it goes!
@hugoabernier any further inputs from your end would help i was really in need of this very much which will help me over come most of the challenges
Thank you
@wobba - I am still left with this after following the article. Thank you
Error: JSON validation failed:
C:\Code\sp-dev-fx-webparts\samples\react-script-editor\config\tslint.json
Error: #/ (Defines configuration options for the...)
Additional properties not allowed: lintConfig,useDefaultConfigAsBase,removeExistingRules,displayAsWarning
at validateObjectWithCallback (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\node-core-library\lib\JsonSchema.js:178:19)
at JsonSchema.validateObjectWithCallback (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\node-core-library\lib\JsonSchema.js:193:13)
at JsonSchema.validateObject (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\node-core-library\lib\JsonSchema.js:175:14)
at TslintCmdTask._readConfigFile (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\gulp-core-build\lib\tasks\GulpTask.js:311:28)
at TslintCmdTask.onRegister (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\gulp-core-build\lib\tasks\GulpTask.js:87:32)
at Object.initialize (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\gulp-core-build\lib\index.js:300:24)
at SPWebBuildRig.initialize (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\sp-build-common\lib\BuildRig.js:61:19)
at SPWebBuildRig.initialize (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\sp-build-common\lib\SPBuildRig.js:30:15)
at Object.exports.initialize (C:\Code\sp-dev-fx-webparts\samples\react-script-editor\node_modules\@microsoft\sp-build-web\lib\index.js:22:17)
at Object.
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)
at Module.require (module.js:597:17)
@wobba
OK i followed this article - https://knowledge-junction.com/2018/10/09/o365-sharepoint-online-spfx-component-all-gulp-commands-failed-error-json-validation-failed-webpartsconfigtslint-json/
It got me Rid of the message - But i now have the same challenge from where i started
`PS C:\Code\sp-dev-fx-webparts\samples\react-script-editor> gulp serve
Build target: DEBUG
[17:50:36] Using gulpfile C:\Code\sp-dev-fx-webparts\samples\react-script-editor\gulpfile.js
[17:50:36] Starting gulp
[17:50:36] Starting 'serve'...
[17:50:36] Starting subtask 'configure-sp-build-rig'...
[17:50:36] Finished subtask 'configure-sp-build-rig' after 13 ms
[17:50:36] Starting subtask 'spfx-serve'...
[17:50:36] [spfx-serve] To load your scripts, use this query string: ?debug=true&noredir=true&debugManifestsFile=https://localhost:4321/temp/manifests.js
[17:50:36] Starting server...
Starting api server on port 5432.
Registring api: /workbench
Registring api: /
[17:50:37] Finished subtask 'spfx-serve' after 328 ms
[17:50:37] Starting subtask 'pre-copy'...
[17:50:37] Finished subtask 'pre-copy' after 49 ms
[17:50:37] Starting subtask 'copy-static-assets'...
[17:50:37] Starting subtask 'sass'...
[17:50:37] Server started https://localhost:4321
[17:50:37] LiveReload started on port 35729
[17:50:37] Running server
[17:50:37] Opening https://localhost:5432/workbench using the default OS app
[17:50:37] Finished subtask 'copy-static-assets' after 112 ms
[17:50:37] Finished subtask 'sass' after 239 ms
[17:50:37] Starting subtask 'tslint'...
[17:50:38] [tslint] tslint version: 5.12.1
[17:50:38] Starting subtask 'tsc'...
[17:50:38] [tsc] typescript version: 3.2.4
Request: [::1] '/workbench'
Request: '/temp/workbench.html'
Request: '/temp/manifests.js'
Request: '/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js'
Request: '/temp/workbench-packages/@microsoft_sp-webpart-workbench/lib/api/workbenchInit.js'
[17:50:40] Error - [tslint] No valid rules have been specified for TypeScript files
[17:50:40] Finished subtask 'tslint' after 2.93 s
[17:50:40] Finished subtask 'tsc' after 2.17 s
[17:50:40] Starting subtask 'post-copy'...
[17:50:40] Finished subtask 'post-copy' after 655 μs
[17:50:40] Starting subtask 'collectLocalizedResources'...
[17:50:40] Finished subtask 'collectLocalizedResources' after 783 μs
[17:50:40] Starting subtask 'configure-webpack'...
[17:50:41] Finished subtask 'configure-webpack' after 728 ms
[17:50:41] Starting subtask 'webpack'...
[17:50:41] Error - [webpack] 'dist':
Entry module not found: Error: Can't resolve 'C:\Code\sp-dev-fx-webparts\samples\react-script-editor\lib\webparts\scriptEditor\ScriptEditorWebPart.js' in 'C:\Code\sp-dev-fx-webparts\samples\react-script-editor'
resolve 'C:\Code\sp-dev-fx-webparts\samples\react-script-editor\lib\webparts\scriptEditor\ScriptEditorWebPart.js' in 'C:\Code\sp-dev-fx-webparts\samples\react-script-editor'
using description file: C:\Code\sp-dev-fx-webparts\samples\react-script-editor\package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
using description file: C:\Code\sp-dev-fx-webparts\samples\react-script-editor\package.json (relative path: ./lib/webparts/scriptEditor/ScriptEditorWebPart.js)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Code\sp-dev-fx-webparts\samples\react-script-editor\lib\webparts\scriptEditor\ScriptEditorWebPart.js doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
C:\Code\sp-dev-fx-webparts\samples\react-script-editor\lib\webparts\scriptEditor\ScriptEditorWebPart.js.wasm doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
C:\Code\sp-dev-fx-webparts\samples\react-script-editor\lib\webparts\scriptEditor\ScriptEditorWebPart.js.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Code\sp-dev-fx-webparts\samples\react-script-editor\lib\webparts\scriptEditor\ScriptEditorWebPart.js.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Code\sp-dev-fx-webparts\samples\react-script-editor\lib\webparts\scriptEditor\ScriptEditorWebPart.js.json doesn't exist
as directory
C:\Code\sp-dev-fx-webparts\samples\react-script-editor\lib\webparts\scriptEditor\ScriptEditorWebPart.js doesn't exist
[17:50:41] Finished subtask 'webpack' after 180 ms
[17:50:41] Starting subtask 'configure-webpack-external-bundling'...
[17:50:41] Finished subtask 'configure-webpack-external-bundling' after 1.63 ms
[17:50:41] Starting subtask 'copy-assets'...
[17:50:41] Error - [copy-assets] TypeError: Cannot read property 'id' of undefined
[17:50:41] Error - 'copy-assets' sub task errored after 4.89 ms
Cannot read property 'id' of undefined`
Can you try to build react-script-editor-onprem instead, as it will also work online. At least as a work-around.
@wobba , okay you mean i can implement react-script-editor-onprem solution with sharePoint online as well after building it? i am specifically looking for the script editor for modern pages if this will help i am happy to do it! Thank you
@tejasthite the onprem version uses SPFx v1.4.1. The other is upgraded to SPFx v1.10 and does thus not work for onprem. When upgrading to SPFx v1.10 I also did some updates to the edit UX.
But they have the same functionality. If the 1.4.1 (on prem supported one) builds for you, use that, as anything working in modern for onprem also works in SPO. All in the top of the readme file in both solutions.
@wobba for some reason i am not able to clone this sp-dev-fx-webparts/samples/react-script-editor-onprem/
It keeps asking me for the credentials, i did clone the entire sp-dev-fx-webparts/samples/
But for some reason it did not clone the onprem sample.
git clone https://github.com/SharePoint/sp-dev-fx-webparts.git will clone it all and include both samples in separate folders.
@wobba - This looks to be executing as required, I see that webpart as well loaded, how do i build this and take it onto the SP Online for modern pages and add it in there?
Build target: DEBUGv-fx-webparts\samplesreact-script-editor-onprem> gulp serve
[19:50:41] Using gulpfile C:\Project\sp-dev-fx-webparts\samplesreact-script-editor-onprem\gulpfile.js
[19:50:41] Starting gulp
[19:50:41] Starting 'serve'...
[19:50:41] Starting subtask 'configure-sp-build-rig'...
[19:50:41] Finished subtask 'configure-sp-build-rig' after 20 ms
[19:50:41] Starting subtask 'spfx-serve'...
Starting api server on port 5432.
Registring api: /getwebparts
Registring api: /.
Registring api: /workbench
[19:50:44] Finished subtask 'spfx-serve' after 2.68 s
[19:50:44] Starting subtask 'pre-copy'...
[19:50:44] Finished subtask 'pre-copy' after 99 ms
[19:50:44] Starting subtask 'copy-static-assets'...
[19:50:44] Starting subtask 'sass'...
[19:50:50] Server started https://localhost:4321
[19:50:50] LiveReload started on port 35729
[19:50:50] Opening https://localhost:5432/workbench using the default OS app
[19:50:50] Finished subtask 'sass' after 6.47 s
[19:50:50] Starting subtask 'tslint'...
[19:50:54] Starting subtask 'typescript'...
[19:50:54] [typescript] TypeScript version: 2.4.2
Request: [::1] '/workbench'
[19:50:54] Finished subtask 'copy-static-assets' after 10 s
Warning: no-duplicate-case rule is deprecated. Replace your usage with the TSLint no-duplicate-switch-case rule.
Warning: valid-typeof rule is deprecated. Replace your usage with the TSLint typeof-compare rule.
Request: '/temp/workbench.html'
Request: '/temp/manifests.js'
Request: '/node_modules/@microsoft/sp-webpart-workbench/node_modules/@microsoft/sp-loader/dist/sp-loader-assembly_en-us.js'
Request: '/node_modules/@microsoft/sp-webpart-workbench/lib/api/workbenchInit.js'
[19:50:55] Finished subtask 'tslint' after 4.43 s
[19:50:56] Finished subtask 'typescript' after 1.89 s
[19:50:56] Starting subtask 'ts-npm-lint'...
[19:50:56] Finished subtask 'ts-npm-lint' after 23 ms
[19:50:56] Starting subtask 'api-extractor'...
[19:50:56] Finished subtask 'api-extractor' after 572 μs
[19:50:56] Starting subtask 'post-copy'...
[19:50:56] Finished subtask 'post-copy' after 280 μs
[19:50:56] Starting subtask 'collectLocalizedResources'...
[19:50:56] Finished subtask 'collectLocalizedResources' after 333 μs
[19:50:56] Starting subtask 'configure-webpack'...
[19:50:58] Finished subtask 'configure-webpack' after 2.58 s
[19:50:58] Starting subtask 'webpack'...
Request: '/node_modules/@microsoft/sp-webpart-workbench/lib/api/assets/server-icon.png'
[19:51:05] Finished subtask 'webpack' after 6.41 s
[19:51:05] Starting subtask 'configure-webpack-external-bundling'...
[19:51:05] Finished subtask 'configure-webpack-external-bundling' after 968 μs
[19:51:05] Starting subtask 'copy-assets'...
[19:51:06] Finished subtask 'copy-assets' after 1.2 s
[19:51:06] Starting subtask 'write-manifests'...
[19:51:08] Finished subtask 'write-manifests' after 1.52 s
[19:51:08] Starting subtask 'reload'...
[19:51:08] Finished subtask 'reload' after 1.3 ms
Request: '/temp/workbench.html'
Request: '/temp/manifests.js'
Request: '/node_modules/@microsoft/sp-webpart-workbench/node_modules/@microsoft/sp-loader/dist/sp-loader-assembly_en-us.js'
Request: '/node_modules/@microsoft/sp-webpart-workbench/lib/api/workbenchInit.js'
Request: '/node_modules/@microsoft/decorators/dist/decorators.js'
Request: '/node_modules/@microsoft/sp-webpart-base/node_modules/@microsoft/sp-http/dist/sp-http_en-us.js'
Request: '/node_modules/@microsoft/sp-webpart-base/node_modules/@microsoft/sp-page-context/dist/sp-page-context.js'
Request: '/node_modules/@microsoft/sp-component-base/dist/sp-component-base.js'
Request: '/node_modules/@microsoft/sp-extension-base/dist/sp-extension-base_en-us.js'
Request: '/node_modules/@microsoft/sp-application-base/dist/sp-application-base_en-us.js'
Request: '/node_modules/react/dist/react.js'
Request: '/node_modules/react-dom/dist/react-dom.js'
Request: '/node_modules/@microsoft/sp-webpart-base/node_modules/@microsoft/office-ui-fabric-react-bundle/dist/office-ui-fabric-react-bundle.js'
Request: '/node_modules/@microsoft/sp-webpart-base/dist/sp-webpart-base_en-us.js'
Request: '/node_modules/@microsoft/sp-webpart-workbench/dist/sp-webpart-workbench_en-us.js'
Request: '/temp/workbench.html'
Request: '/temp/manifests.js'
Request: '/node_modules/@microsoft/sp-webpart-workbench/node_modules/@microsoft/sp-loader/dist/sp-loader-assembly_en-us.js'
Request: '/node_modules/@microsoft/sp-webpart-workbench/lib/api/workbenchInit.js'
Request: '/node_modules/@microsoft/decorators/dist/decorators.js'
Request: '/node_modules/@microsoft/sp-webpart-base/node_modules/@microsoft/sp-http/dist/sp-http_en-us.js'
Request: '/node_modules/@microsoft/sp-webpart-workbench/lib/api/assets/server-icon.png'
Request: '/node_modules/@microsoft/sp-webpart-base/node_modules/@microsoft/sp-page-context/dist/sp-page-context.js'
Request: '/node_modules/@microsoft/sp-component-base/dist/sp-component-base.js'
Request: '/node_modules/@microsoft/sp-extension-base/dist/sp-extension-base_en-us.js'
Request: '/node_modules/@microsoft/sp-application-base/dist/sp-application-base_en-us.js'
Request: '/node_modules/react/dist/react.js'
Request: '/node_modules/react-dom/dist/react-dom.js'
Request: '/node_modules/@microsoft/sp-webpart-base/node_modules/@microsoft/office-ui-fabric-react-bundle/dist/office-ui-fabric-react-bundle.js'
Request: '/node_modules/@microsoft/sp-webpart-base/dist/sp-webpart-base_en-us.js'
Request: '/node_modules/@microsoft/sp-webpart-workbench/dist/sp-webpart-workbench_en-us.js'
@tejasthite you may want to look at the Getting started page which should walk you through the entire process. If you don't feel like reading, @PopWarner also created a great video on that same page.
I hope this helps?
@hugoabernier thank you very much, yes i have done all the necessary steps, just wanted to confirm as this states as react-script-editor-onprem and i will be uploading this to SharePoint Online App catalog site am i good to proceed or there would be a mismatch?
@tejasthite I see that the README.MD has a slight mistake that says you should upload the .sppkg file to the App Catalog and proceeds to show the URL for SharePoint Online. For the on-prem version, you should upload to your local App Catalog.
I hope this helps?
@tejasthite don't let the naming of the project stop you. Maybe I should have named it react-script-editor-also-works-for-modern-onprem 😉
@hugoabernier I never did create docs for on-prem, merely ensured it was built on a version. I'll tweak the readme to be more specific that it also works for SPO.
@wobba @hugoabernier - You people are just Excellent!, Successfully implemented the solution, Thank you very much...
Awesome! I'll go ahead and mark this issue as closed! Thanks @tejasthite for your patience.
And, as always, thanks @wobba for being awesome!
Maybe we'll figure out why this happens at some point - still weird :)
Hi there I now am receiving the same errors as @tejasthite but with the employee spotlight webpart. Updated the solution to SPFx 1.11. Any insights?