Hei out there
Iâm a frontender trying to get my sites up and running with the Web3Authentication and it works and puts entries in the db but it fails when I make an .env fileâŚ
I want to take out the IDâs and URL and put it in an .env file that I exclude from github . . . or is there another/better way?
Code:
.env
REACT_APP_MORALIS_APPLICATION_ID=âxxxxxxxxâ
_app.js
const appId = process.env.REACT_APP_MORALIS_APPLICATION_ID
return (
Error:
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Loaded env from C:\xxxxxxxxxxxxxxxxxxxxxxx\web3authenticate.env
[Error: UNKNOWN: unknown error, readlink âC:\xxxxxxxxxxxxxxxxxxxx\web3authenticate.next\server\webpack-runtime.jsâ] {
errno: -4094,
code: âUNKNOWNâ,
syscall: âreadlinkâ,
path: âC:\xxxxxxxxxxxxxxxxxxxx\web3authenticate\.next\server\webpack-runtime.jsâ
}
Thanx in advance <3