Hi @buildwithhussain@netchampfaris
I tried bench add-frapp-ui. it’s installed and its working. I replaced my site name with localhost. My site name is practice.com.
I tried with http://practice.com:8080
this url is not working? But localhost:8080 is working in that i go this error how to solve?
in console:
caught (in promise) TypeError: Cannot read properties of undefined (reading ‘exc_type’)
at frappeRequest.js:59:31
at Generator.next ()
at fulfilled (chunk-C5ROOZUP.js?v=62fbdc61:45:24)
Hi,
my currentsite.txt is set to practice.com
while installing bench add-frappe-ui no error, only warn’s are there
I am using aws server for frappe-instance my domain name is turiya.in for this scenario
can i use domain name or i should replace with my site name ?
I removed front end folder and tried again the first ping request is working. I tried with my doctype
This error came
Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 53, in application
response = frappe.api.handle()
File “apps/frappe/frappe/api.py”, line 53, in handle
return _RESTAPIHandler(call, doctype, name).get_response()
File “apps/frappe/frappe/api.py”, line 69, in get_response
return self.handle_method()
File “apps/frappe/frappe/api.py”, line 79, in handle_method
return frappe.handler.handle()
File “apps/frappe/frappe/handler.py”, line 48, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/handler.py”, line 83, in execute_cmd
is_whitelisted(method)
File “apps/frappe/frappe/init.py”, line 779, in is_whitelisted
throw(msg, PermissionError, title=“Method Not Allowed”)
File “apps/frappe/frappe/init.py”, line 523, in throw
msgprint(
File “apps/frappe/frappe/init.py”, line 491, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 440, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.PermissionError:
You are not permitted to access this resource.Function frappe.client.get_list is not whitelisted.
In vscode,
ahead of ‘frappe-ui’ three dots are there while i move the cursor to that point i got these whether it’s an error?
Could not find a declaration file for module ‘frappe-ui’. ‘/home/ubuntu/frappe-practice/apps/practice_app/frontend/node_modules/frappe-ui/src/index.js’ implicitly has an ‘any’ type.
Try npm i --save-dev @types/frappe-ui if it exists or add a new declaration (.d.ts) file containing declare module 'frappe-ui';Vetur(7016)
Could not find a declaration file for module ‘frappe-ui’. ‘/home/ubuntu/frappe-practice/apps/practice_app/frontend/node_modules/frappe-ui/src/index.js’ implicitly has an ‘any’ type.
If the ‘frappe-ui’ package actually exposes this module, try adding a new declaration (.d.ts) file containing declare module 'frappe-ui';ts(7016)
module “/home/ubuntu/frappe-practice/apps/practice_app/frontend/node_modules/frappe-ui/src/index”
No quick fixes available
Hi sir,
Thankyou for your response. I will wait for the update.
how to solve this permission error sir. It should be work in 8080 port right? If i do any action means my frappe desk pop up with the message you are not permitted it again ask me to login.
Uncaught (in promise) Error: /api/method/frappe.client.insert PermissionError
at frappeRequest.js:71:17
at Generator.next ()
at fulfilled (chunk-C5ROOZUP.js?v=6c831050:45:24)
I have released a new version of Doppio that will automatically configure the prod setup. You can either re-setup or check the change log for what it really adds:
build command in spa/package.json
routing rule in hooks.py
You can also check apps like Gameplan or Press to see how they are configured.