Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Module not found: Can't resolve 'fs'

    Bugs
    0
    7
    39
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sonivipul89 last edited by

      module_failed_next_js.png

      When i tried to import smart api package it shows "Module not found: Can't resolve 'fs'"
      in Next js can any one suggest possible solution.

      1 Reply Last reply Reply Quote 0
      • A
        anand__lunawat last edited by

        Hey has your error been resolved?

        S 2 Replies Last reply Reply Quote 0
        • S
          sonivipul89 @anand__lunawat last edited by

          @anand__lunawat no

          1 Reply Last reply Reply Quote 0
          • S
            sonivipul89 @anand__lunawat last edited by

            Hi @anand__lunawat ,,,,,, not yet resolved

            1 Reply Last reply Reply Quote 0
            • M
              mayank112 last edited by

              kindly resolve it asap!!!!!!

              S 1 Reply Last reply Reply Quote 0
              • S
                sonivipul89 @mayank112 last edited by

                @mayank112 ,

                Due to lake of support i dropped my idea to use this api in one of the popular tech (Next.Js).

                1 Reply Last reply Reply Quote 0
                • M
                  mayank112 last edited by

                  I have resolve it brother, you have to use it Server Side as it is a node library and browser doesn't has fs module, use it in getserversideprops. it is not a bug.

                  1 Reply Last reply Reply Quote 2
                  • First post
                    Last post