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
After taking a look at the React Notebook sample, available here
I mimicked the code they used to my own project, which is a notebook visualiser by the way, ( as I was not able to make React work ) but it did not work for me because of a Webpack error that happened :
`ERROR in ./node_modules/vscode-notebook-error-overlay/dist/index.js 4:0-48
Module not found: Error: Can't resolve './overlay' in 'C:...\project\node_modules\vscode-notebook-error-overlay\dist'
resolve './overlay' in 'C:...\project\node_modules\vscode-notebook-error-overlay\dist'
using description file: C:...\project\node_modules\vscode-notebook-error-overlay\package.json (relative path: ./dist)
Field 'browser' doesn't contain a valid alias configuration
using description file: C:...\project\node_modules\vscode-notebook-error-overlay\package.json (relative path: ./dist/overlay)
no extension
Field 'browser' doesn't contain a valid alias configuration
.tsx
Field 'browser' doesn't contain a valid alias configuration
C:...\project\node_modules\vscode-notebook-error-overlay\dist\overlay.tsx doesn't exist
.css
Field 'browser' doesn't contain a valid alias configuration
C:...\project\node_modules\vscode-notebook-error-overlay\dist\overlay.css doesn't exist
as directory
C:...\project\node_modules\vscode-notebook-error-overlay\dist\overlay doesn't exist
@ ./src/renderer/index.tsx 3:0-57 44:12-29
webpack 5.82.0 compiled with 1 error in 2057 ms`
The text was updated successfully, but these errors were encountered:
just tried the official yo code project starter and got a similar error:
Cannot find module 'vscode-notebook-error-overlay'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
Based on how buggy vscode notebooks are, seems like Microsoft has abandoned them :(
After taking a look at the React Notebook sample, available here
I mimicked the code they used to my own project, which is a notebook visualiser by the way, ( as I was not able to make React work ) but it did not work for me because of a Webpack error that happened :
`ERROR in ./node_modules/vscode-notebook-error-overlay/dist/index.js 4:0-48
Module not found: Error: Can't resolve './overlay' in 'C:...\project\node_modules\vscode-notebook-error-overlay\dist'
resolve './overlay' in 'C:...\project\node_modules\vscode-notebook-error-overlay\dist'
using description file: C:...\project\node_modules\vscode-notebook-error-overlay\package.json (relative path: ./dist)
Field 'browser' doesn't contain a valid alias configuration
using description file: C:...\project\node_modules\vscode-notebook-error-overlay\package.json (relative path: ./dist/overlay)
no extension
Field 'browser' doesn't contain a valid alias configuration
.tsx
Field 'browser' doesn't contain a valid alias configuration
C:...\project\node_modules\vscode-notebook-error-overlay\dist\overlay.tsx doesn't exist
.css
Field 'browser' doesn't contain a valid alias configuration
C:...\project\node_modules\vscode-notebook-error-overlay\dist\overlay.css doesn't exist
as directory
C:...\project\node_modules\vscode-notebook-error-overlay\dist\overlay doesn't exist
@ ./src/renderer/index.tsx 3:0-57 44:12-29
webpack 5.82.0 compiled with 1 error in 2057 ms`
The text was updated successfully, but these errors were encountered: