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 application because the Lib folder is missing #43

Open
darkwolfie37 opened this issue Oct 31, 2021 · 4 comments
Open

Can't run the application because the Lib folder is missing #43

darkwolfie37 opened this issue Oct 31, 2021 · 4 comments

Comments

@darkwolfie37
Copy link

C:\Users\DarkWolfie\Desktop\turtle-gambit-master\turtle-gambit-master\frontend>yarn dev
yarn run v1.22.17
$ 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\DarkWolfie\Desktop\turtle-gambit-master\turtle-gambit-master\frontend\node_modules\next\node_modules\postcss\package.json
at new NodeError (node:internal/errors:371:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:416:9)
at packageExportsResolve (node:internal/modules/esm/resolve:669:3)
at resolveExports (node:internal/modules/cjs/loader:482:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.552 (C:\Users\DarkWolfie\Desktop\turtle-gambit-master\turtle-gambit-master\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.

Please Help me on this issue.

@FOREVEREALIZE
Copy link

npm update should fix it.
If it does not, tell me

@LostGameDev
Copy link

LostGameDev commented Oct 31, 2021

npm update should fix it. If it does not, tell me

i had this issue if this does not fix it then try reinstalling node.js it fixed it for me

@darkwolfie37
Copy link
Author

darkwolfie37 commented Nov 1, 2021

npm update should fix it. If it does not, tell me

I had figured it out before this thread was commented on Sorry. My next Question is:

Is there a way i can put this on a website for my smp members to control the bots remotely without having to install it.
I was able to get the 3000 port to 80 using npm run dev -- -p 80 but get the window.refreshData error
http://turtle.darksmp.com

@FOREVEREALIZE
Copy link

npm update should fix it. If it does not, tell me

I had figured it out before this thread was commented on Sorry. My next Question is:

Is there a way i can put this on a website for my smp members to control the bots remotely without having to install it. I was able to get the 3000 port to 80 using npm run dev -- -p 80 but get the window.refreshData error http://turtle.darksmp.com

This is not possible since the tutle gambit has to be ran in a carlo application which cannot be ran on a remote browser.
If you think you can you could learn TypeScript and try to un-carlofy it.

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

3 participants