You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I installed persian-date with npm but when I wanna use your module I get this error:
Error: Cannot find module 'persian-date'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (/home/........./start.js:3:19)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
thanks in advance
The text was updated successfully, but these errors were encountered:
I've had this problem too
this can be fixed by adding "main": "dist/persian-date" to this project's package.json file
because I need this feature right now I'm going to fork this repo and do the change.
I named the package 'persian-jdate' so you can install it and do require('persian-jdate') if you wish.
Hello, I installed persian-date with npm but when I wanna use your module I get this error:
Error: Cannot find module 'persian-date'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (/home/........./start.js:3:19)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
thanks in advance
The text was updated successfully, but these errors were encountered: