Running the sample instructions not working on macOS
arkaydeus opened this issue ยท 10 comments
Procedure followed
- Cloned repo
- Opened VSCode in folder
- Ran yarn (got warning
The engine "vscode" appears to be invalid.
) - Hit F5
- New VSC instance opened
When opening sample notebook got the following errors:
"Cannot open resource with notebook editor type 'nodebook', please check if you have the right extension installed or enabled."
also
"Activating extension 'undefined_publisher.vscode-nodebook' failed: [undefined_publisher.vscode-nodebook]: Proposed API is only available when running out of dev or with the following command line switch: --enable-proposed-api undefined_publisher.vscode-nodebook."
Using VSCode 1.47.2
Glad I wasn't the only one who experienced this error
The latest notebook should work now.
I'll have to adapt the code to the latest APIs...
Thank you, Weinand. This is such a great extension.
Getting this error:
yarn install v1.22.18
[1/5] ๐ Validating package.json...
warning vscode-nodebook@1.0.0: The engine "vscode" appears to be invalid.
[2/5] ๐ Resolving packages...
[3/5] ๐ Fetching packages...
[4/5] ๐ Linking dependencies...
[5/5] ๐จ Building fresh packages...
โจ Done in 9.92s.
Hitting F5 opens up a new window but the file is JSON, not a notebook.
@mhkeller, I know this is 2 years later. But have you fixed the issues? Also, are you using vscode or by any chance GitHub codespace. Because I have the exact same issue while creating a codespace here in main
.
@HlexNC โ /workspaces/vscode-nodebook (main) $ yarn install
yarn install v1.22.19
[1/5] Validating package.json...
warning vscode-nodebook@1.0.0: The engine "vscode" appears to be invalid.
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Done in 0.99s.
@HlexNC โ /workspaces/vscode-nodebook (main) $
@jrieken Sorry to waste your time, but would you be able to provide some assistance here?
@HlexNC I haven't tried recently. I agree that it would be great if this were working.
As an alternative, I've been working on this type of setup that brings some of the real-time feedback you get from a notebook but preserves the structure of a normal script: https://github.com/mhkeller/interactive-nodejs
It's not perfect and would benefit from changes to the VS Code debug REPL (tracking here).
As I am using GitHub Codespace, my notebook isn't even rendering. I will try running it locally, but currently I don't even have vs code installed locally ๐