You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using @nativescript/webpack 5.0.18 with @nativescript/core 8.3.6 (yes, I know that's old). Everything builds fine. However, when I upgrade @nativescript/webpack to 5.0.19 my Android build breaks.
I would not have expected to have to do a significant upgrade of @nativescript/core (a runtime dep) to take a patch version of @nativescript/webpack (a devDep), so I logged this as a bug, but maybe it's just how it is. Still, I'd expect @nativescript/webpack to at least get a minor version bump in this scenario rather than what's supposed to be a safe "patch".
Reproduction
Use @nativescript/webpack 5.0.19 w/ a version of @nativescript/core prior to 8.7.0.
Execute ns build android
Relevant log output (if applicable)
ERROR in tns_modules/inspector_modules
Module not found: Error: Can't resolve '@nativescript/core/inspector_modules' in '...'resolve '@nativescript/core/inspector_modules' in '...' Parsed request is a module using description file: .../package.json (relative path: .) resolve as module looking for modules in .../node_modules existing directory .../node_modules/@nativescript/core using description file: .../node_modules/@nativescript/core/package.json (relative path: .) using description file: .../node_modules/@nativescript/core/package.json (relative path: ./inspector_modules) no extension .../node_modules/@nativescript/core/inspector_modules doesn't exist
.android.ts
.../node_modules/@nativescript/core/inspector_modules.android.ts doesn't exist .ts .../node_modules/@nativescript/core/inspector_modules.ts doesn't exist
.android.js
.../node_modules/@nativescript/core/inspector_modules.android.js doesn't exist .js .../node_modules/@nativescript/core/inspector_modules.js doesn't exist
.android.mjs
.../node_modules/@nativescript/core/inspector_modules.android.mjs doesn't exist .mjs .../node_modules/@nativescript/core/inspector_modules.mjs doesn't exist
.android.css
.../node_modules/@nativescript/core/inspector_modules.android.css doesn't exist .css .../node_modules/@nativescript/core/inspector_modules.css doesn't exist
.android.scss
.../node_modules/@nativescript/core/inspector_modules.android.scss doesn't exist .scss .../node_modules/@nativescript/core/inspector_modules.scss doesn't exist
.android.json
.../node_modules/@nativescript/core/inspector_modules.android.json doesn't exist .json .../node_modules/@nativescript/core/inspector_modules.json doesn't exist
as directory
.../node_modules/@nativescript/core/inspector_modules doesn't existls node_modules/@nativescript/core/inspector_modules*----------------node_modules/@nativescript/core/inspector_modules.ios.d.tsnode_modules/@nativescript/core/inspector_modules.ios.jsnode_modules/@nativescript/core/inspector_modules.ios.js.map
Environment
npm WARN exec The following package was not found and will be installed: nativescript-envinfo@1.0.9
This should be fixed in @nativescript/webpack@5.0.20 and up - you can revert the version range to ~5.0.0 to keep receiving webpack updates (we do try to keep them seamless and backwards compatible - this issue slipped through).
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
I'm currently using @nativescript/webpack 5.0.18 with @nativescript/core 8.3.6 (yes, I know that's old). Everything builds fine. However, when I upgrade @nativescript/webpack to 5.0.19 my Android build breaks.
The issue seems to trace to this PR, specifically this line.
I would not have expected to have to do a significant upgrade of @nativescript/core (a runtime dep) to take a patch version of @nativescript/webpack (a devDep), so I logged this as a bug, but maybe it's just how it is. Still, I'd expect @nativescript/webpack to at least get a minor version bump in this scenario rather than what's supposed to be a safe "patch".
Reproduction
ns build android
Relevant log output (if applicable)
Environment
npm WARN exec The following package was not found and will be installed: nativescript-envinfo@1.0.9
Dependencies
Please accept these terms
The text was updated successfully, but these errors were encountered: