pnp / pnp/cli-microsoft365

Bug report: Issues while upgrading SPFx solution to v1.21.1 from 1.14.0

Open
#6,751 28 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
1.5k
Forks
413
Avg merge
5d 6h
Merged PRs (30d)
21

Description

Priority

(Urgent) I can't use the CLI

Description

We are trying to upgrade a SPFx solution/project from version 1.14.0 to version 1.21.1 but facing issues while executing npm install given in step no. 3 from the given article.

Steps to reproduce

We are following below article.

Click here.

Expected results

npm install should exit without any error.

Actual results

PROJECT-PATH>npm install
npm warn ERESOLVE overriding peer dependency
npm warn ERESOLVE overriding peer dependency
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'pi-2-m-npd@0.0.1',
npm warn EBADENGINE required: { node: '>=22.14.0 < 23.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-build-web@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-core-library@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-lodash-subset@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-module-interfaces@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-office-ui-fabric-core@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-property-pane@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-tslint-rules@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-webpart-base@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-build-core-tasks@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-odata-types@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/office-ui-fabric-react-bundle@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-component-base@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-diagnostics@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-dynamic-data@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-component-base@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-diagnostics@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-dynamic-data@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-http@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-loader@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-page-context@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-listview-extensibility@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-loader@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-core-library@1.12.1',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-extension-base@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-page-context@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-component-base@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-diagnostics@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-loader@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-lodash-subset@1.12.1',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-odata-types@1.12.1',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-dynamic-data@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-http@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-page-context@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-polyfills@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-diagnostics@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-dynamic-data@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-http@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-page-context@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-diagnostics@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-dynamic-data@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-http@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@microsoft/sp-page-context@1.14.0',
npm warn EBADENGINE required: { node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0' },
npm warn EBADENGINE current: { node: 'v18.20.5', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn deprecated readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs
npm warn deprecated debuglog@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated osenv@0.1.5: This package is no longer supported.
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm warn deprecated read-package-tree@5.1.6: The functionality that this package provided is now in @npmcli/arborist
npm warn deprecated lodash.get@4.4.2: This package is deprecated. Use the optional chaining (?.) operator instead.
npm warn deprecated lodash.template@3.6.2: This package is deprecated. Use https://socket.dev/npm/package/eta instead.
npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
npm warn deprecated move-concurrently@1.0.1: This package is no longer supported.
npm warn deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm warn deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated read-package-json@2.1.2: This package is no longer supported. Please use @npmcli/package-json instead.
npm warn deprecated figgy-pudding@3.5.2: This module is no longer supported.
npm warn deprecated npmlog@4.1.2: This package is no longer supported.
npm warn deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated copy-concurrently@1.0.5: This package is no longer supported.
npm warn deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated har-validator@5.1.5: this library is no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm warn deprecated abab@1.0.4: Use your platform's native atob() and btoa() methods instead
npm warn deprecated q@1.5.1: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
npm warn deprecated glob@7.0.6: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.1.7: Glob versions prior to v9 are no longer supported
npm warn deprecated domexception@1.0.1: Use your platform's native DOMException instead
npm warn deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
npm warn deprecated plugin-log@0.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm warn deprecated left-pad@1.3.0: use String.prototype.padStart()
npm warn deprecated gulp-open@3.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated fs-write-stream-atomic@1.0.10: This package is no longer supported.
npm warn deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
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 @microsoft/teams-js@1.10.0: Package no longer supported. Use at your own risk
npm warn deprecated uuid@3.1.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated gauge@2.7.4: This package is no longer supported.
npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm warn deprecated fstream@1.0.12: This package is no longer supported.
npm warn deprecated spfx-uifabric-themes@0.8.5: spfx-uifabric-themes will not be maintained in future - checkout https://my.n8d.at/htwoo
npm warn deprecated @microsoft/teams-js@2.12.0: Package no longer supported. Use at your own risk
npm warn deprecated adal-angular@1.0.16: This package is no longer supported. Please migrate to @azure/msal-angular.
npm warn deprecated @opentelemetry/types@0.2.0: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
npm warn deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm warn deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm warn deprecated @material-ui/styles@4.11.5: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
npm warn deprecated tslint-microsoft-contrib@6.2.0: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.
npm warn deprecated @azure/msal-browser@2.22.0: A newer major version of this library is available. Please upgrade to the latest available version.
npm warn deprecated @azure/msal-browser@2.28.1: A newer major version of this library is available. Please upgrade to the latest available version.
npm warn deprecated @azure/core-http@1.2.6: This package is no longer supported. Please migrate to use @azure/core-rest-pipeline
npm warn deprecated node-sass@4.14.1: Node Sass is no longer supported. Please use sass or sass-embedded instead.
npm warn deprecated msal@1.4.12: This package is no longer supported. Please use @azure/msal-browser instead.
npm warn deprecated msal@1.4.18: This package is no longer supported. Please use @azure/msal-browser instead.
npm warn deprecated eslint@7.12.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
npm warn deprecated tslint@6.1.3: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.
npm warn deprecated msal@1.4.13: This package is no longer supported. Please use @azure/msal-browser instead.
npm warn deprecated msal@1.4.13: This package is no longer supported. Please use @azure/msal-browser instead.
npm warn deprecated msal@1.4.13: This package is no longer supported. Please use @azure/msal-browser instead.
npm warn deprecated msal@1.4.13: This package is no longer supported. Please use @azure/msal-browser instead.
npm warn deprecated @material-ui/core@4.12.4: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\@microsoft\spfx-heft-plugins\node_modules\is-number',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'PROJECT-PATH\node_modules@microsoft\spfx-heft-plugins\node_modules\is-number'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\@microsoft\spfx-heft-plugins\node_modules\is-number'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\@microsoft\spfx-heft-plugins\node_modules',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'PROJECT-PATH\node_modules@microsoft\spfx-heft-plugins\node_modules\to-regex-range'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\@microsoft\spfx-heft-plugins\node_modules\to-regex-range'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\webpack-dev-server',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'PROJECT-PATH\node_modules\webpack-dev-server\node_modules\mime'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\webpack-dev-server\node_modules\mime'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\@pnp',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'PROJECT-PATH\node_modules@pnp\odata\node_modules\tslib'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\@pnp\odata\node_modules\tslib'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\esrecurse',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'PROJECT-PATH\node_modules\esrecurse\node_modules\estraverse'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\esrecurse\node_modules\estraverse'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'PROJECT-PATH\node_modules@microsoft\sp-webpart-base\node_modules@microsoft\microsoft-graph-client'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\@microsoft\sp-webpart-base\node_modules\@microsoft\microsoft-graph-client'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\@microsoft\spfx-heft-plugins',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'PROJECT-PATH\node_modules@microsoft\spfx-heft-plugins\lib\plugins'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\@microsoft\spfx-heft-plugins\lib\plugins'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\@microsoft',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'PROJECT-PATH\node_modules@microsoft\spfx-heft-plugins\lib\plugins'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\@microsoft\spfx-heft-plugins\lib\plugins'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\@typescript-eslint\parser',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'PROJECT-PATH\node_modules@typescript-eslint\parser\node_modules@typescript-eslint\experimental-utils'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\@typescript-eslint\parser\node_modules\@typescript-eslint\experimental-utils'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\@pnp\spfx-controls-react\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'PROJECT-PATH\node_modules@pnp\spfx-controls-react\node_modules@microsoft\sp-loader\node_modules\office-ui-fabric-react\lib-amd'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\@pnp\spfx-controls-react\node_modules\@microsoft\sp-loader\node_modules\office-ui-fabric-react\lib-amd'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\@typescript-eslint',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'PROJECT-PATH\node_modules@typescript-eslint\parser'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\@typescript-eslint\parser'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\@microsoft\sp-extension-base',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'PROJECT-PATH\node_modules@microsoft\sp-extension-base\node_modules@microsoft\sp-loader'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\@microsoft\sp-extension-base\node_modules\@microsoft\sp-loader'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\browser-resolve',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'PROJECT-PATH\node_modules\browser-resolve\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\browser-resolve\node_modules'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'PROJECT-PATH\node_modules\@microsoft\fast-foundation',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'PROJECT-PATH\node_modules@microsoft\fast-foundation\node_modules@microsoft\tsdoc-config\lib_tests_'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'PROJECT-PATH\node_modules\@microsoft\fast-foundation\node_modules\@microsoft\tsdoc-config\lib\tests'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path PROJECT-PATH\node_modules\node-sass
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/build.js
npm error Building: C:\Program Files\nodejs\node.exe PROJECT-PATH\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm error gyp info it worked if it ends with ok
npm error gyp verb cli [
npm error gyp verb cli 'C:\Program Files\nodejs\node.exe',
npm error gyp verb cli 'PROJECT-PATH\node_modules\node-gyp\bin\node-gyp.js',
npm error gyp verb cli 'rebuild',
npm error gyp verb cli '--verbose',
npm error gyp verb cli '--libsass_ext=',
npm error gyp verb cli '--libsass_cflags=',
npm error gyp verb cli '--libsass_ldflags=',
npm error gyp verb cli '--libsass_library='
npm error gyp verb cli ]
npm error gyp info using node-gyp@3.8.0
npm error gyp info using node@18.20.5 | win32 | x64
npm error gyp verb command rebuild []
npm error gyp verb command clean []
npm error gyp verb clean removing "build" directory
npm error gyp verb command configure []
npm error gyp verb check python checking for Python executable "python2" in the PATH
npm error gyp verb which failed Error: not found: python2
npm error gyp verb which failed at getNotFoundError (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:13:12)
npm error gyp verb which failed at F (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:68:19)
npm error gyp verb which failed at E (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:80:29)
npm error gyp verb which failed at PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:89:16
npm error gyp verb which failed at PROJECT-PATH\node_modules\isexe\index.js:42:5
npm error gyp verb which failed at PROJECT-PATH\node_modules\isexe\windows.js:36:5
npm error gyp verb which failed at FSReqCallback.oncomplete (node:fs:202:21)
npm error gyp verb which failed python2 Error: not found: python2
npm error gyp verb which failed at getNotFoundError (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:13:12)
npm error gyp verb which failed at F (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:68:19)
npm error gyp verb which failed at E (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:80:29)
npm error gyp verb which failed at PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:89:16
npm error gyp verb which failed at PROJECT-PATH\node_modules\isexe\index.js:42:5
npm error gyp verb which failed at PROJECT-PATH\node_modules\isexe\windows.js:36:5
npm error gyp verb which failed at FSReqCallback.oncomplete (node:fs:202:21) {
npm error gyp verb which failed code: 'ENOENT'
npm error gyp verb which failed }
npm error gyp verb check python checking for Python executable "python" in the PATH
npm error gyp verb which failed Error: not found: python
npm error gyp verb which failed at getNotFoundError (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:13:12)
npm error gyp verb which failed at F (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:68:19)
npm error gyp verb which failed at E (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:80:29)
npm error gyp verb which failed at PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:89:16
npm error gyp verb which failed at PROJECT-PATH\node_modules\isexe\index.js:42:5
npm error gyp verb which failed at PROJECT-PATH\node_modules\isexe\windows.js:36:5
npm error gyp verb which failed at FSReqCallback.oncomplete (node:fs:202:21)
npm error gyp verb which failed python Error: not found: python
npm error gyp verb which failed at getNotFoundError (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:13:12)
npm error gyp verb which failed at F (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:68:19)
npm error gyp verb which failed at E (PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:80:29)
npm error gyp verb which failed at PROJECT-PATH\node_modules\node-gyp\node_modules\which\which.js:89:16
npm error gyp verb which failed at PROJECT-PATH\node_modules\isexe\index.js:42:5
npm error gyp verb which failed at PROJECT-PATH\node_modules\isexe\windows.js:36:5
npm error gyp verb which failed at FSReqCallback.oncomplete (node:fs:202:21) {
npm error gyp verb which failed code: 'ENOENT'
npm error gyp verb which failed }
npm error gyp verb could not find "python". checking python launcher
npm error gyp verb could not find "python". guessing location
npm error gyp verb ensuring that file exists: C:\Python27\python.exe
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm error gyp ERR! stack at PythonFinder.failNoPython (PROJECT-PATH\node_modules\node-gyp\lib\configure.js:484:19)
npm error gyp ERR! stack at PythonFinder. (PROJECT-PATH\node_modules\node-gyp\lib\configure.js:509:16)
npm error gyp ERR! stack at callback (PROJECT-PATH\node_modules\graceful-fs\polyfills.js:306:20)
npm error gyp ERR! stack at FSReqCallback.oncomplete (node:fs:202:21)
npm error gyp ERR! System Windows_NT 10.0.26100
npm error gyp ERR! command "C:\Program Files\nodejs\node.exe" "PROJECT-PATH\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm error gyp ERR! cwd PROJECT-PATH\node_modules\node-sass
npm error gyp ERR! node -v v18.20.5
npm error gyp ERR! node-gyp -v v3.8.0
npm error gyp ERR! not ok
npm error Build failed with error code: 1
npm error A complete log of this run can be found in: C:\Users\XXX\AppData\Local\npm-cache_logs\2025-06-06T11_23_23_524Z-debug-0.log

Diagnostics

No response

CLI for Microsoft 365 version

10.8.0

nodejs version

18.20.5

Operating system (environment)

Windows

Shell

cmd

cli doctor

No response

Additional Info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the upgrade described in the linked article with SPFx 1.14.0 and 1.21.1, using Node v18.20.5 and npm 10.8.2. Review the npm install output and package engine requirements to identify the incompatibility; done means the documented upgrade path completes npm install without errors and the expected behavior is recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
build-system, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.