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

Frontend not working #54

Closed
FOREVEREALIZE opened this issue Sep 10, 2022 · 6 comments
Closed

Frontend not working #54

FOREVEREALIZE opened this issue Sep 10, 2022 · 6 comments

Comments

@FOREVEREALIZE
Copy link

FOREVEREALIZE commented Sep 10, 2022

How can i make this work?
C:\Users\User\Desktop\turtle-gambit\frontend>yarn dev
yarn run v1.22.19
$ next
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/parser' is not defined by "exports" in C:\Users\User\Desktop\turtle-gambit\frontend\node_modules\next\node_modules\postcss\package.json
at new NodeError (node:internal/errors:393:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:340:9)
at packageExportsResolve (node:internal/modules/esm/resolve:619:3)
at resolveExports (node:internal/modules/cjs/loader:492:36)
at Module._findPath (node:internal/modules/cjs/loader:532:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:941:27)
at Module._load (node:internal/modules/cjs/loader:803:27)
at Module.require (node:internal/modules/cjs/loader:1021:19)
at require (node:internal/modules/cjs/helpers:103:18)
at 552 (C:\Users\User\Desktop\turtle-gambit\frontend\node_modules\next\dist\compiled\postcss-scss\scss-syntax.js:1:11590) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Originally posted by @Nowamax1337 in #40 (comment)

Try to run npx browserslist@latest --update-db on a a terminal

@Nowamax1337
Copy link

I had figured it out the problem was node.js version

@Jackaroo05
Copy link

What version of node do I need?

@sannelo
Copy link

sannelo commented Jul 21, 2023

Have you solved this problem? If so, what version did you use?

@PzmuV1517
Copy link

Yeah, can you please tell us the version, all of the other issues with this topic point to here but there is no answer here!!!

@M4X40
Copy link

M4X40 commented Oct 23, 2023

Any update on what version should be used, or any other fix?

@Starcalled
Copy link

Starcalled commented Oct 27, 2023

FINAL EDIT: it seems that Turtle Gambit is kinda broken in modern day, since it was a one-off project that I assume was never intended to be maintained. There is a fork called turtle-control that (for me at least) works perfectly.

Since the original post was made in September 2021, I found a node.js release from just before that time, 15.14.0, and it seems to work. Hope this helps.

EDIT: IT DOES NOT WORK. currently trying to find another version.

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

7 participants