Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run the example #271

Open
wladston opened this issue Sep 18, 2023 · 3 comments
Open

Can't run the example #271

wladston opened this issue Sep 18, 2023 · 3 comments

Comments

@wladston
Copy link

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.

@taybenlor
Copy link
Owner

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.

@wladston
Copy link
Author

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.

@taybenlor
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants