Summary:
on a clean ubuntu install, make build-all or make js.build fails
Steps to Reproduce:
clean ubuntu install
git clone https://github.com/TheThingsNetwork/lorawan-stack.git
cd lorawan-stack
make init
make deps
ubuntu@ubuntu:~/lorawan-stack$ make js.build
lorawan-stack Building JS SDK files
yarn run v1.12.3
$ babel src -d dist --no-emoji --no-progress --quiet
Done in 1.17s.
lorawan-stack pre-building config files [babel config/webpack.dll.js]
make js.webpack-dll
make[1]: Entering directory '/home/ubuntu/lorawan-stack'
lorawan-stack building dll file
535 modules
ERROR in dll libs
Module not found: Error: Can't resolve 'ttn-lw' in '/home/ubuntu/lorawan-stack'
.make/js/build.make:80: recipe for target 'js.webpack-dll' failed
make[1]: *** [js.webpack-dll] Error 2
make[1]: Leaving directory '/home/ubuntu/lorawan-stack'
.make/js/build.make:77: recipe for target 'public/libs.bundle.js' failed
make: *** [public/libs.bundle.js] Error 2
What do you see now?
ERROR in ./pkg/webui/console/api/index.js
What do you want to see instead?
build as in the doc
How do you propose to implement this?
not sure about the :
import TTN from 'ttn-lw'
in pkg/webui/console/api/index.js
Environment:
fails on fresh ubuntu, and MacOSX
What can you do yourself and what do you need help with?
try to figure out what is wrong with my setup
Summary:
on a clean ubuntu install, make build-all or make js.build fails
Steps to Reproduce:
clean ubuntu install
git clone https://github.com/TheThingsNetwork/lorawan-stack.git
cd lorawan-stack
make init
make deps
ubuntu@ubuntu:~/lorawan-stack$ make js.build
lorawan-stack Building JS SDK files
yarn run v1.12.3
$ babel src -d dist --no-emoji --no-progress --quiet
Done in 1.17s.
lorawan-stack pre-building config files [babel config/webpack.dll.js]
make js.webpack-dll
make[1]: Entering directory '/home/ubuntu/lorawan-stack'
lorawan-stack building dll file
535 modules
ERROR in dll libs
Module not found: Error: Can't resolve 'ttn-lw' in '/home/ubuntu/lorawan-stack'
.make/js/build.make:80: recipe for target 'js.webpack-dll' failed
make[1]: *** [js.webpack-dll] Error 2
make[1]: Leaving directory '/home/ubuntu/lorawan-stack'
.make/js/build.make:77: recipe for target 'public/libs.bundle.js' failed
make: *** [public/libs.bundle.js] Error 2
What do you see now?
ERROR in ./pkg/webui/console/api/index.js
What do you want to see instead?
build as in the doc
How do you propose to implement this?
not sure about the :
import TTN from 'ttn-lw'
in pkg/webui/console/api/index.js
Environment:
fails on fresh ubuntu, and MacOSX
What can you do yourself and what do you need help with?
try to figure out what is wrong with my setup