Re: [lime] How to test limeapp development versions

Delete this message

Reply to this message
Autore: pony
Data:  
To: LibreMesh.org project mailing list
Oggetto: Re: [lime] How to test limeapp development versions
`yarn install --ignore-engines` worked, but now when I run `yarn build` or `yarn dev`, I get this error:

$ preact build --no-prerender
/home/pony/lime-app/node_modules/ora/index.js:7
const stripAnsi = require('strip-ansi');
                  ^


Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pony/lime-app/node_modules/strip-ansi/index.js from /home/pony/lime-app/node_modules/ora/index.js not supported.
Instead change the require of /home/pony/lime-app/node_modules/strip-ansi/index.js in /home/pony/lime-app/node_modules/ora/index.js to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (/home/pony/lime-app/node_modules/ora/index.js:7:19)
    at Object.<anonymous> (/home/pony/lime-app/node_modules/preact-cli/src/commands/create.js:1:75)
    at Object.<anonymous> (/home/pony/lime-app/node_modules/preact-cli/src/commands/index.js:2:20)
    at Object.<anonymous> (/home/pony/lime-app/node_modules/preact-cli/src/index.js:17:18) {
  code: 'ERR_REQUIRE_ESM'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Downloading the built lime-app works now. However, it is identical to the one that I have built from the develop branch.


On Tuesday, 20 February 2024 17:30:34 CET pony via LibreMesh wrote:
> On Tuesday, 20 February 2024 17:09:29 CET Selan Kon via LibreMesh wrote:
> > Is strange because the actions are building with node version 16.. Which
> > branch are you on?
>
> I'm on branch "test-implement-new-landing".
>
>