D-Pagey

D-Pagey

Lead FullStack Developer

Member Since 4 years ago

Titan Academy, London

Experience Points
29
follower
Lessons Completed
10
follow
Lessons Completed
30
stars
Best Reply Awards
25
repos

610 contributions in the last year

Pinned
⚡ Old personal website
Activity
Nov
2
4 weeks ago
Activity icon
issue

D-Pagey issue comment serverless/serverless-plugin-typescript

D-Pagey
D-Pagey

Error EPERM: operation not permitted, version 1.1.9

When I tried to run 'sls deploy', following error is shown:

EPERM: operation not permitted, unlink '/Users/sofyan.ahmad/Projects/zenius/zenius-membership/services/influencer/.build/node_modules'

The error is gone when I reverted back to version 1.1.7

D-Pagey
D-Pagey

Deleting .build then running sls deploy worked for me

Came back months later when upgrading to runtime: nodejs14.x for optional chaining. The above worked again 👍

Oct
8
1 month ago
Activity icon
issue

D-Pagey issue comment remix-run/react-router

D-Pagey
D-Pagey

[Bug]: history.push results in empty search value

What version of React Router are you using?

5.3.0

Steps to Reproduce

  1. Navigate to any route with a query param in the url
  2. User click to navigate to a different url with a query parameter
history.push(`www.example.com/some/route?target=${uuid}`)
  1. The location.search field will be empty in the route despite being in the url

Screenshot 2021-10-08 at 11 06 45

Expected Behavior

The search field should be populated with ?target=dad... and not empty

Actual Behavior

The search field is empty

D-Pagey
D-Pagey

I don't understand why the search value would be empty when the pathname shows the query param. I couldn't find an explanation in the docs either.

Activity icon
issue

D-Pagey issue remix-run/react-router

D-Pagey
D-Pagey

[Bug]: history.push results in empty search value

What version of React Router are you using?

5.3.0

Steps to Reproduce

  1. Navigate to any route with a query param in the url
  2. User click to navigate to a different url with a query parameter
history.push(`www.example.com/some/route?target=${uuid}`)
  1. The location.search field will be empty in the route despite being in the url

Screenshot 2021-10-08 at 11 06 45

Expected Behavior

The search field should be populated with ?target=dad... and not empty

Actual Behavior

The search field is empty

Sep
22
2 months ago
started
started time in 2 months ago
Sep
13
2 months ago
Sep
9
2 months ago