evolus / pencil

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.

Home Page:http://pencil.evolus.vn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find module 'lodash', or require() in general

donPab opened this issue · comments

  • Operating system: Windows Edition: Windows 10 Pro Version 21H2 OS build 19044.2486
  • Pencil version: 3.1.1

VSCode-Version: 1.74.3 (system setup)
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:59:02.252Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: No

I googled, and looked at https://stackoverflow.com/questions/27431187/cannot-find-module-lodash
CD-ed to \pencil-development\app folder (i.e. \downloaded-fork\app)
And ran npm install, which resulted in all 24 modules being added.
The solution was to CD to the proper folder.

tkx, donPab

I solved the problem, see above