chipsalliance / f4pga-bitstream-viewer

Tool for graphically viewing FPGA bitstream files and their connection to FASM features.
Apache License 2.0
14 stars 11 forks source link

Makefile is not be making passed #15

Open peada opened 2 years ago

peada commented 2 years ago

while I run Makefile at last step(command: make BITSTREAM=./lut.bit PART=xc7a35tcsg324-1 PRJXRAY=/workspace/home/bld/prjxray )

bash -c ' \ . venv/bin/activate ; \ . nenv/bin/activate ; \ NODE_ENV=development NODE_OPTIONS="--max_old_space_size=8192" vue build App.vue ; \ ' Running npm run build App.vue npm ERR! Missing script: "build" npm ERR! npm ERR! To see a list of scripts, run: npm ERR! npm run ...

Has anyone else met the same question? pls ask for your help @mithro @tmichalak

peada commented 2 years ago

@mithro @mgielda @JohnDMcMaster @hcook pls help me if you have a glance

calvinboey commented 2 years ago

For some reasons, the scripts are somewhat broken. The following worked for me (to pass this error, managed to get js and html in dist/ folder however, they are showing blank)

In the package.json, add the scripts.build.. (don't touch the dependencies section)

{ "scripts": { "build": "vue-cli-service build", }, "dependencies": { .... } }

You might also need to install the vue-cli-service, this can be done by running the following in the root folder npm install @vue/cli-service

After doing this you will notice this is also added to the package json by npm

peada commented 2 years ago

Thanks a lot @calvinboey Add the scripts,I success runing the flow and get the folder 'dist'. Then, I run the command " serve -s dist", in the browers input the url: localhost:3000 I cannot see anything, it is blank in the pages. Why?

calvinboey commented 2 years ago

Unfortunately I'm also stuck at the same issue, and have no idea how to solve it

aceOrange commented 1 year ago

Same question. I finally got the stuff generated in the dist folder.

However, I cannot see anything using the url: localhost:3000, after running "npx serve dist"

Can somebody help take a look?