Comments (7)
I can test this with a fresh Ubuntu installation in a VM.
How should I go about doing this? I don't think cloning your repo and running npm install
will reproduce the error, as I've tried that with both jpantunes's decentralised
branch and raineorshine's master
branch, without encountering the error.
from solgraph.
Hmmm. Works for me and CI passes. My babel is located at ./node_modules/.bin/babel
. What happens when you run type babel
? I'm not sure why it's not getting installed correctly.
@jpantunes Any ideas?
from solgraph.
It took me a couple of attempts but I was able to reproduce.
The build script expects babel to be available as a global install, and in the latest version the dependencies can be resolved with:
npm i -g @babel/preset-es2015 @babel/preset-stage-1 @babel/cli @babel/core @babel/register
I'm not sure if that's the only solution though.
from solgraph.
./node_modules/.bin
is added to the PATH in npm scripts though, so babel shouldn't have to be global.
from solgraph.
Ok, in that case I believe it's my mistake.
Installing solgraph 0.3.0 with --only=dev flag works, so I'm convinced the package.json file needs to be updated to include the babel packages as a Dependency because I've listed them under DevDependency only. I'll make a pull request in a few minutes.
from solgraph.
I will need someone else to test as well because I think the behaviour changes depending on whether I use an account with npm-global in the PATH or not.
from solgraph.
#29 merged and published in v0.3.1
from solgraph.
Related Issues (20)
- Installation failure HOT 3
- constructor and fallback labeled null HOT 1
- Installation Error on Ubuntu 16.04, 64bit HOT 7
- Update color semantics HOT 1
- Remove require() from graphs
- Cannot find module '@babel/preset-es2015' HOT 13
- Cannot find module '@babel/preset-es2015' from '......./node_modules/solgraph' HOT 1
- solgraph is failing on installation HOT 1
- Parsing of solidity 0.5 contract fails HOT 2
- Include `import`ed source files
- Parsing fails on pragma statement in solc 0.6.11 HOT 3
- Throw error when meet abstract contract. HOT 3
- Parse error with immutable property HOT 2
- peg$syntaxerror - address payable recipient HOT 2
- Pass multiple solidity files HOT 2
- Parse Error when pragma statement includes Logical OR (||) operator HOT 2
- parse error with abi coder HOT 2
- peg$SyntaxError: Expected ";", "=", comment, end of line, or whitespace but "D" found HOT 3
- Solgraph throws an error "Error: Unexpected statement type (ExpressionStatement) in analyzed nodes." when running through klin-finance HOT 2
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 solgraph.