runno icon indicating copy to clipboard operation
runno copied to clipboard

Can't run the example

Open wladston opened this issue 2 years ago • 3 comments

I made these sequence of commands in order to run the example:

$ git clone https://github.com/taybenlor/runno.git
$ cd runno/examples
$ npm install
$ npm run dev

And I received this error:

 > node_modules/vite/dist/node/chunks/dep-3daf770c.js:30586:10: error: [plugin: vite:dep-scan] Failed to resolve entry for package "@runno/runtime". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "@runno/runtime". The package may have incorrect main/module/exports specified in its package.json.

I'm trying to figure out why the package.json reference for @runno/runtime isn't working, I'll update this issue with a fix if I find out.

wladston avatar Sep 18 '23 12:09 wladston

Hmmm, try deleting the package-lock.json file and running npm install again. It looks like the lockfile might have resolutions that only work on my computer.

taybenlor avatar Sep 18 '23 21:09 taybenlor

Thanks for responding! I have this result even when I start from scratch: cloning the repo and issuing the install / run dev commands. I managed to run the examples by replacing the "file" references in the package.json file in the example.

wladston avatar Sep 19 '23 16:09 wladston

Great! I'll have to try this from scratch myself to fix that.

taybenlor avatar Sep 20 '23 03:09 taybenlor