Closed raulvaldoleiros closed 3 months ago
I found this log file nativescript-extension.txt
same problem Error when trying to require webpack.config.js file from path 'D:\repos\nsExemple\webpack.config.js'. Error is: Error: Cannot find module 'D:\Users\Benoit\AppData\Local\Programs\Microsoft VS Code\package.json' Require stack:
VSC 1.63.2 extension : NativeScript v0.12.3 npm ls nsExemple@1.0.0 D:\repos\nsExemple ├── @nativescript/android@8.1.1 ├── @nativescript/core@8.1.5 ├── @nativescript/theme@3.0.2 ├── @nativescript/types@8.1.1 ├── @nativescript/webpack@5.0.4 ├── @types/node@14.6.4 ├── nativescript-vue-template-compiler@2.9.0 ├── nativescript-vue@2.9.0 ├── typescript@4.3.5 └── vue@2.6.14
Has this extension been deprecated? How is debugging / attaching supposed to work right now? There hasn't been any activity here in many months, and compatibility issues are rampant. Seems like the extension is not compatible with NS8 for example.
UI.: After getting through many more, currently having this exact same issue.
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug I'm using native script angular in vscode with nativescript extension. When I try to debug the application (ios) it doesn't stop in the breakpoints and the editor doesn't recognise the breakpoint.
In the debug console I can see the following messae "Error when trying to require webpack.config.js file from path '/Users/raulvaldoleiros/vscode-workspaces/ns-ng-course/webpack.config.js'. Error is: TypeError: host.onUnRecoverableConfigFileDiagnostic is not a function"
I also have uninstalled and installed webpack, added --debug-brk to arguments, executed ns migrate, created a new project from scratch and nothing seems to work.
To Reproduce Run the launch file
Expected behavior The application stop in the breakpoint