question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find module './lib/create-vendure-app'

See original GitHub issue

Strange Error

Cannot find module './lib/create-vendure-app'
Require stack:
- /home/username/.npm/_npx/63015/lib/node_modules/@vendure/create/index.js

To Reproduce Steps to reproduce the behavior:

  1. Clone from git
  2. Run npx @vendure/create testsite
  3. See error above

Expected behavior Prompted for information to create the build

Environment (please complete the following information):

  • @vendure/core version: latest via the git repo
  • Nodejs version v12.18.2
  • Database (mysql/postgres etc): mysql 8.0.1

Additional context I’m trying this on a new VPS server. I was able to get this to work on the last server, both running Ubuntu 20.04, MySQL 8.0.1, Node v12.18.2

Doesn’t the @vendure/create package install that create-vendure-app module?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
michaelbromleycommented, Feb 17, 2021

I wanted to be able to contribute, there are some changes I’m trying to test but I couldn’t get them to build with @vendure/create

Ok, I see. To test out changes to the core, you should use the dev-server package. Full instructions are given here: https://github.com/vendure-ecommerce/vendure#4-set-up-the-server

0reactions
thewhiterabbitcommented, Feb 16, 2021

This is technically not an issue that would concern the whole project unless my changes are accepted and I can’t even test them yet so I’m closing this. I’ll figure it out. I’m kinda new to node based projects.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >
How to Fix - GitHub
Error: Cannot find module './lib' #3606 ; confirmed-bug Issues with confirmed bugs. ; install Issues and PRs related to the installers. ; npm ......
Read more >
Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
Read more >
Solved: Cannot find module react : npm install - YouTube
Solved: Cannot find module react : npm install. 58K views 3 years ago React · CodeDocu Developer C# Asp Net Angular.
Read more >
Fix error: cannot find module 'x' in Node.js or 'express'
To solve the “error: cannot find module in Node.js or express” you have to first know why this error occurs. Mostly, this error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found