Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Make target js.build fails: Can't resolve 'ttn-lw' #157

Copy link
Copy link

Description

@pdubois22
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Labels

bugSomething isn't workingSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.