Comments (2)
I think this may be related to the Apple Silicon because I previously installed it successfully on my Intel MacBook.
Thats probably correct. We can investigate when we have time. In the meantime, you could try using our docker image instead.
from supertokens-core.
TLDR : before running the installation script, run
sudo mkdir /usr/local/bin
Hey,
I encountered the same issue on mac M3. The interesting part of the log is :
io.supertokens.cli.commandHandler.install.InstallHandler.createSupertokensScript(InstallHandler.java:146)
The createSupertokensScript
method calls getSupertokensScriptLocation
to know where to create the supertokens script file depending on the running OS. For mac we have this condition :
else if (OperatingSystem.getOS() == OperatingSystem.OS.MAC) {
return "/usr/local/bin/supertokens";
}
We then try to create the supertokens script under /usr/local/bin. But it appears that after a fresh install of MacOS, this "bin" directory does not necessary exist. So the you just have to create it before running the installation script and everything will be ok :)
from supertokens-core.
Related Issues (20)
- third party middleware for passwordless authentication HOT 1
- Strategies for Bulk User Import into SuperTokens HOT 6
- [RELEASE]: Change in dynamic signing key
- Supertokens seems to convert OIDC discovery URLs to lower case which cause the IDP to return a 404 HOT 1
- UserId is already in use in Session recipe HOT 1
- Vulnerabilities in latest supertokens-mysql Docker image HOT 1
- [RELEASE]: Auth mode any should take what is used by the suer
- get user by id do not search in custom tenant with custom database HOT 4
- Issue with non-auth recipes in multitenancy
- Do not try to determine storage in API layer HOT 1
- Scheduler Component Symfony 6.4
- ':supertokens-plugin-interface' could not be found HOT 1
- [RELEASE]: MFA
- Support ECMAScript Modules in examples and create-supertokens-app
- Make recipe enabled booleans better HOT 3
- SuperTokens core crashes if target db of CUD doesn't have apps and tenants table filled with public HOT 1
- Custom OTP lifetime never expires HOT 2
- beginners for git and github
- git aqnd github for beginners HOT 1
- git and github for beginners for beginners HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supertokens-core.