1

I have a same problem as in this question: Can't find module googleapis

I tried to implement the Max's solution, but when I run npm run build as in

npm i typescript -g
npm run build

I get this error in the log:

 verbose stack Error: missing script: build

How can I fix this?

2 Answers 2

1

Check your package.json : "scripts" should have an object where your scripts are defined. That error means "build" is not defined in that object.

When you type

npm run something

npm searches for something defined there and executes it in command line.

Sign up to request clarification or add additional context in comments.

3 Comments

this is my scripts property "scripts": { "test": "make test -j 4" },
instead of npm run build try npm run test
i try ti but get error i find other solution see in next my answer
0

i find other solution for first question Can't find module googleapis run this command: npm i -S [email protected] in npm_modules folder

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.