Re: Cannot Find Module while creating a shopify app.

Cannot Find Module while creating a shopify app.

arimtiaz
Shopify Partner
11 0 2

I created a shopify app using cli and why am I getting this errorScreenshot 2024-07-04 at 12.23.33 PM.png

Replies 9 (9)

bobmattax_bwm
Shopify Partner
1 0 1

I'm having the same experience. Following.

arimtiaz
Shopify Partner
11 0 2

Did you find any solutions yet?

anirudh
Shopify Partner
2 0 1

Hey

Did you find a solution to this? seems like a recent bug in setting up an environment using the shopify CLI

arimtiaz
Shopify Partner
11 0 2

Couldn't find any solutions yet. What about you? How are you working on the app now?

 

jafer_aflak
Shopify Partner
3 0 0

 I also having the same issue. Please let me know if you guys found any resolve.

Screenshot 2024-07-05 123451.png

arimtiaz
Shopify Partner
11 0 2

Didnt find any solutions. What about you?

jafer_aflak
Shopify Partner
3 0 0

Same here

jafer_aflak
Shopify Partner
3 0 0

i think i found the solution. it works when i run the application in linux os

vritzka
Shopify Partner
13 1 1

I had the same error and fixed it by replacing the ~

 

import { authenticate } from "~/shopify.server";
to
import { authenticate } from "../shopify.server";
 
needs to be done in several files
Intelligent Customer Chat without paying for staff: AI Chatbot for Shopify (currently free).