-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot find module 'ejs' #297
Comments
Can you elaborate on your setup / versions? |
I’ll make a repo here tmw |
Here is a test repository |
I was able to get it to work by adding
I was going to go change it , but master seems to be pretty different than the latest version published on NPM |
I don't see any code that uses You can make a PR against the latest v2, or try the version ;) |
I've fixed it at Thank you for the fix 🙏🏼 Try it :] |
Oh snap! Your awesome!!! |
It worked!!!! Even moving it to a different folder. Great work. thanks!!!! |
When building for production and running, we run into an issue that it cannot find the
ejs
.It seems relevant to : expressjs/express#910
I think I will also have an issue with the static assets path (I can by copying over the static assets, but not the paths)
A simple test is to use webpack , do a build , copy the dist to a folder and try running it. (It should fail)
The text was updated successfully, but these errors were encountered: