Closed web-padawan closed 2 years ago
When trying to run lit-analyzer@next the following error is thrown:
lit-analyzer@next
$ npx lit-analyzer frontend/**/*.ts node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module './lib/index.cjs' Require stack: - /Users/serhii/vaadin/docs/node_modules/lit-analyzer/cli.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/Users/serhii/vaadin/docs/node_modules/lit-analyzer/cli.js:3:1) at Module._compile (node:internal/modules/cjs/loader:1103:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/serhii/vaadin/docs/node_modules/lit-analyzer/cli.js' ]
As you can see here, the file imported is not published to npm:
@rictic @justinfagnani FYI, possibly related to recent build changes.
Yep, that looks like a config error, will take a look.
Published lit-analyzer@2.0.0-pre.2 which should fix this
When trying to run
lit-analyzer@next
the following error is thrown:As you can see here, the file imported is not published to npm:
@rictic @justinfagnani FYI, possibly related to recent build changes.