parser icon indicating copy to clipboard operation
parser copied to clipboard

module not found, problem while running it ?

Open jjmilad opened this issue 3 years ago • 1 comments

Module not found: Error: Can't resolve 'url' in '/Users/jj/Desktop/test_area/parser/node_modules/@postlight/parser/dist'

jjmilad avatar Oct 09 '22 08:10 jjmilad

I get a similar error but for different module: Cannot find module 'moment-timezone'.

It seems that something is off when installing with npm (v 8.19.2 in my case). npm install @postlight/parser installs fewer dependencies than yarn add @postlight/parser. url and moment-timezone among those which are not installed.

Using yarn as a workaround for now.

zhemaituk avatar Oct 19 '22 19:10 zhemaituk