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
Retain package.json - this is necessary because we're using our own package imported from a Github repo. Contents of package.json are something like the below:
With package.json open in GCP Dataform, click Install packages. This works as expected on v3.0.0-beta.0.
Update package.json to increment the version of dataform-co to (say) v3.0.0-beta4.
With package.json open in GCP Dataform, click Install packages.
Packages are not installed and package-lock.json is not updated. The following error is displayed: "API request error: NPM Execution error: npm notice npm notice New major version of npm available! 8.18.0 -> 10.5.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.5.2 npm notice Run npm install -g npm@10.5.2 to update! npm notice npm ERR! code ETARGET npm ERR! notarget No matching version found for @dataform/core@3.0.0-beta4. 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 ERR! Log files were not written due to the config logs-max=0"
The text was updated successfully, but these errors were encountered:
Fix for this was to add "name": "hidden-package-name" to package.json for the package (not the Dataform repo using the package) as per documentation. Closing.
Steps to reproduce:
npm install -g npm@10.5.2
to update! npm notice npm ERR! code ETARGET npm ERR! notarget No matching version found for @dataform/core@3.0.0-beta4. 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 ERR! Log files were not written due to the config logs-max=0"The text was updated successfully, but these errors were encountered: