Software versions
bokeh==2.4.0
python==3.9.5
npm==7.21.0
Description of expected behavior and the observed behavior
Running bokeh init creates a package.json file that refers to the deprecated bokehjs Node package (https://www.npmjs.com/package/bokehjs). It should instead refer to the current @bokeh/bokehjs (https://www.npmjs.com/package/@bokeh/bokehjs) package.
Complete, minimal, self-contained example code that reproduces the issue
mkdir my_extension
cd my_extension
bokeh init
bokeh build
errors with:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for bokehjs@^2.4.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm install failed with exit code 1.
It is fixed by changing bokehjs to @bokeh/bokehjs in the package.json dependencies.