postlight / parser

📜 Extract meaningful content from the chaos of a web page
https://reader.postlight.com
Apache License 2.0
5.37k stars 443 forks source link

module not found, problem while running it ? #698

Open jjmilad opened 1 year ago

jjmilad commented 1 year ago

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

zhemaituk commented 1 year ago

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.