Comments (6)
need to support latest node version i think
from electron-link.
Did you ever figure this one out?
from electron-link.
I am getting the error shown below. Anyone know what the reason for this error is?
Error: /Users/astoilkov/Caret/node_modules/electron/index.js
Cannot replace with lazy function because the supplied node does not belong to an assignment expression or a variable declaration!
at FileRequireTransform.replaceAssignmentOrDeclarationWithLazyFunction (/Users/astoilkov/Caret/node_modules/electron-link/lib/file-require-transform.js:180:11)
at Context.visitIdentifier (/Users/astoilkov/Caret/node_modules/electron-link/lib/file-require-transform.js:72:18)
at Context.invokeVisitorMethod (/Users/astoilkov/Caret/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:344:49)
at Visitor.PVp.visitWithoutReset (/Users/astoilkov/Caret/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:196:32)
at visitChildren (/Users/astoilkov/Caret/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:246:25)
at Visitor.PVp.visitWithoutReset (/Users/astoilkov/Caret/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:204:20)
at visitChildren (/Users/astoilkov/Caret/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:246:25)
at Visitor.PVp.visitWithoutReset (/Users/astoilkov/Caret/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:204:20)
at visitChildren (/Users/astoilkov/Caret/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:246:25)
at Visitor.PVp.visitWithoutReset (/Users/astoilkov/Caret/node_modules/recast/node_modules/ast-types/lib/path-visitor.js:204:20)
Thanks in advance.
from electron-link.
I'm also getting this error. Using node v8.8.1
from electron-link.
Same error here at atom/atom#20965. This was tested on my branch in https://github.com/aminya/electron-link
from electron-link.
I made a pull request that fixes this! This should be soon available in the next version. #27
from electron-link.
Related Issues (10)
- Native functions can be included in the snapshot with newer V8. HOT 6
- `auxiliaryData` not documented
- leveldown@^1.6.0 dependency breaks builds on Node.js v10.0.0 HOT 7
- Lack of documentation HOT 1
- Electron-link cannot bundle @babel/core
- Cannot find module 'indent-string'
- bitcoin
- So close, but cannot get it to work (elaborate snippets inside)! HOT 3
- __dirname doesn't work in modules that are part of the snapshot HOT 6
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 electron-link.