Not be able to use path.join
See original GitHub issueAfter long time debugging, I found using path.join
will cause the app to crash.
I also see the limitation has:
Any code depends on Function.prototype.toString function will break
Is this the root cause of not be able to use path.join
?
If so, how come the app works fine on Windows but not on Mac. I keep getting undefined is not a function
wherever I used path.join
on Mac.
Issue Analytics
- State:
- Created 9 months ago
- Comments:9
Top Results From Across the Web
path.join does not work? - node.js
I want to read from a path and I wrote two different codes.The first code does not work but the second code works...
Read more >Node.js path.join() Method
Definition and Usage. The path. join() method joins the specified path segments into one path. You can specify as many path segments as...
Read more >Node.js | path.join() Method
The path.join() method is used to join a number of path-segments using the platform-specific delimiter to form a single path.
Read more >Path.Combine Method (System.IO)
This method assumes that the first argument is an absolute path and that the following argument or arguments are relative paths. If this...
Read more >Path | Node.js v19.3.0 Documentation
path.join([...paths]) # ... The path.join() method joins all given path segments together using the platform-specific separator as a delimiter, then normalizes ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Use Node v14+ to build should solve the issue @OsamaAbbas
The only thing that I may mention is that you have to build your app for each platform separately. The binaries that were built for Intel won’t work for M1 and vice versa.
Good luck with your project.