wolfeidau / hotwire-golang-website

This project provides some working examples using Go and Hotwire Turbo.
Apache License 2.0
207 stars 16 forks source link

npm install #8

Open bliaxiong opened 3 years ago

bliaxiong commented 3 years ago

Are we supposed to CD into the /assets dir and run npm install?

I'm getting this error:

FTL failed to build assets errors=[{"Detail":null,"Location":{"Column":27,"File":"assets/src/controllers/clipboard_controller.ts","Length":16,"Line":1,"LineText":"import { Controller } from '@stimulus/core'","Namespace":""},"Text":"Could not resolve \"@stimulus/core\" (mark it as external to exclude it from the bundle)"},{"Detail":null,"Location":{"Column":28,"File":"assets/src/index.ts","Length":16,"Line":1,"LineText":"import { Application } from \"@stimulus/core\"","Namespace":""},"Text":"Could not resolve \"@stimulus/core\" (mark it as external to exclude it from the bundle)"}]

Thanks!

bliaxiong commented 3 years ago

Had to run npm install in the /assets dir.

Awesome work btw, appreciate it!