t2-cli: Error with "t2 run ..." after update from 0.1.4 to 0.1.6

Hi there,

I just upgraded the t2-cli from 0.1.4 to 0.1.6 and now I’m getting this:

$ t2 run index.js
INFO Looking for your Tessel...
INFO Connected to TesselName.
WARN This project is missing an ".npmrc" file!
WARN To prepare your project for deployment, use the command:
WARN 
WARN t2 init
WARN 
WARN Once complete, retry:
WARN 
WARN t2 run index.js

Running t2 init does not solve the issue. Downgraded to 0.1.4 and now it’s working again.

(Running on MacOS 10.12 and Node 6.10.3)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 21 (14 by maintainers)

Commits related to this issue

Most upvoted comments

@opkiler22789 @brihijoshi can you try the latest version of t2-cli? Published today

I just figured it out… npm publish is hard-ignoring our resource/.npmrc. I will change the name of the resource file and push a quick update.

@rwaldron The script says “Created .npmrc”, but there’s no .npmrc file in the project directory. And I already have an .npmrc file in my user directory that looks untouched. Should I look in another place?