Giter Club home page Giter Club logo

Comments (7)

13dante04 avatar 13dante04 commented on June 14, 2024 1

Check #9 , I'm having the same issue and going to try that resoultion with webpack over there.

from firebase.

triniwiz avatar triniwiz commented on June 14, 2024 1

fixed with #58

from firebase.

PackagedCat avatar PackagedCat commented on June 14, 2024 1

Hello, @triniwiz
Should the current package (1.2.2) include this fix? I have the same issue and noticed that the nativescript.webpack.js file is not included in the npm package.

from firebase.

adamsargant avatar adamsargant commented on June 14, 2024 1

Is this still an issue? I'm wanting to add crashlytics to get to the bottom of my issue #87 but am getting the same error on ns run and ns debug android (fresh install of everything here in an attempt to eliminate conflicts in original problem)

ERROR in ./node_modules/source-map/lib/read-wasm.js 21:15-30
Module not found: Error: Can't resolve 'path' in '/home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/source-map/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
resolve 'path' in '/home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/source-map/lib'
  Parsed request is a module
  using description file: /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/source-map/package.json (relative path: ./lib)
    resolve as module
      looking for modules in /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules
        single file module
          using description file: /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/package.json (relative path: ./node_modules/path)
            no extension
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path doesn't exist
            .android.ts
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.ts doesn't exist
            .ts
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.ts doesn't exist
            .android.js
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.js doesn't exist
            .js
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.js doesn't exist
            .android.mjs
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.mjs doesn't exist
            .mjs
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.mjs doesn't exist
            .android.css
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.css doesn't exist
            .css
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.css doesn't exist
            .android.scss
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.scss doesn't exist
            .scss
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.scss doesn't exist
            .android.json
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.json doesn't exist
            .json
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.json doesn't exist
        /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path doesn't exist
      /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/source-map/lib/node_modules doesn't exist or is not a directory
      /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/source-map/node_modules doesn't exist or is not a directory
      /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/node_modules doesn't exist or is not a directory
      looking for modules in /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules
        single file module
          using description file: /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/package.json (relative path: ./node_modules/path)
            no extension
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path doesn't exist
            .android.ts
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.ts doesn't exist
            .ts
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.ts doesn't exist
            .android.js
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.js doesn't exist
            .js
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.js doesn't exist
            .android.mjs
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.mjs doesn't exist
            .mjs
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.mjs doesn't exist
            .android.css
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.css doesn't exist
            .css
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.css doesn't exist
            .android.scss
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.scss doesn't exist
            .scss
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.scss doesn't exist
            .android.json
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.android.json doesn't exist
            .json
              /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path.json doesn't exist
        /home/adam/Dropbox/Development/NativeScript/HSNSTestApp/node_modules/path doesn't exist
      /home/adam/Dropbox/Development/NativeScript/node_modules doesn't exist or is not a directory
      /home/adam/Dropbox/Development/node_modules doesn't exist or is not a directory
      /home/adam/Dropbox/node_modules doesn't exist or is not a directory
      /home/adam/node_modules doesn't exist or is not a directory
      /home/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
 @ ./node_modules/source-map/lib/source-map-consumer.js 12:17-44
 @ ./node_modules/source-map/source-map.js 7:0-82
 @ ./node_modules/stacktrace-gps/stacktrace-gps.js
 @ ./node_modules/stacktrace-js/stacktrace.js
 @ ./node_modules/@nativescript/firebase-crashlytics/index.android.js 15:0-39 80:12-32
 @ ./app/app.ts 11:0-44

webpack 5.72.1 compiled with 2 errors in 181 ms

from firebase.

HamoBoker avatar HamoBoker commented on June 14, 2024

Thanks a lot it solved my problem

from firebase.

13dante04 avatar 13dante04 commented on June 14, 2024

@triniwiz I think you can close this now.

from firebase.

triniwiz avatar triniwiz commented on June 14, 2024

@PackagedCat Thanks I'll release a patch with the file

from firebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.