ampproject / amp-toolbox

A collection of AMP tools making it easier to publish and host AMP pages.
Apache License 2.0
449 stars 243 forks source link

Latest version of the linter just fails #1370

Closed lmtr0 closed 1 month ago

lmtr0 commented 2 months ago

I try to run the linter against the amp.dev page and I get this error:

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /home/user/.npm/_npx/53523ddfcc5ce0c2/node_modules/postcss/package.json

Please help me, I tried npx, pnpx and bunx, none of them work

danielrozenberg commented 2 months ago

@powerivq is this something you can help with?

powerivq commented 2 months ago

@lmtr0 Could you inform me what is your nodejs version? Is it LTS?

lmtr0 commented 2 months ago

node: v20.11.1 deno: 1.46.1 bun: 1.1.10 Operating System: Fedora 40 (Workstation Edition)

@powerivq

powerivq commented 2 months ago

@lmtr0 Can you provide an exact reproduction of the error?

lmtr0 commented 1 month ago

Fun how it just decided to work now :|

powerivq commented 1 month ago

Glad to hear!