turtle-gambit
turtle-gambit copied to clipboard
Can't run the application because the Lib folder is missing
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.
npm update
should fix it.
If it does not, tell me
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
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
npm update
should fix it. If it does not, tell meI 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.