Our blazing fast Grid component built with pure JavaScript


Post by bbarber »

Hello,

I'm looking to trial the Bryntum Grid VUE components as an alternative for the current table components we use in our UI. However, I'm having difficulty adding them to yarn. From the NPM management documentation, I was able to add the grid-trial package using yarn add @bryntum/grid@yarn:@bryntum/grid-trial@4.1.0but when trying to add grid-vue package using yarn add @bryntum/grid-angular@4.1.0 I get the following error:

error Couldn't find package "@bryntum/grid@4.1.0" required by "@bryntum/grid-vue@4.1.0" on the "npm" registry.

due to a 404 error when trying to retrieve this dependency. This makes sense since I only have access to grid-trial but the docs lead me to believe I am able to trial grid-vue as well.

Am I able to trial grid-vue components? If so, how should I go about adding this package to my existing project.

Thanks,

Bradley


Post by sergey.maltsev »

Hi!

According to our guide https://www.bryntum.com/docs/grid/#guides/npm-repository.md#trials correct name should be @bryntum/grid@npm:@bryntum/grid-trial@4.1.0 but not @bryntum/grid@yarn:@bryntum/grid-trial@4.1.0.

Please try this:

yarn add @bryntum/grid@npm:@bryntum/grid-trial@4.1.0
yarn add @bryntum/grid-angular@4.1.0

Post by bbarber »

Hi Sergey,

I've tried this as well with the same outcome, still getting the following

error Couldn't find package "@bryntum/grid@4.1.0" required by "@bryntum/grid-vue@4.1.0" on the "npm" registry.

When I run

yarn add @bryntum/grid@npm:@bryntum/grid-trial@4.1.0
yarn add --verbose @bryntum/grid-vue@4.1.0

I see that the issue is a 403 (Forbidden) error when trying to retrieve the full, licensed version of @bryntum/grid@4.1.0 instead of using the trial version

[1/5] Validating package.json...
[2/5] Resolving packages...
verbose 0.256174784 Performing "GET" request to "https://npm.bryntum.com/@bryntum%2fgrid-vue".
verbose 0.994584642 Request "https://npm.bryntum.com/@bryntum%2fgrid-vue" finished with status code 200.
verbose 0.997561378 Performing "GET" request to "https://npm.bryntum.com/@bryntum%2fgrid".
verbose 0.998225992 Performing "GET" request to "https://registry.yarnpkg.com/vue".
verbose 1.18221039 Request "https://npm.bryntum.com/@bryntum%2fgrid" finished with status code 403.
verbose 1.192932679 Error: Couldn't find package "@bryntum/grid@4.1.0" required by "@bryntum/grid-vue@4.1.0" on the "npm" registry.
    at MessageError.ExtendableBuiltin (/usr/share/yarn/lib/cli.js:721:66)
    at new MessageError (/usr/share/yarn/lib/cli.js:750:123)
    at PackageRequest.<anonymous> (/usr/share/yarn/lib/cli.js:36539:17)
    at Generator.throw (<anonymous>)
    at step (/usr/share/yarn/lib/cli.js:310:30)
    at /usr/share/yarn/lib/cli.js:323:13
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
error Couldn't find package "@bryntum/grid@4.1.0" required by "@bryntum/grid-vue@4.1.0" on the "npm" registry.

Post by sergey.maltsev »

Hi!

Thank you for the information.
Now it confirmed that we have problem with yarn package aliases.

This is issue to fix it.
https://github.com/bryntum/support/issues/2681

Meanwhile you can use npm instead of yarn which should work.

npm install @bryntum/grid@npm:@bryntum/grid-trial
npm install @bryntum/grid-vue

Post Reply