Comments (3)
Can I propose that this is explained in the README?
Right now, following the documentation is not enough to work on the project:
Build your own version for development
Clone the repository.
Go to website/.
Install all dependencies with yarn install (you can run npm install as well).
Run yarn run build for the final minimized version. Run yarn run watch for incremental builds.
Run yarn start to start a simple static webserver.
Also, the documentation is very clear about the fact that yarn is not mandatory:
(you can run npm install as well)
from astexplorer.
I've updated the README to mention node v16 and to remove mentions of npm
. It may still work but I only used yarn
in the last years so I can't make guarantees.
from astexplorer.
The node version to build the project as you can check in https://github.com/fkling/astexplorer/blob/master/.tool-versions is LTS Gallium (which is node v16) and comes with npm 8.x.
When you change your node version with n or nvm you can build the project properly.
but btw you should run yarn, not npm
from astexplorer.
Related Issues (20)
- Feature request: jscodeshift output from arbitrary input
- Add support for semantic / tree-sitter HOT 1
- The Solidity parsers are outdated. There's a maintained alternative that should be used
- error when typescript with TSAsExpression HOT 1
- Update espree parser HOT 1
- [Feature request] Upgrade Hermes parser HOT 1
- Update Go parser with generics support
- Is Groovy Supported by astexplorer ?
- CodeMirror editor displays error on JavaScript class private fields HOT 1
- Update TypeScript version
- Unable to save snippet with empty code
- Website freezes if Java Parser is selected with JSON view tab HOT 1
- [BUG] SWC spans are broken with multi-byte offsets and accumulating offsets
- python - "Unexpected token" error on ellipsis HOT 1
- [PROJECT BUG] Module not found: Error: Can't resolve '@swc/wasm-web/wasm.js' in...
- Add a parseFragment option for parse5
- [Need] Is there any way to copy the specific property in the right board HOT 1
- Switch from Tree to JSON -> "An error was caught while rendering the AST. This usually is an issue with astexplorer itself." HOT 3
- [build issue] Adding parsers that use nullish coalescing or optional chaining seems to break builds HOT 1
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 astexplorer.