Comments (5)
So I tested the changes, I got the exact same error
[!] Error: Could not load util (imported by node_modules/stacktracey/stacktracey.js): ENOENT: no such file or directory, open 'util'
Error: Could not load util (imported by node_modules/stacktracey/stacktracey.js): ENOENT: no such file or directory, open 'util'
to be sure it's new version, I looked into node_modules at the package.json version "version": "1.1.164",
So I just made a reproduceable example repo
which actually starts with a different error message, as I've already made a browserify global alias for nodejs's path module (this I can't do with all modules as I have dependencies which require their own fs and util for example).
./index.ejs → index.js...
[!] Error: Could not load path (imported by node_modules/stacktracey/stacktracey.js): ENOENT: no such file or directory, open 'path'
Error: Could not load path (imported by node_modules/stacktracey/stacktracey.js): ENOENT: no such file or directory, open 'path'
This you can test out here https://github.com/hlolli/ololog_bug using the command yarn build
. The two plugins (which are potentially the culprits) are @rollup/plugin-node-resolve for putting the node_modules into scope, and @rollup/plugin-commonjs for importing commonjs modules as es module.
from ololog.
Could you provide a reproducible example as a github repo (I'm too lazy to configure rollup)?
from ololog.
Could you please check if the issue is gone with the latest published version of Ololog?
from ololog.
Sorry for not replying, mix of lazyness and busy on my side. I will test today!
from ololog.
Thank you for the repro, I'll look into it in the coming days.
from ololog.
Related Issues (20)
- How to disable stringifying? HOT 3
- custom stringifier doesn't work HOT 2
- Is there a silent or quiet mode? HOT 1
- stringify doesn't work in this case, I think HOT 2
- TypeScript declaration files export 'null' symbol HOT 3
- Define timezone for timestamps HOT 4
- xhr request fails in iframe HOT 1
- Typescript definition "object" types issue HOT 1
- suggestion: local storage enable/disable
- bump stacktracey because annoying warning. HOT 5
- Add license HOT 2
- ololog/reporter: TypeError: (intermediate value).clean.at is not a function HOT 1
- Feature request: Automatic wrap long lines
- Vanilla JS? HOT 1
- Typescript definition issues (time, methods) HOT 5
- Chrome Console output does not output location correctly HOT 4
- React native support? HOT 2
- ReferenceError: Buffer is not defined
- Color object properies as console.log
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ololog.