xpl / ololog

A better console.log for the log-driven debugging junkies
https://www.npmjs.com/package/ololog
The Unlicense
215 stars 8 forks source link

bump stacktracey because annoying warning. #24

Closed Lee182 closed 3 years ago

Lee182 commented 3 years ago
warning  in ./node_modules/.pnpm/get-source@1.0.42/node_modules/get-source/get-source.js    

Module not found: Error: Can't resolve 'fs' in 'C:\me\dev\tabdeck\node_modules\.pnpm\get-source@1.0.42\node_modules\get-source'
 @ ./node_modules/.pnpm/stacktracey@1.2.127/node_modules/stacktracey/stacktracey.js 8:23-45  
 @ ./node_modules/.pnpm/ololog@1.1.162/node_modules/ololog/build/ololog.js 14:18-40
 @ ./src/glue/globals.js 7:37-54

I believe that you are version 2.0 with stacktracey.

xpl commented 3 years ago

The update is coming.

xpl commented 3 years ago

Could you please check if the issue is gone with the latest published version of Ololog?

Lee182 commented 3 years ago

It's just a result in with my webpack build. Probably would run ok in nodejs.


[webpack-cli] Compilation starting...

 WARNING  Compiled with 1 warnings                                        3:07:00 PM  

 warning  in ./node_modules/.pnpm/get-source@1.0.42/node_modules/get-source/get-source.js

Module not found: Error: Can't resolve 'fs' in 'C:\me\dev\tabdeck\node_modules\.pnpm\get-source@1.0.42\node_modules\get-source'

[webpack-cli] Compilation finished
assets by status 6.18 MiB [cached] 32 assets
asset package.json 4.48 KiB [emitted] [from: package.json] [copied]
cached modules 2.11 MiB (javascript) 8.7 KiB (runtime) [cached] 215 modules
./src/view/ lazy ^\.\/.*$ namespace object 160 bytes [built]

WARNING in ./node_modules/.pnpm/get-source@1.0.42/node_modules/get-source/get-source.js 90:32-53
Module not found: Error: Can't resolve 'fs' in 'C:\me\dev\tabdeck\node_modules\.pnpm\get-source@1.0.42\node_modules\get-source'
 @ ./node_modules/.pnpm/stacktracey@1.2.127/node_modules/stacktracey/stacktracey.js 8:23-45
 @ ./node_modules/.pnpm/ololog@1.1.162/node_modules/ololog/build/ololog.js 14:18-40   
 @ ./src/glue/globals.js 7:37-54
 @ ./src/view/preload.js 9:0-28

webpack 5.4.0 compiled with 1 warning in 192 ms
[webpack-cli] watching files for updates...
Lee182 commented 3 years ago

I'm using pnpm with lock file

ololog/1.1.162:
    dependencies:
      ansicolor: 1.1.93
      pipez: 1.1.12
      printable-characters: 1.0.42
      stacktracey: 1.2.127
      string.bullet: 1.0.12
      string.ify: 1.0.64
Lee182 commented 3 years ago

All good with "ololog": "^1.1.164".