Skip to content

SPFx 1.18.x support #1705

@Tanddant

Description

@Tanddant

Category

  • Enhancement
  • Bug
  • Question

Version

Please specify what version of the library you are using: [3.15.0]

Expected / Desired Behavior / Question

Being able to install the package, and use i - I guess that's really all.

Observed Behavior

Since SPFx 1.18 changed the node version I'm having some issue, installing on a SPFx 1.18.1 solution gives me the following install log:

npm install @pnp/spfx-controls-react --save --save-exact     
                                                                                                                                               
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @rushstack/[email protected]
npm WARN Found: @rushstack/[email protected]
npm WARN node_modules/spfx-fast-serve-helpers/node_modules/@rushstack/set-webpack-public-path-plugin
npm WARN   @rushstack/set-webpack-public-path-plugin@"4.0.15" from @microsoft/[email protected]
npm WARN   node_modules/spfx-fast-serve-helpers/node_modules/@microsoft/spfx-heft-plugins
npm WARN     @microsoft/spfx-heft-plugins@"1.18.0" from [email protected]
npm WARN     node_modules/spfx-fast-serve-helpers
npm WARN
npm WARN Could not resolve dependency:
npm WARN peerOptional @rushstack/set-webpack-public-path-plugin@"^4.0.16" from @rushstack/[email protected]
npm WARN node_modules/spfx-fast-serve-helpers/node_modules/@rushstack/webpack4-localization-plugin
npm WARN   @rushstack/webpack4-localization-plugin@"0.17.46" from @microsoft/[email protected]
npm WARN   node_modules/spfx-fast-serve-helpers/node_modules/@microsoft/spfx-heft-plugins
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @microsoft/[email protected]
npm WARN Found: @microsoft/[email protected]
npm WARN node_modules/spfx-fast-serve-helpers/node_modules/@microsoft/spfx-heft-plugins/node_modules/@microsoft/load-themed-styles
npm WARN   @microsoft/load-themed-styles@"1.10.292" from @microsoft/[email protected]
npm WARN   node_modules/spfx-fast-serve-helpers/node_modules/@microsoft/spfx-heft-plugins
npm WARN     @microsoft/spfx-heft-plugins@"1.18.0" from [email protected]
npm WARN     node_modules/spfx-fast-serve-helpers
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @microsoft/load-themed-styles@"^2.0.70" from @microsoft/[email protected]
npm WARN node_modules/spfx-fast-serve-helpers/node_modules/@microsoft/spfx-heft-plugins/node_modules/@microsoft/loader-load-themed-styles
npm WARN   @microsoft/loader-load-themed-styles@"2.0.68" from @microsoft/[email protected]
npm WARN   node_modules/spfx-fast-serve-helpers/node_modules/@microsoft/spfx-heft-plugins
npm WARN
npm WARN Conflicting peer dependency: @microsoft/[email protected]
npm WARN node_modules/@microsoft/load-themed-styles
npm WARN   peer @microsoft/load-themed-styles@"^2.0.70" from @microsoft/[email protected]
npm WARN   node_modules/spfx-fast-serve-helpers/node_modules/@microsoft/spfx-heft-plugins/node_modules/@microsoft/loader-load-themed-styles
npm WARN     @microsoft/loader-load-themed-styles@"2.0.68" from @microsoft/[email protected]
npm WARN     node_modules/spfx-fast-serve-helpers/node_modules/@microsoft/spfx-heft-plugins
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=16.13.0 <17.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@microsoft/[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '>=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN deprecated [email protected]: spfx-uifabric-themes got replaced by hTWOo - https://my.n8d.at/hTWOo and check the updated documentation for this package: https://lab.n8d.studio/spfx-uifabric-themes/
npm WARN deprecated [email protected]: This package is no longer supported. Please use @azure/msal-browser instead.
npm WARN deprecated [email protected]: This package is no longer supported. Please use @azure/msal-browser instead.
npm WARN deprecated [email protected]: This package is no longer supported. Please use @azure/msal-browser instead.
npm WARN deprecated [email protected]: This package is no longer supported. Please use @azure/msal-browser instead.
npm WARN deprecated [email protected]: This package is no longer supported. Please use @azure/msal-browser instead.

added 293 packages, and audited 3270 packages in 3m

259 packages are looking for funding
  run `npm fund` for details

93 vulnerabilities (1 low, 66 moderate, 25 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

Running a gulp serve then gives me the following:

gulp serve                                                                                                                                                                                                  ─╯
Build target: DEBUG
[16:39:07] Using gulpfile D:\Project\SPFx\gulpfile.js
[16:39:07] Starting 'serve'...
[16:39:07] Starting gulp
[16:39:07] Starting subtask 'spfx-serve'...
[16:39:07] [spfx-serve] To load your scripts, use this query string: ?debug=true&noredir=true&debugManifestsFile=https://localhost:4321/temp/manifests.js
[16:39:07] Starting server...
[16:39:07] Finished subtask 'spfx-serve' after 235 ms
[16:39:07] Starting subtask 'pre-copy'...
[16:39:07] Finished subtask 'pre-copy' after 40 ms
[16:39:07] Starting subtask 'copy-static-assets'...
[16:39:07] Starting subtask 'sass'...
[16:39:07] Server started https://localhost:4321
[16:39:07] LiveReload started on port 35729
[16:39:07] Running server
Opening https://xxxxxx.sharepoint.com/sites/xxxxxxxxx/_layouts/15/SPListForm.aspx?debugManifestsFile=https%3A%2F%2Flocalhost%3A4321%2Ftemp%2Fmanifests.js&loadSPFX=true&componentId=b96f711e-ae5e-4df4-bcea-99a56012eac6&PageType=8&RootFolder=%2Fsites%2FMove-IT%2FLists%2FProjects&properties=%7B%22sampleText%22%3A%22Value%22%7D using the default OS app
[16:39:07] Finished subtask 'sass' after 86 ms
[16:39:07] Starting subtask 'lint'...
[16:39:07] [lint] eslint version: 8.7.0
[16:39:07] Starting subtask 'tsc'...
[16:39:07] [tsc] typescript version: 4.5.5
[16:39:11] Finished subtask 'copy-static-assets' after 4.32 s
[16:39:14] Finished subtask 'tsc' after 7.05 s

[16:39:17] Warning - lint - ... TOTALLY NOT 211 Lines of lint warnings

[16:39:17] Finished subtask 'lint' after 9.61 s
[16:39:17] Starting subtask 'post-copy'...
[16:39:17] Finished subtask 'post-copy' after 137 μs
[16:39:17] Starting subtask 'configure-webpack'...
[16:39:17] Finished subtask 'configure-webpack' after 675 ms
[16:39:17] Starting subtask 'webpack'...
[16:39:22] Error - [webpack] Error processing webpack stats: TypeError: Cannot read properties of undefined (reading 'toJson')
[16:39:22] Error - [webpack] Webpack error: TypeError: Cannot set properties of undefined (setting 'asyncChunks')
[16:39:22] Finished subtask 'webpack' after 5.14 s
[16:39:22] Starting subtask 'reload'...
[16:39:22] Finished subtask 'reload' after 2 ms

And nothing will load, looking at the following two lines, but I have no clue where they're coming from

[16:39:22] Error - [webpack] Error processing webpack stats: TypeError: Cannot read properties of undefined (reading 'toJson')
[16:39:22] Error - [webpack] Webpack error: TypeError: Cannot set properties of undefined (setting 'asyncChunks')

Steps to Reproduce

I get them just spinning up a SPFx 1.18.1 Project and running a npm install @pnp/spfx-controls-react --save --save-exact

I'm down to try and help out, but I have no clue where to start 😅

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementNew feature or enhancement of existing capability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions