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.
http://pencil.evolus.vn
GNU General Public License v2.0
9.03k stars 715 forks source link

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

Closed donPab closed 1 year ago

donPab commented 1 year ago

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

donPab commented 1 year ago

I solved the problem, see above